2019-09-26 08:04:04 -07:00
|
|
|
/**
|
|
|
|
Group: efl/list (@since 1.23)
|
2019-09-27 05:42:27 -07:00
|
|
|
Part Rectangle: efl.draggable.horizontal_bar (required)
|
|
|
|
Part Rectangle: efl.draggable.vertical_bar (required)
|
2019-09-26 08:04:04 -07:00
|
|
|
Part Swallow: efl.background (required)
|
|
|
|
Part Swallow: efl.content (required)
|
|
|
|
Part Swallow: efl.overlay (required)
|
|
|
|
Signal: efl,action,scroll
|
|
|
|
Signal: efl,horizontal_bar,visible,off
|
|
|
|
Signal: efl,horizontal_bar,visible,on
|
|
|
|
Signal: efl,vertical_bar,visible,off
|
|
|
|
Signal: efl,vertical_bar,visible,on
|
|
|
|
Group: efl/list_item (@since 1.23)
|
|
|
|
Part Text: efl.text
|
|
|
|
Part Swallow: efl.background
|
|
|
|
Part Swallow: efl.extra
|
|
|
|
Part Swallow: efl.icon
|
|
|
|
Signal: efl,state,disabled
|
|
|
|
Signal: efl,state,enabled
|
|
|
|
Signal: efl,state,even
|
|
|
|
Signal: efl,state,odd
|
|
|
|
Signal: efl,state,pressed
|
|
|
|
Signal: efl,state,selected
|
|
|
|
Signal: efl,state,unpressed
|
|
|
|
Signal: efl,state,unselected
|
|
|
|
Group: efl/list_item:placeholder (@since 1.23)
|
|
|
|
Part Swallow: efl.background
|
|
|
|
Part Swallow: efl.content
|
|
|
|
Signal: efl,state,disabled
|
|
|
|
Signal: efl,state,enabled
|
|
|
|
Signal: efl,state,even
|
|
|
|
Signal: efl,state,odd
|
|
|
|
Signal: efl,state,pressed
|
|
|
|
Signal: efl,state,selected
|
|
|
|
Signal: efl,state,unpressed
|
|
|
|
Signal: efl,state,unselected
|
|
|
|
Group: efl/list_view (@since 1.23)
|
2019-09-27 05:42:27 -07:00
|
|
|
Part Rectangle: efl.draggable.horizontal_bar (required)
|
|
|
|
Part Rectangle: efl.draggable.vertical_bar (required)
|
2019-09-26 08:04:04 -07:00
|
|
|
Part Swallow: efl.background (required)
|
|
|
|
Part Swallow: efl.content (required)
|
|
|
|
Part Swallow: efl.overlay (required)
|
|
|
|
Signal: efl,action,scroll
|
|
|
|
Signal: efl,horizontal_bar,visible,off
|
|
|
|
Signal: efl,horizontal_bar,visible,on
|
|
|
|
Signal: efl,vertical_bar,visible,off
|
|
|
|
Signal: efl,vertical_bar,visible,on
|
|
|
|
*/
|
2018-04-22 23:13:59 -07:00
|
|
|
group { "efl/list";
|
2018-04-11 02:33:24 -07:00
|
|
|
inherit: "efl/scroller";
|
2019-09-24 13:59:33 -07:00
|
|
|
data.item: "version" "123";
|
2017-12-12 16:59:48 -08:00
|
|
|
}
|
|
|
|
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
group { "efl/list_view";
|
2018-04-22 23:13:59 -07:00
|
|
|
inherit: "efl/list";
|
2019-09-24 13:59:33 -07:00
|
|
|
data.item: "version" "123";
|
2018-04-22 23:13:59 -07:00
|
|
|
}
|
|
|
|
|
2019-12-17 01:07:14 -08:00
|
|
|
group { "efl/list_item"; data.item: "version" "124";
|
2018-04-11 02:33:24 -07:00
|
|
|
data.item: "selectraise" "on";
|
|
|
|
data.item: "focusraise" "on";
|
|
|
|
images.image: "bevel_curved_horiz_out.png" COMP;
|
|
|
|
images.image: "shadow_rounded_horiz.png" COMP;
|
|
|
|
images.image: "vgrad_med_dark.png" COMP;
|
|
|
|
images.image: "bevel_horiz_out.png" COMP;
|
|
|
|
images.image: "shine.png" COMP;
|
|
|
|
parts {
|
2018-04-22 23:13:59 -07:00
|
|
|
rect { "base"; nomouse;
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
color: 64 64 64 255;
|
|
|
|
color_class: "list_item_base";
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "odd";
|
2018-04-11 02:33:24 -07:00
|
|
|
color: 56 56 56 255;
|
|
|
|
color_class: "list_item_base_odd";
|
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
|
|
|
|
image { "bevel"; nomouse;
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
image.normal: "bevel_curved_horiz_out.png";
|
|
|
|
image.border: 0 0 2 2;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
swallow { "efl.background";
|
|
|
|
desc { "default";
|
|
|
|
rel.to: "base";
|
|
|
|
vis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
image { "sel_shadow"; nomouse;
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
image.normal: "shadow_rounded_horiz.png";
|
|
|
|
image.border: 0 0 9 9;
|
|
|
|
rel1.offset: 0 -4;
|
|
|
|
rel2.offset: -1 5;
|
|
|
|
fill.smooth: 0;
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
image { "sel_base"; nomouse;
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
image.normal: "vgrad_med_dark.png";
|
|
|
|
fill.smooth: 0;
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
TILED_HORIZ(120)
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
image { "sel_bevel"; nomouse;
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
image.normal: "bevel_horiz_out.png";
|
|
|
|
image.border: 0 0 2 2;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//##//
|
2018-04-22 23:13:59 -07:00
|
|
|
text { "efl.text"; nomouse;
|
2018-04-11 02:33:24 -07:00
|
|
|
effect: SHADOW BOTTOM;
|
|
|
|
scale: 1;
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
rel1.offset: 2 3;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2018-04-22 23:13:59 -07:00
|
|
|
rel1.to_x: "efl.icon";
|
2018-04-11 02:33:24 -07:00
|
|
|
rel2.offset: -3 -3;
|
|
|
|
rel2.relative: 0.0 1.0;
|
efl_ui : refactoring efl.part in item based classes.
Summary:
Most of item-based class will have similar efl.part such as text, icon, end.
creating this efl part per each class will be very hard to maintaining the class
and unnecessary eo generation.
so combine them in efl.parts of efl_ui_item.
sub item classes can use this efl.part by declairing ther own eo definition.
Reviewers: cedric, Jaehyun_Cho, segfaultxavi, eagleeye
Reviewed By: cedric, eagleeye
Subscribers: herb, woohyun, q66, lauromoura, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8582
2019-05-29 21:22:03 -07:00
|
|
|
rel2.to_x: "efl.extra";
|
2018-04-11 02:33:24 -07:00
|
|
|
color: FN_COL_DEFAULT;
|
|
|
|
color_class: "list_item";
|
|
|
|
text { font: FN; size: 10;
|
|
|
|
min: 1 1;
|
|
|
|
ellipsis: -1;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
text_class: "list_item";
|
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
text { "label2"; nomouse;
|
2018-04-11 02:33:24 -07:00
|
|
|
effect: SHADOW BOTTOM;
|
|
|
|
scale: 1;
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "default";
|
|
|
|
rel1.to: "efl.text";
|
|
|
|
rel2.to: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
color: FN_COL_DISABLE;
|
|
|
|
color_class: "list_item_disabled";
|
|
|
|
text { font: FN; size: 10;
|
2018-04-22 23:13:59 -07:00
|
|
|
text_source: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
align: 0.0 0.5;
|
|
|
|
text_class: "list_item";
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
text { "label3"; nomouse;
|
2018-04-11 02:33:24 -07:00
|
|
|
effect: GLOW;
|
|
|
|
scale: 1;
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
rel1.offset: -2 -3;
|
2018-04-22 23:13:59 -07:00
|
|
|
rel1.to: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
rel2.offset: 1 1;
|
2018-04-22 23:13:59 -07:00
|
|
|
rel2.to: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
color: FN_COL_HIGHLIGHT;
|
|
|
|
color_class: "list_item_selected";
|
|
|
|
text { font: FN; size: 10;
|
2018-04-22 23:13:59 -07:00
|
|
|
text_source: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
align: 0.0 0.5;
|
|
|
|
text_class: "list_item";
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
|
|
|
}
|
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
hid;
|
|
|
|
}
|
|
|
|
}
|
2019-12-17 01:07:14 -08:00
|
|
|
rect { "event";
|
|
|
|
desc { "default";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
hid;
|
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
//##//
|
|
|
|
swallow { "efl.icon";
|
|
|
|
desc { "default";
|
|
|
|
fixed: 1 0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.offset: 2 -3;
|
|
|
|
}
|
|
|
|
}
|
efl_ui : refactoring efl.part in item based classes.
Summary:
Most of item-based class will have similar efl.part such as text, icon, end.
creating this efl part per each class will be very hard to maintaining the class
and unnecessary eo generation.
so combine them in efl.parts of efl_ui_item.
sub item classes can use this efl.part by declairing ther own eo definition.
Reviewers: cedric, Jaehyun_Cho, segfaultxavi, eagleeye
Reviewed By: cedric, eagleeye
Subscribers: herb, woohyun, q66, lauromoura, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8582
2019-05-29 21:22:03 -07:00
|
|
|
swallow { "efl.extra";
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "default";
|
|
|
|
fixed: 1 0;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
rel1.offset: -3 2;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -3 -3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//##//
|
|
|
|
image { "sel_shine"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "shine.png";
|
|
|
|
rel1.offset: 0 -2;
|
|
|
|
rel1.to: "sel_base";
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -1 2;
|
|
|
|
rel2.to: "sel_base";
|
|
|
|
hid;
|
|
|
|
FIXED_SIZE(69, 5)
|
|
|
|
}
|
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
}
|
|
|
|
rect { "event_block";
|
|
|
|
desc { "default";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
}
|
|
|
|
programs {
|
2019-12-17 01:07:14 -08:00
|
|
|
EFL_UI_CLICKABLE_PART_BIND("event")
|
2018-04-22 23:13:59 -07:00
|
|
|
program {
|
|
|
|
signal: "efl,state,odd"; source: "efl";
|
|
|
|
action: STATE_SET "odd";
|
|
|
|
target: "base";
|
|
|
|
}
|
2018-04-11 02:33:24 -07:00
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,even"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "base";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "efl,state,pressed"; source: "efl";
|
|
|
|
action: STATE_SET "selected";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
|
|
|
target: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "label2";
|
|
|
|
target: "label3";
|
2018-04-22 23:13:59 -07:00
|
|
|
target: "sel_shine";
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,unpressed"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
|
|
|
target: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "label2";
|
|
|
|
target: "label3";
|
2018-04-22 23:13:59 -07:00
|
|
|
target: "sel_shine";
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,selected"; source: "efl";
|
|
|
|
action: STATE_SET "selected";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
|
|
|
target: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "label2";
|
|
|
|
target: "label3";
|
2018-04-22 23:13:59 -07:00
|
|
|
target: "sel_shine";
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,unselected"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
|
|
|
target: "efl.text";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "label2";
|
|
|
|
target: "label3";
|
2018-04-22 23:13:59 -07:00
|
|
|
target: "sel_shine";
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
program {
|
|
|
|
signal: "efl,state,disabled"; source: "efl";
|
|
|
|
action: STATE_SET "disabled";
|
|
|
|
target: "event";
|
|
|
|
target: "efl.text";
|
|
|
|
target: "label2";
|
|
|
|
target: "label3";
|
|
|
|
target: "event_block";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "efl,state,enabled"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "event";
|
|
|
|
target: "efl.text";
|
|
|
|
target: "label2";
|
|
|
|
target: "label3";
|
|
|
|
target: "event_block";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-17 01:07:14 -08:00
|
|
|
group { "efl/list_item:placeholder"; data.item: "version" "124";
|
2018-04-22 23:13:59 -07:00
|
|
|
data.item: "selectraise" "on";
|
|
|
|
data.item: "focusraise" "on";
|
|
|
|
images.image: "bevel_curved_horiz_out.png" COMP;
|
|
|
|
images.image: "shadow_rounded_horiz.png" COMP;
|
|
|
|
images.image: "vgrad_med_dark.png" COMP;
|
|
|
|
images.image: "bevel_horiz_out.png" COMP;
|
|
|
|
images.image: "shine.png" COMP;
|
|
|
|
parts {
|
|
|
|
rect { "base"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
color: 64 64 64 255;
|
|
|
|
color_class: "list_item_base";
|
|
|
|
}
|
|
|
|
desc { "odd";
|
|
|
|
color: 56 56 56 255;
|
|
|
|
color_class: "list_item_base_odd";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
image { "bevel"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "bevel_curved_horiz_out.png";
|
|
|
|
image.border: 0 0 2 2;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
swallow { "efl.background";
|
|
|
|
desc { "default";
|
|
|
|
rel.to: "base";
|
|
|
|
vis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
image { "sel_shadow"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "shadow_rounded_horiz.png";
|
|
|
|
image.border: 0 0 9 9;
|
|
|
|
rel1.offset: 0 -4;
|
|
|
|
rel2.offset: -1 5;
|
|
|
|
fill.smooth: 0;
|
|
|
|
hid;
|
|
|
|
}
|
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
image { "sel_base"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "vgrad_med_dark.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
hid;
|
|
|
|
TILED_HORIZ(120)
|
|
|
|
}
|
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
image { "sel_bevel"; nomouse;
|
|
|
|
desc { "default";
|
|
|
|
image.normal: "bevel_horiz_out.png";
|
|
|
|
image.border: 0 0 2 2;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
hid;
|
|
|
|
}
|
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
|
|
|
}
|
|
|
|
}
|
2019-12-17 01:07:14 -08:00
|
|
|
rect { "event";
|
|
|
|
desc { "default";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
hid;
|
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
//##//
|
|
|
|
swallow { "efl.content"; mouse;
|
|
|
|
scale;
|
|
|
|
desc { "default";
|
|
|
|
min: 19 19;
|
|
|
|
rel1.offset: -1 2;
|
2018-04-11 02:33:24 -07:00
|
|
|
rel2.offset: -3 -3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//##//
|
2018-04-22 23:13:59 -07:00
|
|
|
image { "sel_shine";
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
image.normal: "shine.png";
|
|
|
|
rel1.offset: 0 -2;
|
|
|
|
rel1.to: "sel_base";
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -1 2;
|
|
|
|
rel2.to: "sel_base";
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
FIXED_SIZE(69, 5)
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "selected";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
rect { "event_block"; mouse;
|
|
|
|
desc { "default";
|
2018-04-11 02:33:24 -07:00
|
|
|
color: 0 0 0 0;
|
2018-04-22 23:13:59 -07:00
|
|
|
hid;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
desc { "disabled";
|
|
|
|
inherit: "default";
|
|
|
|
vis;
|
2018-04-11 02:33:24 -07:00
|
|
|
}
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
}
|
|
|
|
programs {
|
2019-12-17 01:07:14 -08:00
|
|
|
EFL_UI_CLICKABLE_PART_BIND("event")
|
2018-04-22 23:13:59 -07:00
|
|
|
program {
|
|
|
|
signal: "efl,state,odd"; source: "efl";
|
|
|
|
action: STATE_SET "odd";
|
|
|
|
target: "base";
|
|
|
|
}
|
2018-04-11 02:33:24 -07:00
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,even"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "base";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "efl,state,pressed"; source: "efl";
|
|
|
|
action: STATE_SET "selected";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "sel_shine";
|
|
|
|
}
|
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,unpressed"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "sel_shine";
|
|
|
|
}
|
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,selected"; source: "efl";
|
|
|
|
action: STATE_SET "selected";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
|
|
|
target: "sel_shine";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "efl,state,unselected"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "sel_shadow";
|
|
|
|
target: "sel_base";
|
|
|
|
target: "sel_bevel";
|
|
|
|
target: "sel_shine";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "efl,state,disabled"; source: "efl";
|
|
|
|
action: STATE_SET "disabled";
|
|
|
|
target: "event";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "event_block";
|
|
|
|
}
|
|
|
|
program {
|
2018-04-22 23:13:59 -07:00
|
|
|
signal: "efl,state,enabled"; source: "efl";
|
|
|
|
action: STATE_SET "default";
|
|
|
|
target: "event";
|
2018-04-11 02:33:24 -07:00
|
|
|
target: "event_block";
|
|
|
|
}
|
|
|
|
}
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
}
|