data.item: "max_font_size" "60";
styles {
style { name: "textblock_style";
- base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
+ base: "font=Sans font_size=10 color=#000 text_class=label";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font=Sans:style=Bold";
rel2.relative: 1.0 1.0;
text {
style: "textblock_style";
- min: 1 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap/default";
- data.item: "default_font_size" "10";
- data.item: "min_font_size" "6";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style";
- min: 0 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap_ellipsis/default";
- data.item: "default_font_size" "10";
- data.item: "min_font_size" "6";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- multiline: 1;
- description { state: "default" 0.0;
- fixed: 0 1;
- text {
- style: "textblock_style";
min: 0 1;
}
}
}
}
- group { name: "elm/label/base_wrap/marker";
- data.item: "default_font_size" "10";
- data.item: "min_font_size" "6";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- }
-
group { name: "elm/label/base/slide_long";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
- duration = getarg(2);
+ duration = getfarg(2);
set_float(g_duration, duration);
}
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
- duration = getarg(2);
+ duration = getfarg(2);
set_float(g_duration, duration);
}
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
- duration = getarg(2);
+ duration = getfarg(2);
set_float(g_duration, duration);
}
}
else {
emit("elm,action,toggle,off", "");
}
-
+
}
}
program { name: "toggle_on";
image: "bt_shine.png" COMP;
}
parts {
+ part { name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 40 0;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ to_y: "base";
+ }
+ rel2 {
+ relative:0 1;
+ to:"base";
+ }
+ }
+ }
+ part { name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 40 0;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 0;
+ to:"base";
+ }
+ rel2 {
+ to_y: "base";
+ }
+ }
+ }
+ part { name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 40;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ to_x: "base";
+ }
+ rel2 {
+ relative: 1 0;
+ to:"base";
+ }
+ }
+ }
+ part { name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 40;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 0 1;
+ to:"base";
+ }
+ rel2 {
+ to_x: "base";
+ }
+ }
+ }
+ part { name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
part { name: "base";
scale: 1;
description { state: "default" 0.0;
}
}
+ group { name: "elm/entry/base-mixedwrap/default";
+ styles
+ {
+ style { name: "entry_textblock_style_mixedwrap";
+ base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Sans:style=Oblique";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ }
+ style { name: "entry_textblock_disabled_style_mixedwrap";
+ base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Sans:style=Oblique";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: EXPLICIT;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+// source2: "X"; // selection over
+// source3: "X"; // cursor under
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+// source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_mixedwrap";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
group { name: "elm/entry/base-charwrap/default";
styles
{
}
}
+ group { name: "elm/entry/base-noedit-mixedwrap/default";
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: EXPLICIT;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_mixedwrap";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
group { name: "elm/entry/base-noedit-charwrap/default";
parts {
part { name: "elm.text";
image.normal: "shadow.png";
}
}
-
+
part { name: "elm.swallow.content";
type: SWALLOW;
fixed: 1 1;
}
}
-
+
part {
name: "border";
type: IMAGE;
}
}
part { name: "image_1_whole";
+ type: RECT;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "image_2_whole";
+ type: RECT;
description {
state: "default" 0.0;
visible: 1;
color: 0 0 0 0;
}
}
+ part { name: "reorder_bg";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -7 -7;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 9 9;
+ }
+ image {
+ normal: "bt_bases.png";
+ border: 6 6 6 6;
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
part {
name: "base_sh";
mouse_events: 0;
size: 10;
min: 1 1;
// min: 0 1;
- align: 0.0 0.5;
+ align: -1.0 0.5;
text_class: "list_item";
}
}
- description {
- state: "default" 1.0;
- inherit: "default" 0.0;
- text.align: -1.0 0.5;
- }
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: 224 224 224 255;
action: STATE_SET "default" 1.0;
target: "base_sh";
target: "base";
- target: "elm.text";
}
program {
name: "even";
action: STATE_SET "default" 0.0;
target: "base_sh";
target: "base";
- target: "elm.text";
}
program {
name: "go_active";
action: STATE_SET "default" 0.0;
target: "disclip";
}
+ program {
+ name: "go_reorder_disabled";
+ signal: "elm,state,reorder,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ name: "go_reorder_enabled";
+ signal: "elm,state,reorder,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
}
}
group { name: "elm/genlist/item/group_index/default";
}
group { name: "elm/genlist/item/mode/default";
- data.item: "stacking" "above";
data.item: "selectraise" "on";
data.item: "labels" "elm.text.mode";
data.item: "icons" "elm.swallow.mode";
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_1.png" COMP;
+ image: "ilist_2.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part {
name: "base";
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
}
image.middle: SOLID;
}
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ }
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
offset: 1 1;
}
}
+ description {
+ state: "selected" 1.0;
+ inherit: "selected" 0.0;
+ }
}
part { name: "elm.text.mode";
clip_to: "disclip";
font: "Sans";
size: 10;
min: 1 1;
- align: 0.5 0.5;
+ align: -1.0 0.5;
text_class: "list_item";
}
}
visible: 1;
color: 255 255 255 255;
}
+ description {
+ state: "selected" 1.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
}
part { name: "fg2";
clip_to: "disclip";
visible: 1;
color: 255 255 255 255;
}
+ description {
+ state: "selected" 1.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
}
// Transparent part between base parts and slidable parts
part { name: "event_block_layer";
}
programs {
program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
name: "go_active";
signal: "elm,state,selected";
source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"base", st, 30, vl);
+ set_state(PART:"bg", "selected", vl);
+ set_state(PART:"fg1", "selected", vl);
+ set_state(PART:"fg2", "selected", vl);
+ }
}
program {
name: "go_passive";
signal: "elm,state,unselected";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- transition: LINEAR 0.1;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"base", st, 30, vl);
+ set_state(PART:"bg", "default", vl);
+ set_state(PART:"fg1", "default", vl);
+ set_state(PART:"fg2", "default", vl);
+ }
}
program {
name: "go_disabled";
}
parts {
part { name: "elm.background.progressbar";
+ type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
}
}
part { name: "progress-rect";
+ type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
color: 0 0 0 0;
}
}
+ part { name: "reorder_bg";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -10 -10;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 12 12;
+ }
+ image {
+ normal: "bt_bases.png";
+ border: 6 6 6 6;
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
part { name: "base_sh";
mouse_events: 0;
description { state: "default" 0.0;
action: STATE_SET "default" 0.0;
target: "disclip";
}
+ program { name: "go_reorder_disabled";
+ signal: "elm,state,reorder,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
+ program { name: "go_reorder_enabled";
+ signal: "elm,state,reorder,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
}
}
group { name: "elm/gengrid/item/default_style/default";
part { name: "elm.swallow.shelf";
type: SWALLOW;
description { state: "default" 0.0;
- fixed: 1 1;
+ fixed: 0 1;
align: 0.0 0.0;
rel2.relative: 1.0 0.0;
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
+ fixed: 0 1;
align: 0.5 0.5;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.swallow.shelf";
rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.virtualkeypad";
+ }
+ }
+ part { name: "elm.swallow.virtualkeypad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.panel";
}
}
part { name: "elm.swallow.panel";
type: SWALLOW;
description { state: "default" 0.0;
- fixed: 1 1;
+ fixed: 0 1;
align: 0.0 1.0;
rel1.relative: 0.0 1.0;
}
part { name: "elm.text.title";
type: TEXT;
effect: SOFT_SHADOW;
- scale: 1;
+ scale: 1;
description { state: "default" 0.0;
rel1 {
to_x: "back";
}
}
}
-
-
-
-