internal.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. /*** declarations of public functions ************************************************************/
  17. gboolean mc_skin_ini_file_load (mc_skin_t *);
  18. gboolean mc_skin_ini_file_parse (mc_skin_t *);
  19. void mc_skin_set_hardcoded_skin (mc_skin_t *);
  20. gboolean mc_skin_ini_file_parse_colors (mc_skin_t *);
  21. gboolean mc_skin_color_parse_ini_file (mc_skin_t *);
  22. void mc_skin_hardcoded_ugly_lines (mc_skin_t *);
  23. void mc_skin_hardcoded_space_lines (mc_skin_t *);
  24. void mc_skin_hardcoded_blackwhite_colors (mc_skin_t *);
  25. void mc_skin_colors_old_configure (mc_skin_t *);
  26. /*** inline functions ****************************************************************************/
  27. #endif /* MC__SKIN_INTERNAL_H */