WWLCDPanel.h 2.0 KB

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