From: Daniel Caujolle-B. <f1...@us...> - 2002-01-09 00:29:59
|
Update of /cvsroot/xine/xine-ui/src/xitk In directory usw-pr-cvs1:/tmp/cvs-serv27123/src/xitk Modified Files: event.h panel.c skins.c Log Message: Add 'cloudy' skin (thanks to the {AUTHOR} ;-). Add possibility to don't draw the text in a labelbutton (cloudy want that). Add possibility to execute a shell command at skin config file loading and unloading (cloudy need that too (almost)). Index: event.h =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/event.h,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- event.h 2001/12/27 14:39:20 1.29 +++ event.h 2002/01/09 00:29:55 1.30 @@ -39,7 +39,7 @@ #endif #ifdef __GNUC__ -#define xine_error(FMT,ARGS...) xitk_window_dialog_error(gGui->imlib_data, FMT, ##ARGS) +#define xine_error(FMT,ARGS...) {xitk_window_dialog_error(gGui->imlib_data, FMT, ##ARGS);sleep(15);} #define xine_info(FMT,ARGS...) xitk_window_dialog_info(gGui->imlib_data, FMT, ##ARGS) #else /* C99 version: */ #define xine_error(...) xitk_window_dialog_error(gGui->imlib_data, __VA_ARGS__) Index: panel.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/panel.c,v retrieving revision 1.66 retrieving revision 1.67 diff -u -r1.66 -r1.67 --- panel.c 2001/12/27 14:39:20 1.66 +++ panel.c 2002/01/09 00:29:55 1.67 @@ -113,7 +113,7 @@ XLockDisplay(gGui->display); Imlib_destroy_image(gGui->imlib_data, panel->bg_image); - + if(!(panel->bg_image = Imlib_load_image(gGui->imlib_data, xitk_skin_get_skin_filename(gGui->skin_config, "BackGround")))) { Index: skins.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/skins.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- skins.c 2001/12/17 22:30:01 1.10 +++ skins.c 2002/01/09 00:29:55 1.11 @@ -37,6 +37,9 @@ #include <xine.h> #include <xine/xineutils.h> +/* +#define SKIN_DEBUG 1 +*/ #define DEFAULT_SKIN "xinetic" #define SKIN_IFACE_VERSION 1 @@ -95,7 +98,7 @@ memset(&buf, 0, sizeof(buf)); sprintf(buf, "%s/.xine/skins", xine_get_homedir()); - + get_available_skins_from(buf); get_available_skins_from(XINE_SKINDIR); @@ -229,8 +232,9 @@ twice++; goto __reload_skin; } - else + else { exit(-1); + } } /* Check skin version */ @@ -334,8 +338,9 @@ twice++; goto __reload_skin; } - else + else { exit(-1); + } } change_config_entry = 1; |