1 /*************************************************************************** 2 theme.h - description 3 ------------------- 4 begin : Fri Feb 15 2002 5 copyright : (C) 2001 by Michael Speck 6 email : kulkanie@gmx.net 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef __THEME_H 19 #define __THEME_H 20 21 /* 22 ==================================================================== 23 Get/delete names of all themes found in themes directory. 24 ==================================================================== 25 */ 26 void theme_get_list(); 27 void theme_delete_list(); 28 29 /* 30 ==================================================================== 31 Load theme by name or delete current theme (is done by load too 32 so it might be used to change a theme as well.) 33 ==================================================================== 34 */ 35 void theme_load( char *name ); 36 void theme_delete(); 37 38 /* 39 ==================================================================== 40 Check if there is a file ABOUT in the theme directory and return 41 it's contents up to limit characters. 42 If this file isn't found 'NO INFO' is set. 43 ==================================================================== 44 */ 45 void theme_get_info( char *name, char *text, int limit ); 46 47 #endif 48