libwwc.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. #ifndef _WONX_SYS_LIBWWC_H_
  2. #define _WONX_SYS_LIBWWC_H_
  3. #include "service.h"
  4. /*****************************************************************************/
  5. /* 年眶の年盗 */
  6. /*****************************************************************************/
  7. #define COLOR_MODE_GRAYSCALE 0x00
  8. #define COLOR_MODE_4COLOR 0x80
  9. #define COLOR_MODE_16COLOR 0xC0
  10. #define COLOR_MODE_16PACKED 0xE0
  11. #define HARDARCH_WS 0
  12. #define HARDARCH_WSC 1
  13. /*****************************************************************************/
  14. /* 高垂簇眶の离咐 */
  15. /*****************************************************************************/
  16. unsigned int wwc_set_color_mode(unsigned int mode);
  17. unsigned int wwc_get_color_mode(void);
  18. void wwc_palette_set_color(unsigned int palette_num, unsigned int color_num, unsigned int rgb);
  19. unsigned int wwc_palette_get_color(unsigned int palette_num, unsigned int color_num);
  20. void wwc_font_set_colordata(unsigned int number, unsigned int count, unsigned char * data);
  21. void wwc_font_get_colordata(unsigned int number, unsigned int count, unsigned char * data);
  22. unsigned int wwc_get_hardarch(void);
  23. void wwc_clear_font(void);
  24. #endif