2015-04-22 04:43:05 -07:00
|
|
|
class Elm.Color_Item(Elm.Widget_Item)
|
2014-09-27 22:13:38 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_color_item;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property color {
|
2014-09-27 22:13:38 -07:00
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
Get Palette item's color.
|
|
|
|
|
|
|
|
@ingroup Colorselector
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
/*@
|
|
|
|
Set Palette item's color.
|
|
|
|
|
|
|
|
@ingroup Colorselector
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
r: int; /*@ red-value of color */
|
|
|
|
g: int; /*@ green-value of color */
|
|
|
|
b: int; /*@ blue-value of color */
|
|
|
|
a: int; /*@ alpha-value of color */
|
2014-09-27 22:13:38 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property selected {
|
2014-09-27 22:13:38 -07:00
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
Get the selected state of color palette item
|
|
|
|
|
|
|
|
@since 1.9
|
|
|
|
@ingroup Colorselector
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
/*@
|
|
|
|
Set the selected state of color palette item
|
|
|
|
|
|
|
|
@since 1.9
|
|
|
|
@ingroup Colorselector
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
selected: Eina_Bool; /*@ @c EINA_TRUE if selected @c EINA_FALSE otherwise */
|
2014-09-27 22:13:38 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Eo.Base.constructor;
|
|
|
|
Eo.Base.destructor;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget_Item.access_register;
|
|
|
|
Elm.Widget_Item.signal_emit;
|
2014-09-27 22:13:38 -07:00
|
|
|
}
|
|
|
|
}
|