mms_font.h
Upload User: amanda_214
Upload Date: 2014-04-26
Package Size: 163k
Code Size: 1k
Category:

MMS

Development Platform:

C/C++

  1. #ifndef _MMI_FONT_DEF_H__
  2. #define _MMI_FONT_DEF_H__
  3. #include "sci_types.h"
  4. #ifdef __cplusplus
  5. extern   "C" {
  6. #endif
  7. ///////////////////////////////////////////////////////////////////////////////
  8. // 字库资源的信息
  9. ///////////////////////////////////////////////////////////////////////////////
  10. /*
  11. // 字库的类型
  12. typedef enum _GUI_FONT_T
  13. {
  14. SONG_FONT_8 = 0,
  15. SONG_FONT_10,
  16. SONG_FONT_12,
  17. SONG_FONT_14,
  18. SONG_FONT_16,
  19. ASC_ME_FONT_38,
  20. ARI_NARROW_FONT_29,
  21. GUI_MAX_FONT_NUM,
  22. } GUI_FONT_T;
  23. typedef struct _GUI_FONT_INFO_T
  24. {
  25. GUI_FONT_T   type;          //字库类型
  26. uint32       ngb_db_size;
  27. uint8      * gb_database_ptr; //对应的数据库
  28. uint32       nascii_db_size;
  29. uint8      * pascii_ptr; //对应的ASCII码数据库
  30. } GUI_FONT_INFO_T, * P_GUI_FONT_INFO_T;
  31. */
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif // _MMI_FONT_DEF_H__