path: root/src/lib/edje/edje_global.eo
diff options
authorJean-Philippe Andre <>2017-11-08 19:29:13 +0900
committerJean-Philippe Andre <>2017-11-08 20:02:31 +0900
commitcc1ed7183c9ccab57ffd010338e781744fa424ad (patch)
tree4c6210bf10cb45e012fa5cfe0fd1c1c6480db5a6 /src/lib/edje/edje_global.eo
parent2f838acd4ef0f3f914bb5d03081aef2fd1f412b5 (diff)
edje: Hide edje_global from the rest of the world
Call provider_find on the loop (or basically any object) with the color/text/size class interface instead, to find it. The main loop is the main holder of those objects. Note: This makes use of provider_find instead of direct access to the variable, in order to self-test the code. In theory release builds will not do this and user directly the variable.
Diffstat (limited to 'src/lib/edje/edje_global.eo')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/edje/edje_global.eo b/src/lib/edje/edje_global.eo
index 07ebba5130..f5001f2e73 100644
--- a/src/lib/edje/edje_global.eo
+++ b/src/lib/edje/edje_global.eo
@@ -1,5 +1,9 @@
1class Edje.Global (Efl.Object, Efl.Gfx.Color_Class, Efl.Gfx.Text_Class, Efl.Gfx.Size_Class) 1class Edje.Global (Efl.Object, Efl.Gfx.Color_Class, Efl.Gfx.Text_Class, Efl.Gfx.Size_Class)
2{ 2{
3 [[An internal object that manages global color, text and size classes for
4 the whole application. Individual edje objects also support the same
5 features.
6 ]]
3 data: null; 7 data: null;
4 implements { 8 implements {
5 Efl.Gfx.Color_Class.color_class { get; set; } 9 Efl.Gfx.Color_Class.color_class { get; set; }