Merge branch '2888_cleanup'
[midnight-commander.git] / lib / skin / internal.h
blobcb02bf7e4e43bc51e87fa6569a2c4b3cccf724dd
1 #ifndef MC__SKIN_INTERNAL_H
2 #define MC__SKIN_INTERNAL_H
4 #include "lib/global.h"
5 #include "lib/skin.h"
7 /*** typedefs(not structures) and defined constants **********************************************/
9 /*** enums ***************************************************************************************/
11 /*** structures declarations (and typedefs of structures)*****************************************/
13 typedef struct mc_skin_color_struct
15 gchar *fgcolor;
16 gchar *bgcolor;
17 gchar *attrs;
18 int pair_index;
19 } mc_skin_color_t;
21 /*** global variables defined in .c file *********************************************************/
23 extern mc_skin_t mc_skin__default;
25 /*** declarations of public functions ************************************************************/
27 gboolean mc_skin_ini_file_load (mc_skin_t *);
28 gboolean mc_skin_ini_file_parse (mc_skin_t *);
29 void mc_skin_set_hardcoded_skin (mc_skin_t *);
31 gboolean mc_skin_ini_file_parse_colors (mc_skin_t *);
32 gboolean mc_skin_color_parse_ini_file (mc_skin_t *);
34 void mc_skin_hardcoded_ugly_lines (mc_skin_t *);
35 void mc_skin_hardcoded_space_lines (mc_skin_t *);
36 void mc_skin_hardcoded_blackwhite_colors (mc_skin_t *);
38 void mc_skin_colors_old_configure (mc_skin_t *);
40 /*** inline functions ****************************************************************************/
42 #endif /* MC__SKIN_INTERNAL_H */