Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
resources.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2018-2021 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#ifndef __UTILS_RESOURCES_H__
5#define __UTILS_RESOURCES_H__
6
7#include <gtk/gtk.h>
8
21#define RESOURCES_PATH_TOP "/org/zrythm/Zrythm"
22#define RESOURCES_PATH RESOURCES_PATH_TOP "/app"
23#define RESOURCES_TEMPLATE_PATH RESOURCES_PATH "/ui"
24#define RESOURCES_GL_SHADERS_PATH RESOURCES_PATH "/gl/shaders"
25
31void
32resources_set_class_template (GtkWidgetClass * klass, const char * filename);
33
41GBytes *
42resources_get_gl_shader_data (const char * path);
43
48#endif
GBytes * resources_get_gl_shader_data(const char *path)
Returns the bytes of the specified OpenGL shader in RESOURCES_GL_SHADERS_PATH.
void resources_set_class_template(GtkWidgetClass *klass, const char *filename)
Sets class template from resource.