Zrythm
a highly automated and intuitive digital audio workstation
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
resources.h File Reference

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

#include "gtk_wrapper.h"
Include dependency graph for resources.h:
This graph shows which files directly or indirectly include this file:

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.