XDisplay.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #ifndef _XDisplay_h_INCLUDED_
  2. #define _XDisplay_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include "wonx_include/key.h"
  7. #include "WWLCDPanel.h"
  8. /*****************************************************************************/
  9. /* クラスの定義 */
  10. /*****************************************************************************/
  11. typedef struct _XDisplay * XDisplay;
  12. /*****************************************************************************/
  13. /* メンバ関数の定義 */
  14. /*****************************************************************************/
  15. unsigned int XDisplay_GetKeyPress(XDisplay x_display);
  16. int XDisplay_GetLCDDraw(XDisplay x_display);
  17. int XDisplay_GetColorMapPrint(XDisplay d);
  18. int XDisplay_GetPalettePrint(XDisplay d);
  19. int XDisplay_GetCharacterPrint(XDisplay d);
  20. int XDisplay_GetSpritePrint(XDisplay d);
  21. int XDisplay_SetColorMapPrint(XDisplay d, int f);
  22. int XDisplay_SetPalettePrint(XDisplay d, int f);
  23. int XDisplay_SetCharacterPrint(XDisplay d, int f);
  24. int XDisplay_SetSpritePrint(XDisplay d, int f);
  25. /*===========================================================================*/
  26. /* オブジェクトの生成と消去 */
  27. /*===========================================================================*/
  28. /*---------------------------------------------------------------------------*/
  29. /* オブジェクトの生成 */
  30. /*---------------------------------------------------------------------------*/
  31. XDisplay XDisplay_Create(int width, int height);
  32. /*---------------------------------------------------------------------------*/
  33. /* オブジェクトの消去 */
  34. /*---------------------------------------------------------------------------*/
  35. XDisplay XDisplay_Destroy(XDisplay x_display);
  36. /*---------------------------------------------------------------------------*/
  37. /* Xサーバとの同期 */
  38. /*---------------------------------------------------------------------------*/
  39. int XDisplay_Sync(XDisplay x_display);
  40. /*---------------------------------------------------------------------------*/
  41. /* 描画 */
  42. /*---------------------------------------------------------------------------*/
  43. int XDisplay_DrawLCDWindow(XDisplay x_display, WWLCDPanel ww_lcd_panel);
  44. /*****************************************************************************/
  45. /* ここまで */
  46. /*****************************************************************************/
  47. #endif
  48. /*****************************************************************************/
  49. /* End of File. */
  50. /*****************************************************************************/