summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 16:22:54 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-01 10:09:37 +0900
commit4b74ca477d261d89e798f75612d848e14168d8f6 (patch)
tree8d439122407e3be71dc072c1fa03c6fbb9384699 /src/lib/efl
parentd0b8c41f920038f41446f06c3d08dc9c57adf35c (diff)
gfx_size_hint: Fix int vs. double (EO)
Thanks Sanghyeon for letting me know!
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_size_hint.eo16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_size_hint.eo b/src/lib/efl/interfaces/efl_gfx_size_hint.eo
index fad4376edc..b1818d85a8 100644
--- a/src/lib/efl/interfaces/efl_gfx_size_hint.eo
+++ b/src/lib/efl/interfaces/efl_gfx_size_hint.eo
@@ -1,9 +1,9 @@
1import efl_gfx_types; 1import efl_gfx_types;
2 2
3const Efl.Gfx.Size.Hint.Expand: int = 1; [[Use with efl_gfx_size_hint_weight_set(), 3const Efl.Gfx.Size.Hint.Expand: double = 1.0;
4 efl_gfx_size_hint_weight_get()]] 4 [[Use with $Efl.Gfx.Size.Hint.weight.]]
5const Efl.Gfx.Size.Hint.Fill: int = -1; [[Use with efl_gfx_size_hint_align_set(), 5const Efl.Gfx.Size.Hint.Fill: int = -1.0;
6 efl_gfx_size_hint_align_get()]] 6 [[Special value for $Efl.Gfx.Size.Hint.align.]]
7 7
8interface Efl.Gfx.Size.Hint 8interface Efl.Gfx.Size.Hint
9{ 9{
@@ -177,7 +177,7 @@ interface Efl.Gfx.Size.Hint
177 This is a hint on how a container object should resize a given 177 This is a hint on how a container object should resize a given
178 child within its area. Containers may adhere to the simpler 178 child within its area. Containers may adhere to the simpler
179 logic of just expanding the child object's dimensions to fit 179 logic of just expanding the child object's dimensions to fit
180 its own (see the #EFL_GFX_SIZE_HINT_EXPAND helper weight macro) or 180 its own (see the @Efl.Gfx.Size.Hint.Expand helper weight macro) or
181 the complete one of taking each child's weight hint as real 181 the complete one of taking each child's weight hint as real
182 weights to how much of its size to allocate for them in each 182 weights to how much of its size to allocate for them in each
183 axis. A container is supposed to, after normalizing the 183 axis. A container is supposed to, after normalizing the
@@ -202,7 +202,7 @@ interface Efl.Gfx.Size.Hint
202 202
203 These are hints on how to align an object inside the 203 These are hints on how to align an object inside the
204 boundaries of a container/manager. Accepted values are in 204 boundaries of a container/manager. Accepted values are in
205 the 0.0 to 1.0 range, with the special value #EFL_GFX_SIZE_HINT_FILL 205 the 0.0 to 1.0 range, with the special value @Efl.Gfx.Size.Hint.Fill
206 used to specify "justify" or "fill" by some users. In this 206 used to specify "justify" or "fill" by some users. In this
207 case, maximum size hints should be enforced with higher 207 case, maximum size hints should be enforced with higher
208 priority, if they are set. Also, any padding hint set on 208 priority, if they are set. Also, any padding hint set on
@@ -227,9 +227,9 @@ interface Efl.Gfx.Size.Hint
227 */ 227 */
228 values { 228 values {
229 x: double; [[Double, ranging from 0.0 to 1.0 or with the special value 229 x: double; [[Double, ranging from 0.0 to 1.0 or with the special value
230 #EFL_GFX_SIZE_HINT_FILL, to use as horizontal alignment hint.]] 230 @Efl.Gfx.Size.Hint.Fill, to use as horizontal alignment hint.]]
231 y: double; [[Double, ranging from 0.0 to 1.0 or with the special value 231 y: double; [[Double, ranging from 0.0 to 1.0 or with the special value
232 #EFL_GFX_SIZE_HINT_FILL, to use as vertical alignment hint.]] 232 @Efl.Gfx.Size.Hint.Fill, to use as vertical alignment hint.]]
233 } 233 }
234 } 234 }
235 } 235 }