summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_color_item.eo
blob: 3df5e245758e995dbedc55aa2b3a7c6d192be8f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
class Elm.Color_Item(Elm.Widget_Item)
{
   eo_prefix: elm_obj_color_item;
   methods {
        @property color {
             get {
                 /*@
                 Get Palette item's color.

                 @ingroup Colorselector
                 */
             }
             set {
                 /*@
                 Set Palette item's color.

                 @ingroup Colorselector
                 */
             }
             values {
                 r: int; /*@ red-value of color   */
                 g: int; /*@ green-value of color */
                 b: int; /*@ blue-value of color  */
                 a: int; /*@ alpha-value of color */
             }
        }
        @property selected {
             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 {
                 selected: Eina_Bool; /*@ @c EINA_TRUE if selected @c EINA_FALSE otherwise */
             }
        }
   }
   implements {
        Eo.Base.constructor;
        Eo.Base.destructor;
        Elm.Widget_Item.access_register;
        Elm.Widget_Item.signal_emit;
   }
}