internal.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. {
  10. gchar *fgcolor;
  11. gchar *bgcolor;
  12. gchar *attrs;
  13. int pair_index;
  14. } mc_skin_color_t;
  15. /*** global variables defined in .c file *********************************************************/
  16. extern mc_skin_t mc_skin__default;
  17. /*** declarations of public functions ************************************************************/
  18. gboolean mc_skin_ini_file_load (mc_skin_t *);
  19. gboolean mc_skin_ini_file_parse (mc_skin_t *);
  20. void mc_skin_set_hardcoded_skin (mc_skin_t *);
  21. gboolean mc_skin_ini_file_parse_colors (mc_skin_t *);
  22. gboolean mc_skin_color_parse_ini_file (mc_skin_t *);
  23. void mc_skin_hardcoded_ugly_lines (mc_skin_t *);
  24. void mc_skin_hardcoded_space_lines (mc_skin_t *);
  25. void mc_skin_hardcoded_blackwhite_colors (mc_skin_t *);
  26. void mc_skin_colors_old_configure (mc_skin_t *);
  27. /*** inline functions ****************************************************************************/
  28. #endif /* MC__SKIN_INTERNAL_H */