//////////////////////////////////////////////////////////////
group { name: "elm/button/base/style1/auto_expand";
- alias: "elm/button/base/datetime_ampm/default";
images {
image: "00_button_01_normal.png" COMP;
image: "00_button_01_normal_press.png" COMP;
}
//////////////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/button/base/datetime_ampm/default";
+ inherit: "elm/button/base/style1/auto_expand";
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_DATETIME_AMPM_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+ }
+
+//////////////////////////////////////////////////////////////////////////////////////
group { name: "elm/button/base/style1/multiline";
images {
image: "00_button_01_normal.png" COMP;
///////////////////////////////////////////////////////////////////////////////////////
group { name: "elm/button/base/searchbar/default";
images {
- image: "00_search_input_field_bg.png" COMP;
- image: "00_button_sweep_press.png" COMP;
- image: "00_button_sweep_dim.png" COMP;
- image: "00_button_sweep_focus.png" COMP;
+ image: "00_button_01_normal.png" COMP;
+ image: "00_button_01_normal_press.png" COMP;
+ image: "00_button_01_normal_dim.png" COMP;
+ image: "00_button_01_normal_Focus.png" COMP;
}
script {
public button_state = BUTTON_STATE_ENABLED;
description { state: "default" 0.0;
min: BUTTON_SEARCHBAR_BG_NORMAL_MIN_INC;
image {
- normal: "00_search_input_field_bg.png";
- border: BUTTON_SEARCHBAR_BG_BORDER_INC;
+ normal: "00_button_01_normal.png";
+ border: BUTTON_DEFAULT_STYLE_BG_BORDER_INC;
border_scale: 1;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
- image {
- normal: "00_button_sweep_press.png";
- border: BUTTON_SWEEP_BG_BORDER_INC;
- border_scale: 1;
- }
+ image.normal: "00_button_01_normal_press.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- image {
- normal: "00_button_sweep_dim.png";
- border: BUTTON_SWEEP_BG_BORDER_INC;
- border_scale: 1;
- }
+ image.normal: "00_button_01_normal_dim.png";
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
- image {
- normal: "00_button_sweep_focus.png";
- border: BUTTON_SWEEP_BG_BORDER_INC;
- border_scale: 1;
- }
+ image.normal: "00_button_01_normal_Focus.png";
}
}
part { name: "padding_left_top";
part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
- clip_to: "clipper";
+ clip_to: "icon_disabler";
description { state: "default" 0.0;
visible: 0;
align: 0.0 0.5;
color: 255 255 255 255;
}
}
+ part { name: "icon_disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "icon_rect";
+ rel2.to: "icon_rect";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 127 127 127 127;
+ }
+ }
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
+ target: "icon_disabler";
after: "disable_text";
}
program { name: "disable_text";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
+ target: "icon_disabler";
after: "enable_text";
}
program { name: "enable_text";