summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2017-03-29 09:51:25 (GMT)
committerSungtaek Hong <sth253.hong@samsung.com>2017-04-03 06:24:19 (GMT)
commit6f6410fe128708028d1ef22f26f6b31c0ed4c916 (patch)
treeb12d8f145d49048c0e6405c76e5552e716aff02e
parenta75e9c440ce22d816dcaa21226b91f5dba18b587 (diff)
downloadefl-theme-tizen-mobile-6f6410fe128708028d1ef22f26f6b31c0ed4c916.zip
efl-theme-tizen-mobile-6f6410fe128708028d1ef22f26f6b31c0ed4c916.tar.gz
efl-theme-tizen-mobile-6f6410fe128708028d1ef22f26f6b31c0ed4c916.tar.bz2
Genlist: merge csharp genlist styles to defaultrefs/changes/97/121897/5
Change-Id: I07b3b5fa5915f8cda53705529c922d75e44ac3df Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
-rw-r--r--mobile/color_classes_csharp.edc15
-rw-r--r--mobile/elm-sharp-theme-mobile.edc1
-rw-r--r--mobile/widgets_csharp/genlist.edc208
3 files changed, 0 insertions, 224 deletions
diff --git a/mobile/color_classes_csharp.edc b/mobile/color_classes_csharp.edc
index 5b7d241..f7fb522 100644
--- a/mobile/color_classes_csharp.edc
+++ b/mobile/color_classes_csharp.edc
@@ -108,21 +108,6 @@ color_classes {
color: 0 0 0 77;
}
/*
- * Genlist
- */
- color_class { "genlist_item/full/bg";
- color: 0 0 0 0;
- }
- color_class { "genlist_item/full/bg_pressed";
- color: 0 0 0 10;
- }
- color_class { "genlist_item/full/bg_disabled";
- color: 0 0 0 0;
- }
- color_class { "genlist_item/full/bottomline";
- color: 204 204 204 255;
- }
- /*
* Label
*/
color_class {
diff --git a/mobile/elm-sharp-theme-mobile.edc b/mobile/elm-sharp-theme-mobile.edc
index 42631a6..cb9ea4a 100644
--- a/mobile/elm-sharp-theme-mobile.edc
+++ b/mobile/elm-sharp-theme-mobile.edc
@@ -84,7 +84,6 @@ collections {
#include "color_classes_csharp.edc"
#include "widgets_csharp/button.edc"
-#include "widgets_csharp/genlist.edc"
#include "widgets_csharp/label.edc"
#include "widgets_csharp/radio.edc"
#include "widgets_csharp/layout.edc"
diff --git a/mobile/widgets_csharp/genlist.edc b/mobile/widgets_csharp/genlist.edc
deleted file mode 100644
index 64399f6..0000000
--- a/mobile/widgets_csharp/genlist.edc
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
- * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#define LIST_PROGRAM_SOUND \
- program { name: "play_sound"; \
- signal: "elm,state,clicked"; \
- source: "elm"; \
- script { \
- run_program(PROGRAM:"touch_sound"); \
- } \
- } \
- program { name: "touch_sound"; \
- action: RUN_PLUGIN "touch_sound"; \
- }
-
-group { "elm/genlist/item/event/default"
- inherit_only: 1;
- parts {
- rect { "event"; nomouse; repeat; scale;
- desc { "default";
- color: 0 0 0 0;
- rel.to: "base";
- }
- desc { "disabled";
- inherit: "default";
- hid;
- }
- }
- }
- programs {
- /* Program for enabled event */
- program { "enabled";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default";
- target: "event";
- after: "on_enabled";
- }
- /* Program for disabled event */
- program { "disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled";
- target: "event";
- after: "on_disabled";
- }
- program { "enable_event_pass";
- signal: "elm,event,pass,enabled";
- source: "elm";
- script {
- set_mouse_events(PART:"event", 0);
- }
- }
- program { "disable_event_pass";
- signal: "elm,event,pass,disabled";
- source:"elm";
- script {
- set_mouse_events(PART:"event", 1);
- }
- }
- program { "enable_event_repeat";
- signal: "elm,event,repeat,enabled";
- source: "elm";
- script {
- set_repeat_events(PART:"event", 1);
- }
- }
- program { "disable_event_repeat";
- signal: "elm,event,repeat,disabled";
- source:"elm";
- script {
- set_repeat_events(PART:"event", 0);
- }
- }
- }
-}
-
-group { "elm/genlist/item/full/default";
- alias: "elm/genlist/item_compress/full/default";
- alias: "elm/genlist/tree/full/default";
- alias: "elm/genlist/tree_compress/full/default";
- inherit: "elm/genlist/item/event/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "contents" "elm.swallow.content";
-
- parts {
- spacer { "base"; scale;
- desc { "default";
- }
- }
-
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "base";
- }
- }
- rect { "bg"; scale;
- desc { "default";
- rel.to: "elm.swallow.bg";
- color_class: "genlist_item/full/bg";
- }
- desc { "pressed"; inherit: "default";
- color_class: "genlist_item/full/bg";
- }
- desc { "disabled"; inherit: "default";
- color_class: "genlist_item/full/bg";
- }
- }
- swallow { "elm.swallow.content"; scale;
- desc { "default";
- rel1 { to: "bg"; relative: 0.0 0.0; }
- rel2 { to: "bg"; relative: 1.0 1.0; }
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- vis;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- fixed: 0 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color_class: "genlist_item/full/bottomline";
- }
- desc { "hidden"; inherit: "default";
- hid;
- }
- }
- rect { "event";
- after: "elm.bottomline";
- desc { "default";
- rel.to: "base";
- }
- desc { "disabled";
- inherit: "default";
- hid;
- }
- }
- }
- programs {
- LIST_PROGRAM_SOUND
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden";
- target: "elm.bottomline";
- }
- program {
- signal: "elm,state,elm.swallow.bg,hidden";
- source: "elm";
- action: STATE_SET "default";
- target: "elm.bottomline";
- }
- program { "default";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default";
- target: "bg";
- target: "elm.bottomline";
- target: "event";
- }
- program { "pressed";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "pressed";
- target: "bg";
- }
- program { "unpressed";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default";
- target: "bg";
- }
- program { "on_enabled";
- action: STATE_SET "default";
- target: "bg";
- }
- program { "on_disabled";
- action: STATE_SET "disabled";
- target: "bg";
- }
- }
-}