summaryrefslogtreecommitdiff
path: root/src/bin/utils.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-19 15:59:49 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-06-19 15:59:49 +0000
commit2cd2514538d5b59c4398de4974d8bf530ebc2a85 (patch)
tree54902456f373fe71fc32fc6e747bbbed805ac134 /src/bin/utils.h
parentc71424367db2ed6f794154aab3df82efb4513723 (diff)
utils/theme: unify code, error messages and allow fallback.
Introduced two nice helpers to aid common Edje handling: * apply theme, using fallback if main is not found; * reload theme if file changed. SVN revision: 72490
Diffstat (limited to 'src/bin/utils.h')
-rw-r--r--src/bin/utils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bin/utils.h b/src/bin/utils.h
new file mode 100644
index 0000000..139eca4
--- /dev/null
+++ b/src/bin/utils.h
@@ -0,0 +1,13 @@
1#ifndef _UTILS_H__
2#define _UTILS_H__
3
4#include <Evas.h>
5#include "config.h"
6
7Eina_Bool theme_apply(Evas_Object *edje, const Config *config, const char *group);
8
9void theme_reload(Evas_Object *edje);
10
11void theme_auto_reload_enable(Evas_Object *edje);
12
13#endif