WWLCDPanel.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef _WWLCDPanel_h_INCLUDED_
  2. #define _WWLCDPanel_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. /*****************************************************************************/
  7. /* クラスの定義 */
  8. /*****************************************************************************/
  9. typedef struct _WWLCDPanel * WWLCDPanel;
  10. /*****************************************************************************/
  11. /* ヘッダファイルのインクルード */
  12. /*****************************************************************************/
  13. #include <stdlib.h>
  14. /*****************************************************************************/
  15. /* メンバ関数の宣言 */
  16. /*****************************************************************************/
  17. int WWLCDPanel_GetWidth( WWLCDPanel p);
  18. int WWLCDPanel_GetHeight(WWLCDPanel p);
  19. int WWLCDPanel_SetWidth( WWLCDPanel p, int n);
  20. int WWLCDPanel_SetHeight(WWLCDPanel p, int n);
  21. int WWLCDPanel_ResetCurrent(WWLCDPanel p);
  22. int WWLCDPanel_ReverseCurrent(WWLCDPanel p);
  23. int WWLCDPanel_ResetAllDraw(WWLCDPanel p);
  24. int WWLCDPanel_SetAllDraw(WWLCDPanel p);
  25. int WWLCDPanel_IsAllDraw(WWLCDPanel p);
  26. unsigned short int * WWLCDPanel_GetPixelMap(WWLCDPanel p);
  27. unsigned short int WWLCDPanel_GetPixel(WWLCDPanel lcd_panel, int x, int y);
  28. unsigned short int WWLCDPanel_SetPixel(WWLCDPanel lcd_panel, int x, int y,
  29. unsigned short int pixel);
  30. int WWLCDPanel_IsPixelChanged(WWLCDPanel lcd_panel, int x, int y);
  31. WWLCDPanel WWLCDPanel_Create(int width, int height);
  32. WWLCDPanel WWLCDPanel_Destroy(WWLCDPanel lcd_panel);
  33. /*****************************************************************************/
  34. /* ここまで */
  35. /*****************************************************************************/
  36. #endif
  37. /*****************************************************************************/
  38. /* End of File. */
  39. /*****************************************************************************/