summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-03-09 13:04:00 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-03-09 13:04:00 +0000
commitd951cb6136e08a8c7e8dc4186340c7fcb1f0e8ae (patch)
tree00143f1e61d9b5c7c22035005d1229f39df72102 /legacy/elementary/data
parentd25bfa12662d04e294162e633fb3e73adcfa5820 (diff)
elemenatry/colorselector - finally first implementation going on
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com) SVN revision: 69100
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/widgets/colorselector.edc131
-rw-r--r--legacy/elementary/data/themes/widgets/index.edc162
2 files changed, 291 insertions, 2 deletions
diff --git a/legacy/elementary/data/themes/widgets/colorselector.edc b/legacy/elementary/data/themes/widgets/colorselector.edc
index fd824be..1573f5b 100644
--- a/legacy/elementary/data/themes/widgets/colorselector.edc
+++ b/legacy/elementary/data/themes/widgets/colorselector.edc
@@ -1,3 +1,66 @@
1///////////////////////////////////////////////////////////////////////////////
2group {
3 name: "elm/colorselector/palette/default";
4 data.item: "horizontal_pad" "10";
5 data.item: "vertical_pad" "10";
6 parts {
7 part { name: "base";
8 type: RECT;
9 scale: 1;
10 mouse_events: 1;
11 description { state: "default" 0.0;
12 visible: 0;
13 align: 0.0 0.0;
14 }
15 }
16 part { name: "palette";
17 type: SWALLOW;
18 scale: 1;
19 mouse_events: 1;
20 description { state: "default" 0.0;
21 align: 0.0 0.0;
22 rel1 {
23 relative: 0.0 0.0;
24 to: "base";
25 }
26 rel2 {
27 relative: 1.0 0.0;
28 to: "base";
29 }
30 }
31 }
32 part{ name: "bottom_padding";
33 type: RECT;
34 scale: 1;
35 description { state: "default" 0.0;
36 visible: 0;
37 min: 0 20;
38 fixed: 0 1;
39 rel1.relative: 0.0 1.0;
40 rel1.to: "palette";
41 rel2.to: "palette";
42 align: 0.0 0.0;
43 }
44 }
45 part { name: "selector";
46 type: SWALLOW;
47 scale: 1;
48 mouse_events: 1;
49 description { state: "default" 0.0;
50 align: 0.0 1.0;
51 rel1 {
52 relative: 0.0 1.0;
53 to: "bottom_padding";
54 }
55 rel2 {
56 relative: 1.0 1.0;
57 to: "base";
58 }
59 }
60 }
61 }
62}
63
1group { name: "elm/colorselector/bg/default"; 64group { name: "elm/colorselector/bg/default";
2 parts { 65 parts {
3 part { name: "elm.colorbar_0"; 66 part { name: "elm.colorbar_0";
@@ -165,8 +228,7 @@ group { name: "elm/colorselector/base/default";
165 type: SWALLOW; 228 type: SWALLOW;
166 mouse_events: 1; 229 mouse_events: 1;
167 scale: 1; 230 scale: 1;
168 description { 231 description { state: "default" 0.0;
169 state: "default" 0.0;
170 min: 24 24; 232 min: 24 24;
171 fixed: 1 1; 233 fixed: 1 1;
172 rel1 { 234 rel1 {
@@ -284,3 +346,68 @@ group { name: "elm/colorselector/arrow/default";
284 } 346 }
285 } 347 }
286} 348}
349
350group { name: "elm/colorselector/item/default";
351 parts {
352 part { name: "color_bg";
353 type: RECT;
354 mouse_events: 1;
355 scale: 1;
356 description { state: "default" 0.0;
357 min: 40 40;
358 }
359 }
360 part { name: "color_obj";
361 type: SWALLOW;
362 mouse_events: 1;
363 scale: 1;
364 description { state: "default" 0.0;
365 rel1.to: "color_bg";
366 rel2.to: "color_bg";
367 }
368 }
369 part { name: "focus_color";
370 mouse_events:1;
371 scale: 1;
372 type: RECT;
373 description { state: "default" 0.0;
374 visible: 0;
375 min: 38 38;
376 rel1.to: "color_bg";
377 rel2.to: "color_bg";
378 color: 255 255 255 80;
379 }
380 description { state: "focused" 0.0;
381 inherit: "default" 0.0;
382 visible: 1;
383 }
384 }
385 }
386 programs {
387 program { name: "item_focus";
388 source: "elm";
389 signal: "elm,state,selected";
390 action: STATE_SET "focused" 0.0;
391 target: "focus_color";
392 }
393 program { name: "item_unfocus";
394 source: "elm";
395 signal: "elm,state,unselected";
396 action: STATE_SET "default" 0.0;
397 target: "focus_color";
398 }
399 }
400}
401
402group { name: "elm/colorselector/item/color/default";
403 parts {
404 part { name: "color_rect";
405 type: RECT;
406 mouse_events: 1;
407 scale: 1;
408 description{ state: "default" 0.0;
409 }
410 }
411 }
412}
413
diff --git a/legacy/elementary/data/themes/widgets/index.edc b/legacy/elementary/data/themes/widgets/index.edc
index 1eaee91..cd156a3 100644
--- a/legacy/elementary/data/themes/widgets/index.edc
+++ b/legacy/elementary/data/themes/widgets/index.edc
@@ -807,3 +807,165 @@ group { name: "elm/index/item_odd/horizontal/default";
807 } 807 }
808} 808}
809 809
810group {
811 name: "elm/index/base/vertical/pagecontrol";
812 alias: "elm/index/base/horizontal/pagecontrol";
813 parts {
814 part { name: "clip";
815 type: RECT;
816 mouse_events: 0;
817 description { state: "default" 0.0;
818 visible: 0;
819 color: 255 255 255 0;
820 }
821 description { state: "active" 0.0;
822 visible: 1;
823 color: 255 255 255 255;
824 }
825 }
826 part {
827 name: "elm.swallow.index.0";
828 type: SWALLOW;
829 scale: 1;
830 clip_to: "clip";
831 description {
832 state: "default" 0.0;
833 align: 0.5 0;
834 rel1.relative: 0 0;
835 rel2.relative: 1 1;
836 }
837 }
838 part { name: "elm.swallow.event.0";
839 type: SWALLOW;
840 description { state: "default" 0.0;
841 align: 0.5 0;
842 fixed: 1 1;
843 rel1 {
844 relative: 0 0.0;
845 offset: 0 0;
846 }
847 rel2 {
848 relative: 1 0.0;
849 offset: -1 -1;
850 }
851 }
852 }
853 }
854 programs {
855 program { name: "active";
856 signal: "elm,state,active";
857 source: "elm";
858 action: STATE_SET "active" 0.0;
859 transition: DECELERATE 0.5;
860 target: "clip";
861 }
862 program { name: "inactive";
863 signal: "elm,state,inactive";
864 source: "elm";
865 action: STATE_SET "default" 0.0;
866 transition: DECELERATE 0.5;
867 target: "clip";
868 }
869 }
870}
871group {
872 name: "elm/index/item/vertical/pagecontrol";
873 alias: "elm/index/item_odd/vertical/pagecontrol";
874 alias: "elm/index/item/horizontal/pagecontrol";
875 alias: "elm/index/item_odd/horizontal/pagecontrol";
876 images {
877 image: "00_mainmenu_page_bar_001.png" COMP;
878 image: "00_mainmenu_page_bar_002.png" COMP;
879 }
880 parts {
881 part {
882 name:"bg";
883 type : RECT;
884 scale: 1;
885 description {
886 state: "default" 0.0;
887 min: 40 40;
888 max: 40 40;
889 align:0.5 0;
890 visible: 0;
891 }
892 }
893 part {
894 name: "indicator";
895 type: IMAGE;
896 mouse_events: 0;
897 scale: 1;
898 description {
899 state: "default" 0.0;
900 min: 20 20;
901 max: 20 20;
902 fixed: 1 1;
903 rel1 { to: "bg"; }
904 rel2 { to: "bg"; }
905 image {
906 normal: "00_mainmenu_page_bar_001.png";
907 }
908 }
909 description {
910 state: "active" 0.0;
911 inherit: "default" 0.0;
912 min: 40 40;
913 max: 40 40;
914 image {
915 normal: "00_mainmenu_page_bar_002.png";
916 }
917 }
918 }
919 part {
920 name: "elm.text";
921 type: TEXT;
922 mouse_events: 0;
923 scale: 1;
924 description {
925 state: "default" 0.0;
926 min: 40 40;
927 max: 40 40;
928 fixed: 1 1;
929 color: 170 170 170 0;
930 text {
931 font: "Sans,Edje-Vera";
932 size: 10;
933 min: 0 1;
934 align: 0.5 0.5;
935 }
936 rel1 { to: "bg"; }
937 rel2 { to: "bg"; }
938 }
939 description {
940 state: "active" 0.0;
941 inherit: "default" 0.0;
942 color: 170 170 170 255;
943 min: 40 40;
944 max: 40 40;
945 text {
946 font: "Sans,Edje-Vera";
947 size: 10;
948 min: 0 1;
949 }
950 }
951 }
952 }
953 programs {
954 program { name: "active";
955 signal: "elm,state,active";
956 source: "elm";
957 action: STATE_SET "active" 0.0;
958 target: "indicator";
959 target: "elm.text";
960 transition: LINEAR 0.2;
961 }
962 program { name: "inactive";
963 signal: "elm,state,inactive";
964 source: "elm";
965 action: STATE_SET "default" 0.0;
966 target: "indicator";
967 target: "elm.text";
968 transition: LINEAR 0.2;
969 }
970 }
971}