2009-09-04 18:22:49 +04:00
|
|
|
#ifndef MC__SKIN_INTERNAL_H
|
|
|
|
#define MC__SKIN_INTERNAL_H
|
|
|
|
|
2010-01-20 18:11:52 +03:00
|
|
|
#include "lib/global.h"
|
2010-01-21 16:06:15 +03:00
|
|
|
#include "lib/skin.h"
|
2009-09-14 17:43:03 +04:00
|
|
|
|
2009-09-04 18:22:49 +04:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
typedef struct mc_skin_color_struct
|
|
|
|
{
|
2009-09-04 18:22:49 +04:00
|
|
|
gchar *fgcolor;
|
|
|
|
gchar *bgcolor;
|
2010-12-29 12:58:10 +03:00
|
|
|
gchar *attrs;
|
2009-09-04 18:22:49 +04:00
|
|
|
int pair_index;
|
|
|
|
} mc_skin_color_t;
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
|
2009-09-14 17:43:03 +04:00
|
|
|
gboolean mc_skin_ini_file_load (mc_skin_t *);
|
|
|
|
gboolean mc_skin_ini_file_parse (mc_skin_t *);
|
|
|
|
void mc_skin_set_hardcoded_skin (mc_skin_t *);
|
2009-09-04 18:22:49 +04:00
|
|
|
|
2009-09-14 17:43:03 +04:00
|
|
|
gboolean mc_skin_ini_file_parse_colors (mc_skin_t *);
|
|
|
|
gboolean mc_skin_color_parse_ini_file (mc_skin_t *);
|
2009-09-08 19:07:51 +04:00
|
|
|
|
2009-09-14 17:43:03 +04:00
|
|
|
void mc_skin_hardcoded_ugly_lines (mc_skin_t *);
|
|
|
|
void mc_skin_hardcoded_space_lines (mc_skin_t *);
|
|
|
|
void mc_skin_hardcoded_blackwhite_colors (mc_skin_t *);
|
2009-09-08 19:07:51 +04:00
|
|
|
|
2009-09-10 16:14:18 +04:00
|
|
|
void mc_skin_colors_old_configure (mc_skin_t *);
|
2009-09-09 18:56:52 +04:00
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
2010-11-08 21:50:15 +03:00
|
|
|
|
|
|
|
#endif /* MC__SKIN_INTERNAL_H */
|