From: <enl...@li...> - 2004-01-01 02:43:56
|
Enlightenment CVS committal Author : xcomputerman Project : e17 Module : apps/entrance Dir : e17/apps/entrance/data/themes/taillights/programs Modified Files: confirmation_dialog_programs.edc session_list_area_programs.edc Log Message: Updates to TailLights theme - nicer looking fonts, more transition effects (especially for buttons), translucent confirmation dialogs =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/programs/confirmation_dialog_programs.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- confirmation_dialog_programs.edc 23 Dec 2003 14:07:48 -0000 1.1 +++ confirmation_dialog_programs.edc 1 Jan 2004 02:43:50 -0000 1.2 @@ -1,4 +1,42 @@ - program { +#define BUTTON_ANIM(btn_name, btn_txt) \ + program { \ + name, btn_name"_fade_in"; \ + signal, "mouse,in"; \ + source, btn_name; \ + action, STATE_SET "hilited" 0.0; \ + target, btn_txt; \ + transition, LINEAR 0.3; \ + } \ + program { \ + name, btn_name"_fade_out"; \ + signal, "mouse,out"; \ + source, btn_name; \ + action, STATE_SET "default" 0.0; \ + target, btn_txt; \ + transition, LINEAR 0.3; \ + } \ + program { \ + name, btn_name"_down"; \ + signal, "mouse,down,1"; \ + source, btn_name; \ + action, STATE_SET "pressed" 0.0; \ + target, btn_name; \ + } \ + program { \ + name, btn_name"_up"; \ + signal, "mouse,up,1"; \ + source, btn_name; \ + action, STATE_SET "default" 0.0; \ + target, btn_name; \ + transition, ACCELERATE 0.2; \ + } \ + +BUTTON_ANIM("confirmation_reboot_yes", "reboot_yes_txt") +BUTTON_ANIM("confirmation_reboot_no", "reboot_no_txt") +BUTTON_ANIM("confirmation_halt_yes", "halt_yes_txt") +BUTTON_ANIM("confirmation_halt_no", "halt_no_txt") + + program { name, "reboot_request"; signal, "mouse,clicked,1"; source, "restart_button"; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/programs/session_list_area_programs.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- session_list_area_programs.edc 22 Dec 2003 19:43:10 -0000 1.1 +++ session_list_area_programs.edc 1 Jan 2004 02:43:50 -0000 1.2 @@ -1,6 +1,6 @@ program { name, "show_session_menu"; - signal, "mouse,in"; + signal, "mouse,clicked,1"; source, "session_mouse_area"; action, STATE_SET "visible" 1.0; target, "session_list_clip"; @@ -8,7 +8,6 @@ target, "user_list_clip"; target, "user_list_border"; transition, ACCELERATE 0.5; - in, 0.75 0.6; } program { name, "show_session_description"; |