summaryrefslogtreecommitdiffstats
path: root/WebKit/efl/DefaultTheme/widget
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/efl/DefaultTheme/widget')
-rw-r--r--WebKit/efl/DefaultTheme/widget/button/button.edc176
-rw-r--r--WebKit/efl/DefaultTheme/widget/button/img_button_focus.pngbin1343 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/button/img_button_hover.pngbin1343 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/button/img_button_normal.pngbin731 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/button/img_button_press.pngbin1466 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/check.edc181
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/img_check_off.pngbin362 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/img_check_off_focus.pngbin371 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/img_check_off_hover.pngbin371 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/img_check_on.pngbin514 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/img_check_on_focus.pngbin521 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/check/img_check_on_hover.pngbin521 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo.edc306
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_focus.pngbin955 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_focus_button.pngbin1141 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_hover.pngbin955 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_hover_button.pngbin1141 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_normal.pngbin442 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_normal_button.pngbin517 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_press.pngbin1093 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/combo_press_button.pngbin1120 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/combo/icon.pngbin170 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/entry/entry.edc167
-rw-r--r--WebKit/efl/DefaultTheme/widget/entry/img_focused.pngbin2651 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/entry/img_hovered.pngbin2651 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/entry/img_normal.pngbin632 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/file/file.edc148
-rw-r--r--WebKit/efl/DefaultTheme/widget/file/file_focus.pngbin1836 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/file/file_hover.pngbin1715 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/file/file_normal.pngbin1867 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/file/file_press.pngbin1805 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/progressbar/bt_base.pngbin952 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/progressbar/progressbar.edc108
-rw-r--r--WebKit/efl/DefaultTheme/widget/progressbar/shelf_inset.pngbin509 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/img_radio_off.pngbin598 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/img_radio_off_focus.pngbin587 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/img_radio_off_hover.pngbin587 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/img_radio_on.pngbin615 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/img_radio_on_focus.pngbin610 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/img_radio_on_hover.pngbin610 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/radio/radio.edc181
-rw-r--r--WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar.edc372
-rw-r--r--WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.pngbin161 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.pngbin177 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.pngbin181 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.pngbin165 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button.pngbin3020 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button2.pngbin619 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/cancel/search_cancel.edc131
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/decoration/decoration_normal_button.pngbin260 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/decoration/search_decoration.edc132
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/field/field_focused.pngbin2651 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/field/field_hovered.pngbin2651 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/field/field_normal.pngbin632 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/search/field/search_field.edc151
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider.edc491
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_fill_h.pngbin148 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_fill_v.pngbin311 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_h.pngbin326 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.pngbin507 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.pngbin555 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.pngbin813 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.pngbin697 -> 0 bytes
-rw-r--r--WebKit/efl/DefaultTheme/widget/slider/slider_v.pngbin482 -> 0 bytes
64 files changed, 0 insertions, 2544 deletions
diff --git a/WebKit/efl/DefaultTheme/widget/button/button.edc b/WebKit/efl/DefaultTheme/widget/button/button.edc
deleted file mode 100644
index 78cc72a..0000000
--- a/WebKit/efl/DefaultTheme/widget/button/button.edc
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
- group {
- name: "webkit/widget/button";
-
- 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;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
-
- if (get_int(isEnabled) == 1) {
- set_state(PART:"button", "default", 0.0);
- if (get_int(isFocused) == 1) {
- set_state(PART:"button", "focused", 0.0);
- 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);
-
- }
- }
- else
- set_state(PART:"button", "disabled", 0.0);
- }
- }
-
- parts {
-
- part {
- name: "button";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 25 25;
- image {
- normal: "widget/button/img_button_normal.png";
- border: 6 10 8 10;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/button/img_button_press.png";
- border: 6 10 8 10;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 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: 6 10 8 10;
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/button/img_button_focus.png";
- border: 6 10 8 10;
- }
- }
- }
-
- part {
- name: "text_confinement";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 0.0;
- offset: 15 8;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -16 -11;
- }
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "checked";
- signal: "checked";
- script {
- set_int(isChecked, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
- }
diff --git a/WebKit/efl/DefaultTheme/widget/button/img_button_focus.png b/WebKit/efl/DefaultTheme/widget/button/img_button_focus.png
deleted file mode 100644
index 9e91fe8..0000000
--- a/WebKit/efl/DefaultTheme/widget/button/img_button_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/button/img_button_hover.png b/WebKit/efl/DefaultTheme/widget/button/img_button_hover.png
deleted file mode 100644
index 9e91fe8..0000000
--- a/WebKit/efl/DefaultTheme/widget/button/img_button_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/button/img_button_normal.png b/WebKit/efl/DefaultTheme/widget/button/img_button_normal.png
deleted file mode 100644
index bd9dee9..0000000
--- a/WebKit/efl/DefaultTheme/widget/button/img_button_normal.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/button/img_button_press.png b/WebKit/efl/DefaultTheme/widget/button/img_button_press.png
deleted file mode 100644
index b8b5163..0000000
--- a/WebKit/efl/DefaultTheme/widget/button/img_button_press.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/check/check.edc b/WebKit/efl/DefaultTheme/widget/check/check.edc
deleted file mode 100644
index 0e09303..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/check.edc
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
- group {
-
- name: "webkit/widget/checkbox";
- min: 12 12;
-
- images {
- image: "widget/check/img_check_on.png" COMP;
- 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 isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"check_button", "default", 0.0);
- if (get_int(isChecked) == 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 {
- set_state(PART:"check_button", "disabled", 0.0);
- if (get_int(isChecked) == 1)
- set_state(PART:"check_button", "disabled_checked", 0.0);
- }
- }
- }
-
- parts {
- part {
- name: "check_button";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 12 12;
- max: 12 12;
- image {
- normal: "widget/check/img_check_off.png";
- }
- }
- description {
- state: "enabled_checked" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/check/img_check_on.png";
- }
- }
- description {
- state: "disabled_checked" 0.0;
- inherit: "enabled_checked" 0.0;
- color: 255 255 255 150;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- 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 {
- normal: "widget/check/img_check_on_focus.png";
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/check/img_check_off_focus.png";
- }
- }
- }
- }
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "checked";
- signal: "checked";
- script {
- set_int(isChecked, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
- }
diff --git a/WebKit/efl/DefaultTheme/widget/check/img_check_off.png b/WebKit/efl/DefaultTheme/widget/check/img_check_off.png
deleted file mode 100644
index 167fa4e..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/img_check_off.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/check/img_check_off_focus.png b/WebKit/efl/DefaultTheme/widget/check/img_check_off_focus.png
deleted file mode 100644
index 18bee2a..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/img_check_off_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/check/img_check_off_hover.png b/WebKit/efl/DefaultTheme/widget/check/img_check_off_hover.png
deleted file mode 100644
index 18bee2a..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/img_check_off_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/check/img_check_on.png b/WebKit/efl/DefaultTheme/widget/check/img_check_on.png
deleted file mode 100644
index 87d13ed..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/img_check_on.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/check/img_check_on_focus.png b/WebKit/efl/DefaultTheme/widget/check/img_check_on_focus.png
deleted file mode 100644
index 1f40566..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/img_check_on_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/check/img_check_on_hover.png b/WebKit/efl/DefaultTheme/widget/check/img_check_on_hover.png
deleted file mode 100644
index 1f40566..0000000
--- a/WebKit/efl/DefaultTheme/widget/check/img_check_on_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo.edc b/WebKit/efl/DefaultTheme/widget/combo/combo.edc
deleted file mode 100644
index d101d60..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo.edc
+++ /dev/null
@@ -1,306 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "webkit/widget/combo";
-
- images {
- image: "widget/combo/combo_normal.png" COMP;
- image: "widget/combo/combo_normal_button.png" COMP;
- image: "widget/combo/combo_hover.png" COMP;
- image: "widget/combo/combo_hover_button.png" COMP;
- image: "widget/combo/combo_focus.png" COMP;
- image: "widget/combo/combo_focus_button.png" COMP;
- image: "widget/combo/combo_press.png" COMP;
- image: "widget/combo/combo_press_button.png" COMP;
- image: "widget/combo/icon.png" COMP;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"combo", "default", 0.0);
- set_state(PART:"combo_button", "default", 0.0);
- set_state(PART:"combo_button_icon", "default", 0.0);
- if (get_int(isFocused) == 1) {
- set_state(PART:"combo", "focused", 0.0);
- set_state(PART:"combo_button", "focused", 0.0);
- if (get_int(isPressed) == 1) {
- set_state(PART:"combo", "pressed", 0.0);
- set_state(PART:"combo_button", "pressed", 0.0);
- }
- }
- else if (get_int(isHovered) == 1) {
- set_state(PART:"combo", "hovered", 0.0);
- set_state(PART:"combo_button", "hovered", 0.0);
- if (get_int(isPressed) == 1) {
- set_state(PART:"combo", "pressed", 0.0);
- set_state(PART:"combo_button", "pressed", 0.0);
- }
- }
- }
- else {
- set_state(PART:"combo", "disabled", 0.0);
- set_state(PART:"combo_button", "disabled", 0.0);
- set_state(PART:"combo_button_icon", "disabled", 0.0);
- }
- }
- }
-
- parts {
- part {
- name: "clipper";
- type: RECT;
- description {
- min: 35 27;
- state: "default" 0.0;
- }
- }
-
- part {
- name: "combo_clipper";
- type: RECT;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1.to: "clipper";
- rel2 {
- to: "clipper";
- offset: -32 -1;
- }
- }
- }
-
- part {
- name: "combo";
- type: IMAGE;
- clip_to: "combo_clipper";
- description {
- state: "default" 0.0;
- min: 36 20;
- image {
- normal: "widget/combo/combo_normal.png";
- border: 15 0 8 11;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 150;
- }
- description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/combo/combo_hover.png";
- border: 15 0 8 11;
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/combo/combo_focus.png";
- border: 15 0 8 11;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/combo/combo_press.png";
- border: 15 0 8 11;
- }
- }
- }
-
- part {
- name: "bt_combo_clipper";
- type: RECT;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to: "combo_clipper";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "clipper";
- relative: 1.0 1.0;
- }
- }
- }
-
- part {
- name: "combo_button";
- type: IMAGE;
- clip_to: "bt_combo_clipper";
- description {
- state: "default" 0.0;
- min: 18 20; // 3 + 5 + image width (10), 5 + 5 + image height (10)
- rel1.to: "bt_combo_clipper";
- image {
- normal: "widget/combo/combo_normal_button.png";
- border: 1 15 8 10;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 150;
- rel1.to: "bt_combo_clipper";
- }
- description {
- state: "hovered" 0.0;
- inherit: "default" 0.0;
- rel1.to: "bt_combo_clipper";
- image {
- normal: "widget/combo/combo_hover_button.png";
- border: 1 15 8 10;
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- rel1.to: "bt_combo_clipper";
- image {
- normal: "widget/combo/combo_focus_button.png";
- border: 1 15 8 10;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- rel1.to: "bt_combo_clipper";
- image {
- normal: "widget/combo/combo_press_button.png";
- border: 1 15 8 10;
- }
- }
- }
-
-
- part {
- name: "combo_button_icon";
- type: IMAGE;
- clip_to: "bt_combo_clipper";
- description {
- state: "default" 0.0;
- min: 12 10;
- max: 12 10;
- color: 255 255 255 150;
- rel1 {
- to: "bt_combo_clipper";
- relative: 0.5 0.5;
- offset: 0 1;
- }
- rel2 {
- to: "bt_combo_clipper";
- relative: 0.5 0.5;
- }
- fixed: 1 1;
- image {
- normal: "widget/combo/icon.png";
- border: 5 5 0 0;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 50;
- image {
- normal: "widget/combo/icon.png";
- border: 5 5 0 0;
- }
- }
- }
-
- part {
- name: "text_confinement";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 {
- to: "combo_clipper";
- offset: 15 10;
- }
- rel2 {
- to: "combo_clipper";
- offset: -11 -11;
- }
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
-}
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_focus.png b/WebKit/efl/DefaultTheme/widget/combo/combo_focus.png
deleted file mode 100644
index 3b1574b..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_focus_button.png b/WebKit/efl/DefaultTheme/widget/combo/combo_focus_button.png
deleted file mode 100644
index eaf137b..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_focus_button.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_hover.png b/WebKit/efl/DefaultTheme/widget/combo/combo_hover.png
deleted file mode 100644
index 3b1574b..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_hover_button.png b/WebKit/efl/DefaultTheme/widget/combo/combo_hover_button.png
deleted file mode 100644
index eaf137b..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_hover_button.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_normal.png b/WebKit/efl/DefaultTheme/widget/combo/combo_normal.png
deleted file mode 100644
index fc461a7..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_normal.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_normal_button.png b/WebKit/efl/DefaultTheme/widget/combo/combo_normal_button.png
deleted file mode 100644
index 1cbcb11..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_normal_button.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_press.png b/WebKit/efl/DefaultTheme/widget/combo/combo_press.png
deleted file mode 100644
index 97c88c5..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_press.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/combo_press_button.png b/WebKit/efl/DefaultTheme/widget/combo/combo_press_button.png
deleted file mode 100644
index 17233af..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/combo_press_button.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/combo/icon.png b/WebKit/efl/DefaultTheme/widget/combo/icon.png
deleted file mode 100644
index 1534c2c..0000000
--- a/WebKit/efl/DefaultTheme/widget/combo/icon.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/entry/entry.edc b/WebKit/efl/DefaultTheme/widget/entry/entry.edc
deleted file mode 100644
index 613ee59..0000000
--- a/WebKit/efl/DefaultTheme/widget/entry/entry.edc
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
- group {
- name: "webkit/widget/entry";
-
- images {
- image: "widget/entry/img_normal.png" COMP;
- image: "widget/entry/img_focused.png" COMP;
- image: "widget/entry/img_hovered.png" COMP;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"entry", "default", 0.0);
- if (get_int(isPressed) == 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);
- }
-
- }
-
- parts {
- part {
- name: "entry";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 14 14;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -1;
- }
- image {
- normal: "widget/entry/img_normal.png";
- border: 7 7 7 7;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 150;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/entry/img_focused.png";
- border: 7 7 7 7;
- }
- }
- description {
- 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 {
- name: "text_confinement";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 4 6; // <- 6 because of the blink cursor
- rel2.offset: -4 -5; // <- due to the image
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "checked";
- signal: "checked";
- script {
- set_int(isChecked, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
- }
diff --git a/WebKit/efl/DefaultTheme/widget/entry/img_focused.png b/WebKit/efl/DefaultTheme/widget/entry/img_focused.png
deleted file mode 100644
index f4b17a9..0000000
--- a/WebKit/efl/DefaultTheme/widget/entry/img_focused.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/entry/img_hovered.png b/WebKit/efl/DefaultTheme/widget/entry/img_hovered.png
deleted file mode 100644
index f4b17a9..0000000
--- a/WebKit/efl/DefaultTheme/widget/entry/img_hovered.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/entry/img_normal.png b/WebKit/efl/DefaultTheme/widget/entry/img_normal.png
deleted file mode 100644
index 88d53f4..0000000
--- a/WebKit/efl/DefaultTheme/widget/entry/img_normal.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/file/file.edc b/WebKit/efl/DefaultTheme/widget/file/file.edc
deleted file mode 100644
index 40afcc7..0000000
--- a/WebKit/efl/DefaultTheme/widget/file/file.edc
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "webkit/widget/file";
-
- 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;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"file", "default", 0.0);
- if (get_int(isFocused) == 1) {
- set_state(PART:"file", "focused", 0.0);
- 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);
- }
- }
-
- parts {
- part {
- name: "file";
- type: IMAGE;
- description {
- state: "default" 0.0;
- image {
- normal: "widget/file/file_normal.png";
- border: 8 8 8 8;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 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 {
- normal: "widget/file/file_focus.png";
- border: 8 8 8 8;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/file/file_press.png";
- border: 8 8 8 8;
- }
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
- }
diff --git a/WebKit/efl/DefaultTheme/widget/file/file_focus.png b/WebKit/efl/DefaultTheme/widget/file/file_focus.png
deleted file mode 100644
index cc93b27..0000000
--- a/WebKit/efl/DefaultTheme/widget/file/file_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/file/file_hover.png b/WebKit/efl/DefaultTheme/widget/file/file_hover.png
deleted file mode 100644
index 41285a1..0000000
--- a/WebKit/efl/DefaultTheme/widget/file/file_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/file/file_normal.png b/WebKit/efl/DefaultTheme/widget/file/file_normal.png
deleted file mode 100644
index a6d0653..0000000
--- a/WebKit/efl/DefaultTheme/widget/file/file_normal.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/file/file_press.png b/WebKit/efl/DefaultTheme/widget/file/file_press.png
deleted file mode 100644
index f18f8fd..0000000
--- a/WebKit/efl/DefaultTheme/widget/file/file_press.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/progressbar/bt_base.png b/WebKit/efl/DefaultTheme/widget/progressbar/bt_base.png
deleted file mode 100644
index 2d1f179..0000000
--- a/WebKit/efl/DefaultTheme/widget/progressbar/bt_base.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/progressbar/progressbar.edc b/WebKit/efl/DefaultTheme/widget/progressbar/progressbar.edc
deleted file mode 100644
index 2a34d54..0000000
--- a/WebKit/efl/DefaultTheme/widget/progressbar/progressbar.edc
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- Copyright (C) 2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-group {
- name: "webkit/widget/progressbar";
- min: 0 11; /* if > 0, this is the minimum size that will be allocated.
- * If wants to draw on top, just overflow usign edje's rel1/rel2
- */
- max: 999999 999999;
-
- images {
- image: "widget/progressbar/shelf_inset.png" COMP;
- image: "widget/progressbar/bt_base.png" COMP;
- }
-
- script {
- public message(Msg_Type:type, id, ...) {
- if ((id == 0) && (type == MSG_FLOAT_SET)) {
- new Float:x, Float:sx;
- x = getfarg(2);
- sx = getfarg(3);
-
- if (sx >= 0.0) {
- set_drag_size(PART:"img.progressbar_fill", sx, 1.0);
- set_drag(PART:"img.progressbar_fill", x, 0.0);
- }
- }
- }
- }
-
- parts {
- part {
- name: "rect.base";
- type: RECT;
- description {
- state: "default" 0.0;
- min: 29 11;
- max: 999999 99999;
- color: 255 255 255 0;
- }
- }
- part {
- name: "rect.clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- color: 255 255 255 128;
- }
- }
-
- part {
- name: "img.progressbar";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 29 5;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- align: 0.5 0.5;
- image {
- normal: "widget/progressbar/shelf_inset.png";
- border: 8 8 8 8;
- }
- }
- }
- part {
- name: "img.progressbar_fill";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "rect.base";
- }
- description {
- state: "default" 0.0;
- min: 0 5;
- align: 0.5 0.5;
- image {
- normal: "widget/progressbar/bt_base.png";
- border: 7 7 0 0;
- }
- }
- }
- }
-}
diff --git a/WebKit/efl/DefaultTheme/widget/progressbar/shelf_inset.png b/WebKit/efl/DefaultTheme/widget/progressbar/shelf_inset.png
deleted file mode 100644
index bb1989d..0000000
--- a/WebKit/efl/DefaultTheme/widget/progressbar/shelf_inset.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/img_radio_off.png b/WebKit/efl/DefaultTheme/widget/radio/img_radio_off.png
deleted file mode 100644
index cd64cd8..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/img_radio_off.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/img_radio_off_focus.png b/WebKit/efl/DefaultTheme/widget/radio/img_radio_off_focus.png
deleted file mode 100644
index 87d31e2..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/img_radio_off_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/img_radio_off_hover.png b/WebKit/efl/DefaultTheme/widget/radio/img_radio_off_hover.png
deleted file mode 100644
index 87d31e2..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/img_radio_off_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/img_radio_on.png b/WebKit/efl/DefaultTheme/widget/radio/img_radio_on.png
deleted file mode 100644
index b8d8ecb..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/img_radio_on.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/img_radio_on_focus.png b/WebKit/efl/DefaultTheme/widget/radio/img_radio_on_focus.png
deleted file mode 100644
index bf8a970..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/img_radio_on_focus.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/img_radio_on_hover.png b/WebKit/efl/DefaultTheme/widget/radio/img_radio_on_hover.png
deleted file mode 100644
index bf8a970..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/img_radio_on_hover.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/radio/radio.edc b/WebKit/efl/DefaultTheme/widget/radio/radio.edc
deleted file mode 100644
index f07b9b2..0000000
--- a/WebKit/efl/DefaultTheme/widget/radio/radio.edc
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
- group {
- name: "webkit/widget/radio";
- min: 12 12;
-
- images {
- image: "widget/radio/img_radio_on.png" COMP;
- 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 isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"radio_button", "default", 0.0);
- if (get_int(isChecked) == 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 {
- set_state(PART:"radio_button", "disabled", 0.0);
- if (get_int(isChecked) == 1)
- set_state(PART:"radio_button", "disabled_checked", 0.0);
- }
- }
- }
-
- parts {
- part {
- name: "radio_button";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 12 12;
- max: 12 12;
- image {
- normal: "widget/radio/img_radio_off.png";
- }
- }
- description {
- state: "enabled_checked" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/radio/img_radio_on.png";
- }
- }
- description {
- state: "disabled_checked" 0.0;
- inherit: "enabled_checked" 0.0;
- color: 255 255 255 150;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- 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 {
- normal: "widget/radio/img_radio_on_focus.png";
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/radio/img_radio_off_focus.png";
- }
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "checked";
- signal: "checked";
- script {
- set_int(isChecked, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
- }
diff --git a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar.edc b/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar.edc
deleted file mode 100644
index b4eead0..0000000
--- a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar.edc
+++ /dev/null
@@ -1,372 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "scrollbar.vertical";
-
- min: 0 0; /* if > 0, this is the minimum size that will be allocated.
- * If wants to draw on top, just overflow usign edje's rel1/rel2
- */
-
- images {
- image: "widget/scrollbar/scrollbar_v.png" COMP;
- image: "widget/scrollbar/scrollbar_knob_v.png" COMP;
- }
-
- script {
- public hide_timer;
-
- public hide_timer_cb(val) {
- run_program(PROGRAM:"hide");
- return 0;
- }
-
- public hide_timer_stop() {
- new id = get_int(hide_timer);
- if (id <= 0)
- return;
-
- cancel_timer(id);
- set_int(hide_timer, 0);
- }
-
- public hide_timer_start() {
- set_int(hide_timer, timer(1.0, "hide_timer_cb", 0));
- }
-
- public message(Msg_Type:type, id, ...) {
- if ((id == 0) && (type == MSG_FLOAT_SET)) {
- new Float:vy, Float:sy;
-
- vy = getfarg(2);
- sy = getfarg(3);
-
- if (vy >= 0.0) {
- set_drag_size(PART:"img.knob", 1.0, sy);
- set_drag(PART:"img.knob", 0.0, vy);
- run_program(PROGRAM:"show");
- } else
- run_program(PROGRAM:"hide");
-
- hide_timer_stop();
- hide_timer_start();
- }
- }
-
- public update_drag_pos() {
- new Float:x, Float:y;
- get_drag(PART:"img.knob", x, y);
- send_message(MSG_FLOAT, 1, y);
- }
- }
-
- parts {
- part {
- name: "rect.base";
- type: RECT;
- description {
- min: 10 0;
- max: 10 999999;
- align: 1.0 0.5;
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- }
-
- part {
- name: "rect.clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- description {
- state: "hidden" 0.0;
- color: 255 255 255 64;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- }
-
- part {
- name: "img.scrollbar";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 1 30;
- max: 1 999999;
- align: 0.5 0.5;
- image {
- normal: "widget/scrollbar/scrollbar_v.png";
- border: 0 0 15 15;
- middle: SOLID;
- }
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- }
-
- part {
- name: "rect.knobarea";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- min: 5 5;
- max: 5 999999;
- align: 0.5 0.5;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- }
-
- part {
- name: "img.knob";
- type: IMAGE;
- mouse_events: 1;
- clip_to: "rect.clipper";
- dragable {
- x: 0 0 0;
- y: 1 1 0;
- confine: "rect.knobarea";
- }
- description {
- state: "default" 0.0;
- min: 5 5;
- max: 5 999999;
- align: 0.5 0.5;
- image {
- normal: "widget/scrollbar/scrollbar_knob_v.png";
- border: 3 3 3 3;
- middle: SOLID;
- }
- }
- }
- }
- programs {
- program {
- name: "load";
- signal: "load";
- action: STATE_SET "hidden" 0.0;
- target: "rect.clipper";
- }
- program {
- name: "hide";
- action: STATE_SET "hidden" 0.0;
- transition: ACCELERATE 0.5;
- target: "rect.clipper";
- }
-
- program {
- name: "show";
- action: STATE_SET "default" 0.0;
- target: "rect.clipper";
- }
-
- program {
- name: "dragged";
- signal: "drag";
- source: "img.knob";
- script {
- update_drag_pos();
- }
- }
- }
-}
-
-group {
- name: "scrollbar.horizontal";
-
- min: 0 0; /* if > 0, this is the minimum size that will be allocated.
- * If wants to draw on top, just overflow usign edje's rel1/rel2
- */
-
- images {
- image: "widget/scrollbar/scrollbar_h.png" COMP;
- image: "widget/scrollbar/scrollbar_knob_h.png" COMP;
- }
-
- script {
- public hide_timer;
-
- public hide_timer_cb(val) {
- run_program(PROGRAM:"hide");
- return 0;
- }
-
- public hide_timer_stop() {
- new id = get_int(hide_timer);
- if (id <= 0)
- return;
-
- cancel_timer(id);
- set_int(hide_timer, 0);
- }
-
- public hide_timer_start() {
- set_int(hide_timer, timer(1.0, "hide_timer_cb", 0));
- }
-
- public message(Msg_Type:type, id, ...) {
- if ((id == 0) && (type == MSG_FLOAT_SET)) {
- new Float:vx, Float:sx;
-
- vx = getfarg(2);
- sx = getfarg(3);
-
- if (vx >= 0.0) {
- set_drag_size(PART:"img.knob", sx, 1.0);
- set_drag(PART:"img.knob", vx, 0.0);
- run_program(PROGRAM:"show");
- } else
- run_program(PROGRAM:"hide");
-
- hide_timer_stop();
- hide_timer_start();
- }
- }
-
- public update_drag_pos() {
- new Float:x, Float:y;
- get_drag(PART:"img.knob", x, y);
- send_message(MSG_FLOAT, 1, x);
- }
- }
-
- parts {
- part {
- name: "rect.base";
- type: RECT;
- description {
- state: "default" 0.0;
- min: 0 10;
- max: 999999 10;
- align: 0.5 1.0;
- color: 255 255 255 0;
- }
- }
-
- part {
- name: "rect.clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- description {
- state: "hidden" 0.0;
- color: 255 255 255 64;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- }
-
- part {
- name: "img.scrollbar";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 30 1;
- max: 999999 1;
- align: 0.5 0.5;
- image {
- normal: "widget/scrollbar/scrollbar_h.png";
- border: 15 15 0 0;
- middle: SOLID;
- }
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- }
-
-
- part {
- name: "rect.knobarea";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- min: 5 5;
- max: 999999 5;
- align: 0.5 0.5;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- }
- }
-
- part {
- name: "img.knob";
- type: IMAGE;
- mouse_events: 1;
- clip_to: "rect.clipper";
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "rect.knobarea";
- }
- description {
- state: "default" 0.0;
- min: 5 5;
- max: 999999 5;
- image {
- normal: "widget/scrollbar/scrollbar_knob_h.png";
- border: 3 3 3 3;
- middle: SOLID;
- }
- }
- }
- }
- programs {
- program {
- name: "load";
- signal: "load";
- action: STATE_SET "hidden" 0.0;
- target: "rect.clipper";
- }
- program {
- name: "hide";
- action: STATE_SET "hidden" 0.0;
- transition: ACCELERATE 0.5;
- target: "rect.clipper";
- }
-
- program {
- name: "show";
- action: STATE_SET "default" 0.0;
- target: "rect.clipper";
- }
-
- program {
- name: "dragged";
- signal: "drag";
- source: "img.knob";
- script {
- update_drag_pos();
- }
- }
- }
-}
diff --git a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.png b/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.png
deleted file mode 100644
index 6703ea8..0000000
--- a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.png b/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.png
deleted file mode 100644
index b64d5ce..0000000
--- a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.png b/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.png
deleted file mode 100644
index 9aa37ec..0000000
--- a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.png b/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.png
deleted file mode 100644
index 364be0a..0000000
--- a/WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button.png b/WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button.png
deleted file mode 100644
index d496599..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button2.png b/WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button2.png
deleted file mode 100644
index 3120cfb..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/cancel/cancel_normal_button2.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/cancel/search_cancel.edc b/WebKit/efl/DefaultTheme/widget/search/cancel/search_cancel.edc
deleted file mode 100644
index d4a1a20..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/cancel/search_cancel.edc
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "webkit/widget/search/cancel_button";
- alias: "webkit/widget/search/results_button"; // TODO
-
- images {
- image: "widget/search/cancel/cancel_normal_button2.png" COMP;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"cancel_button", "default", 0.0);
- if (get_int(isFocused) == 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);
- }
- }
-
- parts {
- part {
- name: "cancel_button";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 21 20;
- rel1.offset: 0 -6;
- rel2.offset: -1 0;
- image {
- normal: "widget/search/cancel/cancel_normal_button2.png";
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 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;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
-}
diff --git a/WebKit/efl/DefaultTheme/widget/search/decoration/decoration_normal_button.png b/WebKit/efl/DefaultTheme/widget/search/decoration/decoration_normal_button.png
deleted file mode 100644
index 6e7f418..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/decoration/decoration_normal_button.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/decoration/search_decoration.edc b/WebKit/efl/DefaultTheme/widget/search/decoration/search_decoration.edc
deleted file mode 100644
index 4159138..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/decoration/search_decoration.edc
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "webkit/widget/search/decoration";
- alias: "webkit/widget/search/results_decoration"; //TODO
-
- images {
- image: "widget/search/decoration/decoration_normal_button.png" COMP;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"decoration", "default", 0.0);
- if (get_int(isFocused) == 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);
- }
- }
-
- parts {
- part {
- name: "decoration";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 20 20;
- rel1.offset: 0 -4;
- rel2.offset: -1 0;
- image {
- normal: "widget/search/decoration/decoration_normal_button.png";
- border: 0 0 8 8;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 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;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
-}
diff --git a/WebKit/efl/DefaultTheme/widget/search/field/field_focused.png b/WebKit/efl/DefaultTheme/widget/search/field/field_focused.png
deleted file mode 100644
index f4b17a9..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/field/field_focused.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/field/field_hovered.png b/WebKit/efl/DefaultTheme/widget/search/field/field_hovered.png
deleted file mode 100644
index f4b17a9..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/field/field_hovered.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/field/field_normal.png b/WebKit/efl/DefaultTheme/widget/search/field/field_normal.png
deleted file mode 100644
index 88d53f4..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/field/field_normal.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/search/field/search_field.edc b/WebKit/efl/DefaultTheme/widget/search/field/search_field.edc
deleted file mode 100644
index e9be229..0000000
--- a/WebKit/efl/DefaultTheme/widget/search/field/search_field.edc
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "webkit/widget/search/field";
-
- 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 isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
- if (get_int(isEnabled) == 1) {
- set_state(PART:"search_field", "default", 0.0);
- if (get_int(isFocused) == 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);
- }
- }
-
- parts {
- part {
- name: "search_field";
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 89 20;
- image {
- normal: "widget/search/field/field_normal.png";
- border: 8 8 8 8;
- }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 150;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "widget/search/field/field_focused.png";
- border: 8 8 8 8;
- }
- }
- 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;
- }
- }
-
- part {
- name: "text_confinement";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 4 6; // <- 6 because of the blink cursor
- rel2.offset: -4 -5; // <- due to the image
- }
- }
-
- }
-
- programs {
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
- }
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider.edc b/WebKit/efl/DefaultTheme/widget/slider/slider.edc
deleted file mode 100644
index 9e339e5..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider.edc
+++ /dev/null
@@ -1,491 +0,0 @@
-/*
- Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
- Copyright (C) 2009,2010 ProFUSION embedded systems
- Copyright (C) 2009,2010 Samsung Electronics
-
- This file is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This file is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-group {
- name: "webkit/widget/slider/vertical";
-
- min: 11 0; /* if > 0, this is the minimum size that will be allocated.
- * If wants to draw on top, just overflow usign edje's rel1/rel2
- */
- max: 11 999999;
-
- images {
- image: "widget/slider/slider_v.png" COMP;
- image: "widget/slider/slider_knob_v.png" COMP;
- image: "widget/slider/slider_knob_press_v.png" COMP;
- image: "widget/slider/slider_fill_v.png" COMP;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
-
- if (get_int(isEnabled) == 1) {
- set_state(PART:"img.knob", "default", 0.0);
- if (get_int(isFocused) == 1) {
- set_state(PART:"img.knob", "pressed", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"img.knob", "pressed", 0.0);
- }
- else if (get_int(isHovered) == 1) {
- set_state(PART:"img.knob", "pressed", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"img.knob", "pressed", 0.0);
- }
- }
- else
- set_state(PART:"img.knob", "default", 0.0);
- }
-
- public message(Msg_Type:type, id, ...) {
- if ((id == 0) && (type == MSG_FLOAT_SET)) {
- new Float:vy, Float:sy;
-
- vy = getfarg(2);
- sy = getfarg(3);
-
- if (vy >= 0.0) {
- set_drag_size(PART:"img.knob", 1.0, sy);
- set_drag(PART:"img.knob", 0.0, vy);
- run_program(PROGRAM:"show");
- } else
- run_program(PROGRAM:"hide");
- }
- }
-
- public update_drag_pos() {
- new Float:x, Float:y;
- get_drag(PART:"img.knob", x, y);
- send_message(MSG_FLOAT, 1, y);
- }
- }
-
- parts {
- part {
- name: "rect.base";
- type: RECT;
- description {
- min: 11 29;
- max: 11 999999;
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part {
- name: "rect.clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- color: 255 255 255 128;
- }
- }
-
- part {
- name: "img.slider";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 5 29;
- max: 5 999999;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- image {
- normal: "widget/slider/slider_v.png";
- border: 0 0 5 5;
- }
- }
- }
-
- part {
- name: "img.slider_fill";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 5 29;
- max: 5 999999;
- rel1.to: "img.knob";
- rel2.to: "rect.base";
- align: 0.5 0.5;
- image {
- normal: "widget/slider/slider_fill_v.png";
- border: 0 0 5 5;
- }
- }
- }
-
- part {
- name: "img.knob";
- type: IMAGE;
- mouse_events: 1;
- clip_to: "rect.clipper";
- dragable {
- x: 0 0 0;
- y: 1 1 1;
- confine: "rect.base";
- }
- description {
- state: "default" 0.0;
- min: 11 29;
- align: 0.5 0.5;
- image {
- normal: "widget/slider/slider_knob_v.png";
- border: 0 0 6 6;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "widget/slider/slider_knob_press_v.png";
- }
- }
- }
- programs {
- program {
- name: "load";
- signal: "load";
- action: STATE_SET "hidden" 0.0;
- target: "rect.clipper";
- }
- program {
- name: "hide";
- action: STATE_SET "hidden" 0.0;
- transition: ACCELERATE 0.5;
- target: "rect.clipper";
- }
-
- program {
- name: "show";
- action: STATE_SET "default" 0.0;
- target: "rect.clipper";
- }
-
- program {
- name: "dragged";
- signal: "drag";
- source: "img.knob";
- script {
- update_drag_pos();
- }
- }
-
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "checked";
- signal: "checked";
- script {
- set_int(isChecked, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
-}
-
-group {
- name: "webkit/widget/slider/horizontal";
-
- min: 0 11; /* if > 0, this is the minimum size that will be allocated.
- * If wants to draw on top, just overflow usign edje's rel1/rel2
- */
- max: 999999 11;
-
- images {
- image: "widget/slider/slider_h.png" COMP;
- image: "widget/slider/slider_knob_h.png" COMP;
- image: "widget/slider/slider_knob_press_h.png" COMP;
- image: "widget/slider/slider_fill_h.png" COMP;
- }
-
- script {
- public isEnabled;
- public isPressed;
- public isChecked;
- public isFocused;
- public isHovered;
-
- public show() {
-
- if (get_int(isEnabled) == 1) {
- set_state(PART:"img.knob", "default", 0.0);
- if (get_int(isFocused) == 1) {
- set_state(PART:"img.knob", "pressed", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"img.knob", "pressed", 0.0);
- }
- else if (get_int(isHovered) == 1) {
- set_state(PART:"img.knob", "pressed", 0.0);
- if (get_int(isPressed) == 1)
- set_state(PART:"img.knob", "pressed", 0.0);
- }
- }
- else
- set_state(PART:"img.knob", "default", 0.0);
- }
-
- public message(Msg_Type:type, id, ...) {
- if ((id == 0) && (type == MSG_FLOAT_SET)) {
- new Float:vx, Float:sx;
-
- vx = getfarg(2);
- sx = getfarg(3);
-
- if (vx >= 0.0) {
- set_drag_size(PART:"img.knob", sx, 1.0);
- set_drag(PART:"img.knob", vx, 0.0);
- run_program(PROGRAM:"show");
- } else
- run_program(PROGRAM:"hide");
- }
- }
-
- public update_drag_pos() {
- new Float:x, Float:y;
- get_drag(PART:"img.knob", x, y);
- send_message(MSG_FLOAT, 1, x);
- }
- }
-
- parts {
- part {
- name: "rect.base";
- type: RECT;
- description {
- state: "default" 0.0;
- min: 29 11;
- max: 999999 11;
- color: 255 255 255 0;
- }
- }
- part {
- name: "rect.clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "hidden" 0.0;
- color: 255 255 255 128;
- }
- }
-
- part {
- name: "img.slider";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 29 5;
- max: 999999 5;
- rel1.to: "rect.base";
- rel2.to: "rect.base";
- align: 0.5 0.5;
- image {
- normal: "widget/slider/slider_h.png";
- border: 5 5 0 0;
- }
- }
- }
-
- part {
- name: "img.slider_fill";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "rect.clipper";
- description {
- state: "default" 0.0;
- min: 29 5;
- max: 999999 5;
- rel1.to: "rect.base";
- rel2.to: "img.knob";
- align: 0.5 0.5;
- image {
- normal: "widget/slider/slider_fill_h.png";
- border: 5 5 0 0;
- }
- }
- }
-
- part {
- name: "img.knob";
- type: IMAGE;
- mouse_events: 1;
- clip_to: "rect.clipper";
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "rect.base";
- }
- description {
- state: "default" 0.0;
- min: 29 11;
- align: 0.5 0.5;
- image {
- normal: "widget/slider/slider_knob_h.png";
- border: 6 6 0 0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "widget/slider/slider_knob_press_h.png";
- }
- }
- }
- programs {
- program {
- name: "load";
- signal: "load";
- action: STATE_SET "hidden" 0.0;
- target: "rect.clipper";
- }
- program {
- name: "hide";
- action: STATE_SET "hidden" 0.0;
- transition: ACCELERATE 0.5;
- target: "rect.clipper";
- }
-
- program {
- name: "show";
- action: STATE_SET "default" 0.0;
- target: "rect.clipper";
- }
-
- program {
- name: "dragged";
- signal: "drag";
- source: "img.knob";
- script {
- update_drag_pos();
- }
- }
-
- program {
- name: "enabled";
- signal: "enabled";
- script {
- set_int(isEnabled, 1);
- show();
- }
- }
- program {
- name: "pressed";
- signal: "pressed";
- script {
- set_int(isPressed, 1);
- show();
- }
- }
- program {
- name: "checked";
- signal: "checked";
- script {
- set_int(isChecked, 1);
- show();
- }
- }
- program {
- name: "focused";
- signal: "focused";
- script {
- set_int(isFocused, 1);
- show();
- }
- }
- 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(isChecked, 0);
- set_int(isFocused, 0);
- set_int(isHovered, 0);
- show();
- }
- }
- }
-}
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_fill_h.png b/WebKit/efl/DefaultTheme/widget/slider/slider_fill_h.png
deleted file mode 100644
index abe9d2c..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_fill_h.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_fill_v.png b/WebKit/efl/DefaultTheme/widget/slider/slider_fill_v.png
deleted file mode 100644
index 5184cad..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_fill_v.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_h.png b/WebKit/efl/DefaultTheme/widget/slider/slider_h.png
deleted file mode 100644
index befd4a0..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_h.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png b/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png
deleted file mode 100644
index 22454af..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png b/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png
deleted file mode 100644
index 1421cd8..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png b/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png
deleted file mode 100644
index 293813c..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png b/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png
deleted file mode 100644
index 051f3c3..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png
+++ /dev/null
Binary files differ
diff --git a/WebKit/efl/DefaultTheme/widget/slider/slider_v.png b/WebKit/efl/DefaultTheme/widget/slider/slider_v.png
deleted file mode 100644
index 7243929..0000000
--- a/WebKit/efl/DefaultTheme/widget/slider/slider_v.png
+++ /dev/null
Binary files differ