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"
|
2009-09-14 17:43:03 +04:00
|
|
|
|
|
|
|
#include "skin.h"
|
|
|
|
|
2009-09-04 18:22:49 +04:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
2009-09-14 17:43:03 +04:00
|
|
|
typedef struct mc_skin_color_struct {
|
2009-09-04 18:22:49 +04:00
|
|
|
gchar *fgcolor;
|
|
|
|
gchar *bgcolor;
|
|
|
|
int pair_index;
|
|
|
|
} mc_skin_color_t;
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
extern mc_skin_t mc_skin__default;
|
|
|
|
|
|
|
|
/*** 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
|
|
|
|
2009-09-04 18:22:49 +04:00
|
|
|
#endif
|