[Title] Delete hover_state in all theme.
[Issue] N/A
[Problem] Hover state cause many problem on mobile.
[Cause] N/A
[Solution] Delete hover part from *.edc. And delete hover image.
Change-Id: Ie0df1d7f1677bac90b3f4e914285e2e9fe6db0f3
default.edc
widget/button/button.edc
widget/button/img_button_focus.png
- widget/button/img_button_hover.png
widget/button/img_button_normal.png
widget/button/img_button_press.png
widget/check/check.edc
widget/check/img_check_off_focus.png
- widget/check/img_check_off_hover.png
widget/check/img_check_off.png
widget/check/img_check_on_focus.png
- widget/check/img_check_on_hover.png
widget/check/img_check_on.png
widget/combo/combo.edc
widget/combo/00_combo_focus_button.png
widget/combo/00_combo_focus.png
- widget/combo/00_combo_hover_button.png
- widget/combo/00_combo_hover.png
widget/combo/00_combo_normal_button.png
widget/combo/00_combo_normal.png
widget/combo/00_combo_border.png
widget/combo/00_combo_focus_border.png
- widget/combo/00_combo_hover_border.png
widget/combo/00_icon.png
widget/entry/entry.edc
widget/entry/img_focused.png
- widget/entry/img_hovered.png
widget/entry/img_normal.png
widget/file/file.edc
widget/file/file_focus.png
- widget/file/file_hover.png
widget/file/file_normal.png
widget/file/file_press.png
# widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png
widget/progressbar/progressbar.edc
widget/progressbar/shelf_inset.png
widget/radio/img_radio_off_focus.png
- widget/radio/img_radio_off_hover.png
widget/radio/img_radio_off.png
widget/radio/img_radio_on_focus.png
- widget/radio/img_radio_on_hover.png
widget/radio/img_radio_on.png
widget/radio/radio.edc
widget/scrollbar/scrollbar.edc
widget/search/decoration/decoration_normal_button.png
widget/search/decoration/search_decoration.edc
widget/search/field/field_focused.png
- widget/search/field/field_hovered.png
widget/search/field/field_normal.png
widget/search/field/search_field.edc
widget/slider/slider.edc
# widget/slider/slider_v.png
widget/spinner/sp_bg.png
widget/spinner/sp_down_default.png
- widget/spinner/sp_down_hover.png
widget/spinner/sp_down_pressed.png
widget/spinner/spinner.edc
widget/spinner/sp_up_default.png
- widget/spinner/sp_up_hover.png
widget/spinner/sp_up_pressed.png
WORKING_DIRECTORY ${DefaultTheme_DIR}
VERBATIM
images {
image: "widget/button/img_button_normal.png" COMP;
image: "widget/button/img_button_press.png" COMP;
- image: "widget/button/img_button_hover.png" COMP;
image: "widget/button/img_button_focus.png" COMP;
}
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isPressed) == 1)
set_state(PART:"button", "pressed", 0.0);
}
- else if (get_int(isHovered) == 1) {
- set_state(PART:"button", "hovered", 0.0);
if (get_int(isPressed) == 1)
set_state(PART:"button", "pressed", 0.0);
color: 255 255 255 150;
}
description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/button/img_button_hover.png";
- border: 2 2 2 2;
- }
- }
- description {
state: "focused" 0.0;
inherit: "default" 0.0;
image {
show();
}
}
- program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
program {
name: "reset";
signal: "reset";
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
image: "widget/check/img_check_off.png" COMP;
image: "widget/check/img_check_off_focus.png" COMP;
image: "widget/check/img_check_on_focus.png" COMP;
- image: "widget/check/img_check_off_hover.png" COMP;
- image: "widget/check/img_check_on_hover.png" COMP;
}
script {
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"check_button", "enabled_checked", 0.0);
if (get_int(isFocused) == 1)
set_state(PART:"check_button", "focus_checked", 0.0);
- if (get_int(isHovered) == 1 && get_int(isFocused) == 0)
- set_state(PART:"check_button", "hovered_checked", 0.0);
}
else {
if (get_int(isFocused) == 1)
set_state(PART:"check_button", "focused", 0.0);
- if (get_int(isHovered) == 1 && get_int(isFocused) == 0)
- set_state(PART:"check_button", "hovered", 0.0);
}
}
else {
color: 255 255 255 150;
}
description {
- state: "hovered_checked" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/check/img_check_on_hover.png";
- }
- }
- description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/check/img_check_off_hover.png";
- }
- }
- description {
state: "focus_checked" 0.0;
inherit: "default" 0.0;
image {
show();
}
}
- program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
program {
name: "reset";
signal: "reset";
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
images {
image: "widget/combo/00_combo_normal.png" COMP;
image: "widget/combo/00_combo_normal_button.png" COMP;
- image: "widget/combo/00_combo_hover.png" COMP;
- image: "widget/combo/00_combo_hover_button.png" COMP;
image: "widget/combo/00_combo_focus.png" COMP;
image: "widget/combo/00_combo_focus_button.png" COMP;
image: "widget/combo/00_combo_border.png" COMP;
image: "widget/combo/00_combo_focus_border.png" COMP;
- image: "widget/combo/00_combo_hover_border.png" COMP;
image: "widget/combo/00_icon.png" COMP;
}
script {
public isEnabled;
public isFocused;
- public isHovered;
public isStyled;
public show() {
set_state(PART:"combo_button", "focused", 0.0);
}
}
- else if (get_int(isHovered) == 1) {
- if (get_int(isStyled) == 1) {
- set_state(PART:"combo", "styled_hovered", 0.0);
- set_state(PART:"combo_button", "hovered", 0.0);
- }
- else {
- set_state(PART:"combo", "hovered", 0.0);
- set_state(PART:"combo_button", "hovered", 0.0);
- }
- }
else if (get_int(isStyled) == 1) {
set_state(PART:"combo", "styled", 0.0);
set_state(PART:"combo_button", "default", 0.0);
color: 255 255 255 150;
}
description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/combo/00_combo_hover.png";
- border: 15 0 15 15;
- }
- }
- description {
state: "focused" 0.0;
inherit: "default" 0.0;
image {
border: 15 0 15 15;
}
}
- description {
- state: "styled_hovered" 0.0;
- image {
- normal: "widget/combo/00_combo_hover_border.png";
- border: 15 0 15 15;
- }
- }
}
part {
rel1.to: "bt_combo_clipper";
}
description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- rel1.to: "bt_combo_clipper";
- image {
- normal: "widget/combo/00_combo_hover_button.png";
- border: 0 15 15 15;
- }
- }
- description {
state: "focused" 0.0;
inherit: "default" 0.0;
rel1.to: "bt_combo_clipper";
}
}
program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
- program {
name: "styled_state";
signal: "bg_styled";
script {
script {
set_int(isEnabled, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
set_int(isStyled, 0);
show();
}
images {
image: "widget/entry/img_normal.png" COMP;
image: "widget/entry/img_focused.png" COMP;
- image: "widget/entry/img_hovered.png" COMP;
}
script {
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"entry", "pressed", 0.0);
if (get_int(isFocused) == 1)
set_state(PART:"entry", "focused", 0.0);
- if (get_int(isHovered) == 1 && get_int(isFocused) == 0)
- set_state(PART:"entry", "hovered", 0.0);
}
else
set_state(PART:"entry", "disabled", 0.0);
state: "pressed" 0.0;
inherit: "focused" 0.0;
}
- description {
- state: "hovered" 0.0;
- inherit: "focused" 0.0;
- image {
- normal: "widget/entry/img_hovered.png";
- border: 7 7 7 7;
- }
- }
}
part {
show();
}
}
- program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
program {
name: "reset";
signal: "reset";
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
images {
image: "widget/file/file_normal.png" COMP;
- image: "widget/file/file_hover.png" COMP;
image: "widget/file/file_focus.png" COMP;
image: "widget/file/file_press.png" COMP;
}
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
if (get_int(isPressed) == 1)
set_state(PART:"file", "pressed", 0.0);
}
- else if (get_int(isHovered) == 1) {
- set_state(PART:"file", "hovered", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"file", "pressed", 0.0);
-
- }
}
else
set_state(PART:"file", "disabled", 0.0);
color: 255 255 255 150;
}
description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/file/file_hover.png";
- border: 8 8 8 8;
- }
- }
- description {
state: "focused" 0.0;
inherit: "default" 0.0;
image {
show();
}
}
- program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
program {
name: "reset";
signal: "reset";
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
image: "widget/radio/img_radio_off.png" COMP;
image: "widget/radio/img_radio_on_focus.png" COMP;
image: "widget/radio/img_radio_off_focus.png" COMP;
- image: "widget/radio/img_radio_on_hover.png" COMP;
- image: "widget/radio/img_radio_off_hover.png" COMP;
}
script {
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"radio_button", "enabled_checked", 0.0);
if (get_int(isFocused) == 1)
set_state(PART:"radio_button", "focus_checked", 0.0);
- if (get_int(isHovered) == 1 && get_int(isFocused) == 0)
- set_state(PART:"radio_button", "hovered_checked", 0.0);
}
else {
if (get_int(isFocused) == 1)
set_state(PART:"radio_button", "focused", 0.0);
- if (get_int(isHovered) == 1 && get_int(isFocused) == 0)
- set_state(PART:"radio_button", "hovered", 0.0);
}
}
else {
color: 255 255 255 150;
}
description {
- state: "hovered_checked" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/radio/img_radio_on_hover.png";
- }
- }
- description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/radio/img_radio_off_hover.png";
- }
- }
- description {
state: "focus_checked" 0.0;
inherit: "default" 0.0;
image {
show();
}
}
- program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
program {
name: "reset";
signal: "reset";
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"cancel_button", "focused", 0.0);
if (get_int(isPressed) == 1)
set_state(PART:"cancel_button", "pressed", 0.0);
- if (get_int(isHovered) == 1)
- set_state(PART:"cancel_button", "hovered", 0.0);
}
else
set_state(PART:"cancel_button", "disabled", 0.0);
color: 255 255 255 150;
}
description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- }
- description {
state: "focused" 0.0;
inherit: "default" 0.0;
}
}
}
program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
- program {
name: "reset";
signal: "reset";
script {
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"decoration", "focused", 0.0);
if (get_int(isPressed) == 1)
set_state(PART:"decoration", "pressed", 0.0);
- if (get_int(isHovered) == 1)
- set_state(PART:"decoration", "hovered", 0.0);
}
else
set_state(PART:"decoration", "disabled", 0.0);
color: 255 255 255 150;
}
description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- }
- description {
state: "focused" 0.0;
inherit: "default" 0.0;
}
}
}
program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
- program {
name: "reset";
signal: "reset";
script {
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
images {
image: "widget/search/field/field_normal.png" COMP;
image: "widget/search/field/field_focused.png" COMP;
- image: "widget/search/field/field_hovered.png" COMP;
}
script {
public isPressed;
public isChecked;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"search_field", "focused", 0.0);
if (get_int(isPressed) == 1)
set_state(PART:"search_field", "pressed", 0.0);
- if (get_int(isFocused) == 0 && get_int(isHovered) == 1)
- set_state(PART:"search_field", "hovered", 0.0);
}
else
set_state(PART:"search_field", "disabled", 0.0);
}
}
description {
- state: "hovered" 0.0;
- inherit: "focused" 0.0;
- image {
- normal: "widget/search/field/field_hovered.png";
- border: 8 8 8 8;
- }
- }
- description {
state: "pressed" 0.0;
inherit: "focused" 0.0;
}
show();
}
}
- program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
program {
name: "reset";
signal: "reset";
set_int(isPressed, 0);
set_int(isChecked, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
public isEnabled;
public isPressed;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"img.thumb", "pressed", 0.0);
if (get_int(isPressed) == 1)
set_state(PART:"img.thumb", "pressed", 0.0);
- } else if (get_int(isHovered) == 1) {
- set_state(PART:"img.thumb", "pressed", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"img.thumb", "pressed", 0.0);
}
} else
set_state(PART:"img.thumb", "default", 0.0);
}
program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
-
- program {
name: "reset";
signal: "reset";
script {
set_int(isEnabled, 0);
set_int(isPressed, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
public isEnabled;
public isPressed;
public isFocused;
- public isHovered;
public show() {
if (get_int(isEnabled) == 1) {
set_state(PART:"img.thumb", "pressed", 0.0);
if (get_int(isPressed) == 1)
set_state(PART:"img.thumb", "pressed", 0.0);
- } else if (get_int(isHovered) == 1) {
- set_state(PART:"img.thumb", "pressed", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"img.thumb", "pressed", 0.0);
}
} else
set_state(PART:"img.thumb", "default", 0.0);
}
program {
- name: "hovered";
- signal: "hovered";
- script {
- set_int(isHovered, 1);
- show();
- }
- }
-
- program {
name: "reset";
signal: "reset";
script {
set_int(isEnabled, 0);
set_int(isPressed, 0);
set_int(isFocused, 0);
- set_int(isHovered, 0);
show();
}
}
image: "widget/spinner/sp_down_default.png" COMP;
image: "widget/spinner/sp_up_pressed.png" COMP;
image: "widget/spinner/sp_down_pressed.png" COMP;
- image: "widget/spinner/sp_up_hover.png" COMP;
- image: "widget/spinner/sp_down_hover.png" COMP;
}
script {