1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #ifndef _XDisplay_h_INCLUDED_
- #define _XDisplay_h_INCLUDED_
- /*****************************************************************************/
- /* ここから */
- /*****************************************************************************/
- #include "sys/key.h"
- #include "WWLCDPanel.h"
- /*****************************************************************************/
- /* クラスの定義 */
- /*****************************************************************************/
- typedef struct _XDisplay * XDisplay;
- /*****************************************************************************/
- /* メンバ関数の定義 */
- /*****************************************************************************/
- unsigned int XDisplay_GetKeyPress(XDisplay x_display);
- int XDisplay_GetLCDDraw(XDisplay x_display);
- int XDisplay_GetColorMapPrint(XDisplay d);
- int XDisplay_GetPalettePrint(XDisplay d);
- int XDisplay_GetCharacterPrint(XDisplay d);
- int XDisplay_GetSpritePrint(XDisplay d);
- int XDisplay_SetColorMapPrint(XDisplay d, int f);
- int XDisplay_SetPalettePrint(XDisplay d, int f);
- int XDisplay_SetCharacterPrint(XDisplay d, int f);
- int XDisplay_SetSpritePrint(XDisplay d, int f);
- /*===========================================================================*/
- /* オブジェクトの生成と消去 */
- /*===========================================================================*/
- /*---------------------------------------------------------------------------*/
- /* オブジェクトの生成 */
- /*---------------------------------------------------------------------------*/
- XDisplay XDisplay_Create(int width, int height);
- /*---------------------------------------------------------------------------*/
- /* オブジェクトの消去 */
- /*---------------------------------------------------------------------------*/
- XDisplay XDisplay_Destroy(XDisplay x_display);
- /*---------------------------------------------------------------------------*/
- /* Xサーバとの同期 */
- /*---------------------------------------------------------------------------*/
- int XDisplay_Sync(XDisplay x_display);
- /*---------------------------------------------------------------------------*/
- /* 描画 */
- /*---------------------------------------------------------------------------*/
- int XDisplay_DrawLCDWindow(XDisplay x_display, WWLCDPanel ww_lcd_panel);
- /*****************************************************************************/
- /* ここまで */
- /*****************************************************************************/
- #endif
- /*****************************************************************************/
- /* End of File. */
- /*****************************************************************************/
|