Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_about.edc default_button.edc default_check.edc default_configure.edc default_error.edc default_fileman.edc default_radio.edc default_theme_about.edc Log Message: config dialogs now can enable/disable widgets and dialog buttons. ok and apply are disabeld until a change is made - then they get enabled until u apply (or ok) then they disable again until u change things again etc. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_about.edc,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- default_about.edc 20 Sep 2005 11:02:48 -0000 1.5 +++ default_about.edc 16 Oct 2005 07:32:11 -0000 1.6 @@ -1,7 +1,7 @@ images { image: "e17_menu_bg_border.png" COMP; - image: "e17_button2.png" COMP; - image: "e17_button.png" COMP; + image: "e17_button_sm.png" COMP; + image: "e17_button_sm2.png" COMP; image: "e17_dialog_watermark.png" COMP; image: "e17_about_bg_v.png" COMP; image: "e17_about_over_v.png" COMP; @@ -486,7 +486,7 @@ offset: 0 -7; } image { - normal: "e17_button.png"; + normal: "e17_button_sm.png"; border: 8 8 8 8; } } @@ -494,7 +494,7 @@ state: "clicked" 0.0; inherit: "default" 0.0; image { - normal: "e17_button2.png"; + normal: "e17_button_sm2.png"; } } } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_button.edc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- default_button.edc 14 Oct 2005 01:10:50 -0000 1.3 +++ default_button.edc 16 Oct 2005 07:32:11 -0000 1.4 @@ -1,6 +1,7 @@ images { - image: "e17_button2.png" COMP; - image: "e17_button.png" COMP; + image: "e17_button_sm.png" COMP; + image: "e17_button_sm2.png" COMP; + image: "e17_button_sm_disabled.png" COMP; image: "e17_titlebar_glint1.png" COMP; image: "e17_titlebar_glint2.png" COMP; image: "e17_titlebar_glint3.png" COMP; @@ -18,7 +19,7 @@ state: "default" 0.0; min: 56 16; image { - normal: "e17_button.png"; + normal: "e17_button_sm.png"; border: 8 8 8 8; } } @@ -26,9 +27,37 @@ state: "clicked" 0.0; inherit: "default" 0.0; image { - normal: "e17_button2.png"; + normal: "e17_button_sm2.png"; } } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { + name: "button_image2"; + type: IMAGE; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + } + image { + normal: "e17_button_sm_disabled.png"; + } + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + } } part { name: "icon_swallow"; @@ -95,6 +124,12 @@ align: 0.5 0.5; } } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 255 255 255 64; + } } part { name: "glint_clip"; @@ -372,5 +407,23 @@ transition: ACCELERATE 0.5; target: "focus"; } + program { + name: "disable"; + signal: "disabled"; + source: ""; + action: STATE_SET "disabled" 0.0; + target: "button_image"; + target: "button_image2"; + target: "label"; + } + program { + name: "enable"; + signal: "enabled"; + source: ""; + action: STATE_SET "default" 0.0; + target: "button_image"; + target: "button_image2"; + target: "label"; + } } } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_check.edc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- default_check.edc 14 Oct 2005 01:10:50 -0000 1.4 +++ default_check.edc 16 Oct 2005 07:32:11 -0000 1.5 @@ -1,4 +1,5 @@ images { + image: "e17_menu_check0.png" COMP; image: "e17_menu_check1.png" COMP; image: "e17_menu_check2.png" COMP; image: "focus.png" COMP; @@ -27,6 +28,13 @@ normal: "e17_menu_check1.png"; } } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "e17_menu_check0.png"; + } + } } part { name: "item1"; @@ -81,6 +89,12 @@ align: 0.0 0.5; } } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 255 255 255 64; + } } part { name: "event"; @@ -89,6 +103,11 @@ state: "default" 0.0; color: 0 0 0 0; } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } part { name: "focus"; @@ -164,5 +183,23 @@ transition: ACCELERATE 0.5; target: "focus"; } + program { + name: "disable"; + signal: "disabled"; + source: ""; + action: STATE_SET "disabled" 0.0; + target: "outline"; + target: "event"; + target: "label"; + } + program { + name: "enable"; + signal: "enabled"; + source: ""; + action: STATE_SET "default" 0.0; + target: "outline"; + target: "event"; + target: "label"; + } } } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_configure.edc,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- default_configure.edc 20 Sep 2005 16:12:13 -0000 1.8 +++ default_configure.edc 16 Oct 2005 07:32:11 -0000 1.9 @@ -1,7 +1,5 @@ images { image: "e17_menu_bg_border.png" COMP; - image: "e17_button2.png" COMP; - image: "e17_button.png" COMP; image: "e17_dialog_watermark.png" COMP; image: "e17_ibar_bg_v.png" COMP; image: "e17_about_over_v.png" COMP; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_error.edc,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- default_error.edc 19 Sep 2005 06:55:35 -0000 1.7 +++ default_error.edc 16 Oct 2005 07:32:11 -0000 1.8 @@ -1,7 +1,7 @@ images { image: "e17_logo.png" COMP; - image: "e17_button2.png" COMP; - image: "e17_button.png" COMP; + image: "e17_button_sm.png" COMP; + image: "e17_button_sm2.png" COMP; } styles @@ -171,7 +171,7 @@ offset: -1 -17; } image { - normal: "e17_button.png"; + normal: "e17_button_sm.png"; border: 8 8 8 8; } } @@ -188,7 +188,7 @@ offset: -1 -17; } image { - normal: "e17_button2.png"; + normal: "e17_button_sm2.png"; border: 8 8 8 8; } } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_fileman.edc,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- default_fileman.edc 14 Oct 2005 12:02:52 -0000 1.10 +++ default_fileman.edc 16 Oct 2005 07:32:11 -0000 1.11 @@ -116,8 +116,6 @@ image: "e17_button_detail_view.png" COMP; image: "e17_fileman_rubberband.png" COMP; image: "e17_menu_bg_border.png" COMP; - image: "e17_button2.png" COMP; - image: "e17_button.png" COMP; image: "e17_logo.png" COMP; } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_radio.edc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- default_radio.edc 14 Oct 2005 01:10:50 -0000 1.4 +++ default_radio.edc 16 Oct 2005 07:32:11 -0000 1.5 @@ -1,4 +1,5 @@ images { + image: "e17_menu_radio0.png" COMP; image: "e17_menu_radio1.png" COMP; image: "e17_menu_radio2.png" COMP; image: "focus.png" COMP; @@ -27,6 +28,13 @@ normal: "e17_menu_radio1.png"; } } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + image { + normal: "e17_menu_check0.png"; + } + } } part { name: "item1"; @@ -81,6 +89,12 @@ align: 0.0 0.5; } } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color: 0 0 0 128; + color3: 255 255 255 64; + } } part { name: "event"; @@ -89,6 +103,11 @@ state: "default" 0.0; color: 0 0 0 0; } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } part { name: "focus"; @@ -157,5 +176,23 @@ transition: ACCELERATE 0.5; target: "focus"; } + program { + name: "disable"; + signal: "disabled"; + source: ""; + action: STATE_SET "disabled" 0.0; + target: "outline"; + target: "event"; + target: "label"; + } + program { + name: "enable"; + signal: "enabled"; + source: ""; + action: STATE_SET "default" 0.0; + target: "outline"; + target: "event"; + target: "label"; + } } } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_theme_about.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- default_theme_about.edc 22 Sep 2005 08:43:26 -0000 1.2 +++ default_theme_about.edc 16 Oct 2005 07:32:11 -0000 1.3 @@ -1,6 +1,6 @@ images { - image: "e17_button2.png" COMP; - image: "e17_button.png" COMP; + image: "e17_button_sm.png" COMP; + image: "e17_button_sm2.png" COMP; image: "e17_logo.png" COMP; image: "e17_about_sky0.png" LOSSY 70; image: "e17_about_sky1.png" LOSSY 70; @@ -262,7 +262,7 @@ offset: -7 -7; } image { - normal: "e17_button.png"; + normal: "e17_button_sm.png"; border: 8 8 8 8; } } @@ -270,7 +270,7 @@ state: "clicked" 0.0; inherit: "default" 0.0; image { - normal: "e17_button2.png"; + normal: "e17_button_sm2.png"; } } } ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs