wonx/XDisplayP.h
Hiroaki Sakai 3c624a304e Initial version
Version 0.0.1 alpha - from wonx-a01.tar.gz
2000-09-26 12:00:00 +09:00

63 lines
1.6 KiB
C

#ifndef _XDisplayP_h_INCLUDED_
#define _XDisplayP_h_INCLUDED_
/*****************************************************************************/
/* ここから */
/*****************************************************************************/
#include "XDisplay.h"
#include <signal.h>
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
/*****************************************************************************/
/* クラスの定義 */
/*****************************************************************************/
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. */
/*****************************************************************************/