Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
resources.h File Reference

Helpers for loading and using resources such as icons. More...

Go to the source code of this file.

Macros

#define RESOURCES_PATH_TOP   "/org/zrythm/Zrythm"
#define RESOURCES_PATH   RESOURCES_PATH_TOP "/app"
#define RESOURCES_TEMPLATE_PATH   RESOURCES_PATH "/ui"
#define RESOURCES_GL_SHADERS_PATH   RESOURCES_PATH "/gl/shaders"

Functions

void resources_set_class_template (GtkWidgetClass *klass, const char *filename)
 Sets class template from resource.
GBytes * resources_get_gl_shader_data (const char *path)
 Returns the bytes of the specified OpenGL shader in RESOURCES_GL_SHADERS_PATH.

Detailed Description

Helpers for loading and using resources such as icons.

Definition in file resources.h.