summaryrefslogtreecommitdiffstats
path: root/lib/skin/internal.h
blob: 8b468db318c96c05defb840ca1e77d6c32a731bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef MC__SKIN_INTERNAL_H
#define MC__SKIN_INTERNAL_H

#include "lib/global.h"
#include "lib/skin.h"

/*** typedefs(not structures) and defined constants **********************************************/

/*** enums ***************************************************************************************/

/*** structures declarations (and typedefs of structures)*****************************************/

typedef struct mc_skin_color_struct
{
    gchar *fgcolor;
    gchar *bgcolor;
    gchar *attrs;
    int pair_index;
} mc_skin_color_t;

/*** global variables defined in .c file *********************************************************/

/*** declarations of public functions ************************************************************/

gboolean mc_skin_ini_file_load (mc_skin_t * mc_skin);
gboolean mc_skin_ini_file_parse (mc_skin_t * mc_skin);
void mc_skin_set_hardcoded_skin (mc_skin_t * mc_skin);

gboolean mc_skin_ini_file_parse_colors (mc_skin_t * mc_skin);
gboolean mc_skin_color_parse_ini_file (mc_skin_t * mc_skin);

void mc_skin_hardcoded_ugly_lines (mc_skin_t * mc_skin);
void mc_skin_hardcoded_space_lines (mc_skin_t * mc_skin);
void mc_skin_hardcoded_blackwhite_colors (mc_skin_t * mc_skin);

void mc_skin_colors_old_configure (mc_skin_t * mc_skin);

/*** inline functions ****************************************************************************/

#endif /* MC__SKIN_INTERNAL_H */