internal.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef MC__SKIN_INTERNAL_H
  2. #define MC__SKIN_INTERNAL_H
  3. #include "lib/global.h"
  4. #include "lib/skin.h"
  5. /*** typedefs(not structures) and defined constants **********************************************/
  6. /*** enums ***************************************************************************************/
  7. /*** structures declarations (and typedefs of structures)*****************************************/
  8. typedef struct mc_skin_color_struct {
  9. gchar *fgcolor;
  10. gchar *bgcolor;
  11. int pair_index;
  12. } mc_skin_color_t;
  13. /*** global variables defined in .c file *********************************************************/
  14. extern mc_skin_t mc_skin__default;
  15. /*** declarations of public functions ************************************************************/
  16. gboolean mc_skin_ini_file_load (mc_skin_t *);
  17. gboolean mc_skin_ini_file_parse (mc_skin_t *);
  18. void mc_skin_set_hardcoded_skin (mc_skin_t *);
  19. gboolean mc_skin_ini_file_parse_colors (mc_skin_t *);
  20. gboolean mc_skin_color_parse_ini_file (mc_skin_t *);
  21. void mc_skin_hardcoded_ugly_lines (mc_skin_t *);
  22. void mc_skin_hardcoded_space_lines (mc_skin_t *);
  23. void mc_skin_hardcoded_blackwhite_colors (mc_skin_t *);
  24. void mc_skin_colors_old_configure (mc_skin_t *);
  25. #endif