WWCharacter.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef _WWCharacter_h_INCLUDED_
  2. #define _WWCharacter_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. /*****************************************************************************/
  7. /* クラスの定義 */
  8. /*****************************************************************************/
  9. typedef struct _WWCharacter * WWCharacter;
  10. /*****************************************************************************/
  11. /* ヘッダファイルのインクルード */
  12. /*****************************************************************************/
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include "WWDisplay.h"
  16. #include "wonx_include/libwwc.h"
  17. /*****************************************************************************/
  18. /* メンバ関数の宣言 */
  19. /*****************************************************************************/
  20. int WWCharacter_GetNumber(WWCharacter c);
  21. int WWCharacter_SetNumber(WWCharacter c, int n);
  22. unsigned char WWCharacter_GetBitmap(WWCharacter c, int n);
  23. unsigned char WWCharacter_SetBitmap(WWCharacter c, int n, unsigned char bitmap);
  24. WWCharacter WWCharacter_Create(int number);
  25. WWCharacter WWCharacter_Destroy(WWCharacter character);
  26. int WWCharacter_GetPixel(WWCharacter character, int x, int y,
  27. WWDisplay display);
  28. int WWCharacter_ClearAllPixels(WWCharacter character);
  29. int WWCharacter_CopyAllPixels(WWCharacter dst, WWCharacter src);
  30. int WWCharacter_PrintData(WWCharacter character, WWDisplay display, FILE * f);
  31. /*****************************************************************************/
  32. /* ここまで */
  33. /*****************************************************************************/
  34. #endif
  35. /*****************************************************************************/
  36. /* End of File. */
  37. /*****************************************************************************/