forked from enlightenment/efl
Efl.Image_* (from Efl.Image.*)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
c837b321bf
commit
6073833b90
|
@ -1,7 +1,7 @@
|
|||
import efl_gfx_types;
|
||||
import efl_gfx_fill;
|
||||
|
||||
enum Efl.Image.Content_Hint
|
||||
enum Efl.Image_Content_Hint
|
||||
{
|
||||
[[How an image's data is to be treated by EFL, for optimization.]]
|
||||
none = 0, [[No hint on the content (default).]]
|
||||
|
@ -9,7 +9,7 @@ enum Efl.Image.Content_Hint
|
|||
static = 2 [[The content won't change over time.]]
|
||||
}
|
||||
|
||||
enum Efl.Image.Scale_Hint
|
||||
enum Efl.Image_Scale_Hint
|
||||
{
|
||||
/* FIXME: Legacy is in Emile, where it does not belong. */
|
||||
[[How an image's data is to be treated by EFL, with regard to scaling cache.]]
|
||||
|
@ -18,7 +18,7 @@ enum Efl.Image.Scale_Hint
|
|||
static = 2 [[Image will not be re-scaled over time, thus turning scaling cache ON for its data.]]
|
||||
}
|
||||
|
||||
enum Efl.Image.Scale_Type
|
||||
enum Efl.Image_Scale_Type
|
||||
{
|
||||
[[Enumeration that defines scale types of an image.]]
|
||||
fill, [[Scale the image so that it matches
|
||||
|
@ -64,7 +64,7 @@ interface Efl.Image ()
|
|||
@property scale_type {
|
||||
[[Control how the image is scaled.]]
|
||||
values {
|
||||
scale_type: Efl.Image.Scale_Type; [[Image scale type]]
|
||||
scale_type: Efl.Image_Scale_Type; [[Image scale type]]
|
||||
}
|
||||
}
|
||||
@property ratio {
|
||||
|
@ -178,8 +178,8 @@ interface Efl.Image ()
|
|||
]]
|
||||
}
|
||||
values {
|
||||
hint: Efl.Image.Content_Hint; [[Dynamic or static content hint,
|
||||
see @Efl.Image.Content_Hint]]
|
||||
hint: Efl.Image_Content_Hint; [[Dynamic or static content hint,
|
||||
see @Efl.Image_Content_Hint]]
|
||||
}
|
||||
}
|
||||
@property scale_hint {
|
||||
|
@ -199,8 +199,8 @@ interface Efl.Image ()
|
|||
]]
|
||||
}
|
||||
values {
|
||||
hint: Efl.Image.Scale_Hint; [[Scalable or static size hint,
|
||||
see @Efl.Image.Scale_Hint]]
|
||||
hint: Efl.Image_Scale_Hint; [[Scalable or static size hint,
|
||||
see @Efl.Image_Scale_Hint]]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue