summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-12-01 11:51:56 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-12-04 14:38:39 +0900
commit10103b9b457c996ee7d413112af2d0c7613088b3 (patch)
tree4a473451f3c90c86ff4fd0a13d4d91d63636331d /src/lib/efl/interfaces
parent25747d0881a5ae7315243548c6589e43dd20c657 (diff)
efl.gfx: move scale{} from efl.ui.base to efl.gfx
Diffstat (limited to 'src/lib/efl/interfaces')
-rw-r--r--src/lib/efl/interfaces/efl_gfx.eo25
-rw-r--r--src/lib/efl/interfaces/efl_ui_base.eo25
2 files changed, 25 insertions, 25 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx.eo b/src/lib/efl/interfaces/efl_gfx.eo
index 6daca53eff..0c300da8bc 100644
--- a/src/lib/efl/interfaces/efl_gfx.eo
+++ b/src/lib/efl/interfaces/efl_gfx.eo
@@ -115,6 +115,31 @@ interface Efl.Gfx {
115 v: bool; [[$true if to make the object visible, $false otherwise]] 115 v: bool; [[$true if to make the object visible, $false otherwise]]
116 } 116 }
117 } 117 }
118 @property scale {
119 [[The scaling factor of an object.
120
121 This property is an individual scaling factor on the object (Edje
122 or UI widget). This property (or Edje's global scaling factor, when
123 applicable), will affect this object's part sizes. If scale is
124 not zero, than the individual scaling will override any global
125 scaling set, for the object obj's parts. Set it back to zero to
126 get the effects of the global scaling again.
127
128 Warning: In Edje, only parts which, at EDC level, had the "scale"
129 property set to 1, will be affected by this function. Check the
130 complete "syntax reference" for EDC files.
131 ]]
132 set {
133 [[Sets the scaling factor of an object.]]
134 }
135 get {
136 [[Gets an object's scaling factor.]]
137 }
138 values {
139 scale: double(0.0); [[The scaling factor (the default value is 0.0,
140 meaning individual scaling is not set)]]
141 }
142 }
118 } 143 }
119 events { 144 events {
120 show; [[Object just became visible.]] 145 show; [[Object just became visible.]]
diff --git a/src/lib/efl/interfaces/efl_ui_base.eo b/src/lib/efl/interfaces/efl_ui_base.eo
index eb00535a2d..bfd133a42f 100644
--- a/src/lib/efl/interfaces/efl_ui_base.eo
+++ b/src/lib/efl/interfaces/efl_ui_base.eo
@@ -40,30 +40,5 @@ interface Efl.Ui.Base
40 language: string; [[The current language.]] 40 language: string; [[The current language.]]
41 } 41 }
42 } 42 }
43 @property scale {
44 [[The scaling factor of an object.
45
46 This property is an individual scaling factor on the object (Edje
47 or UI widget). This property (or Edje's global scaling factor, when
48 applicable), will affect this object's part sizes. If scale is
49 not zero, than the individual scaling will override any global
50 scaling set, for the object obj's parts. Set it back to zero to
51 get the effects of the global scaling again.
52
53 Warning: In Edje, only parts which, at EDC level, had the "scale"
54 property set to 1, will be affected by this function. Check the
55 complete "syntax reference" for EDC files.
56 ]]
57 set {
58 [[Sets the scaling factor of an object.]]
59 }
60 get {
61 [[Gets an object's scaling factor.]]
62 }
63 values {
64 scale: double(0.0); [[The scaling factor (the default value is 0.0,
65 meaning individual scaling is not set)]]
66 }
67 }
68 } 43 }
69} 44}