#ifndef _XDisplayP_h_INCLUDED_ #define _XDisplayP_h_INCLUDED_ /*****************************************************************************/ /* ここから */ /*****************************************************************************/ #include "XDisplay.h" #include #include #include #include #include #include #include /*****************************************************************************/ /* クラスの定義 */ /*****************************************************************************/ typedef struct _XDisplay { XtAppContext app_context; Widget toplevel; Display * display; Window root_window; Colormap colormap; Cardinal depth; Dimension width, height; int size; Window lcd_window; Pixmap lcd_pixmap; GC copy_gc; GC color_gc[16]; /* テキストスクリーンへの文字表示用のフォント */ Font font; GC font_gc; /* キーの状態 */ unsigned int key_press; /* LCD描画のフラグ */ int lcd_draw; } _XDisplay; /*****************************************************************************/ /* ここまで */ /*****************************************************************************/ #endif /*****************************************************************************/ /* End of File. */ /*****************************************************************************/