mirror of
https://github.com/HEYAHONG/PDCurses.git
synced 2025-05-08 21:48:47 +08:00
Re-ordered to match pdcscrn.c; hopefully more sensible.
This commit is contained in:
parent
9586814625
commit
3a2b906a25
40
x11/pdcx11.h
40
x11/pdcx11.h
@ -20,6 +20,9 @@
|
||||
|
||||
#include <Xatom.h>
|
||||
|
||||
#define XCURSESDISPLAY (XtDisplay(drawing))
|
||||
#define XCURSESWIN (XtWindow(drawing))
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int lines;
|
||||
@ -56,7 +59,24 @@ typedef struct
|
||||
int textBlinkRate;
|
||||
} XCursesAppData;
|
||||
|
||||
extern Pixel colors[PDC_MAXCOL];
|
||||
|
||||
extern XCursesAppData xc_app_data;
|
||||
extern XtAppContext app_context;
|
||||
extern Widget topLevel, drawing;
|
||||
|
||||
extern GC normal_gc, rect_cursor_gc, italic_gc, bold_gc;
|
||||
extern int font_height, font_width, font_ascent, font_descent;
|
||||
extern int window_width, window_height;
|
||||
extern bool blinked_off;
|
||||
|
||||
extern int resize_window_width, resize_window_height;
|
||||
extern bool window_entered;
|
||||
extern bool xc_resize_now;
|
||||
|
||||
extern XIC Xic;
|
||||
extern bool vertical_cursor;
|
||||
extern bool visible_cursor;
|
||||
|
||||
int PDC_display_cursor(int, int, int, int, int);
|
||||
|
||||
@ -65,23 +85,3 @@ void XC_blink_text(XtPointer, XtIntervalId *);
|
||||
int XC_kb_setup(void);
|
||||
void XC_redraw_cursor(void);
|
||||
bool XC_scrollbar_init(const char *);
|
||||
|
||||
extern XtAppContext app_context;
|
||||
extern Widget topLevel, drawing;
|
||||
|
||||
#define XCURSESDISPLAY (XtDisplay(drawing))
|
||||
#define XCURSESWIN (XtWindow(drawing))
|
||||
|
||||
extern Pixel colors[PDC_MAXCOL];
|
||||
|
||||
extern GC normal_gc, rect_cursor_gc, italic_gc, bold_gc;
|
||||
extern int font_height, font_width, font_ascent, font_descent;
|
||||
extern int window_width, window_height;
|
||||
extern int resize_window_width, resize_window_height;
|
||||
|
||||
extern bool xc_resize_now;
|
||||
extern XIC Xic;
|
||||
extern bool blinked_off;
|
||||
extern bool vertical_cursor;
|
||||
extern bool visible_cursor;
|
||||
extern bool window_entered;
|
||||
|
Loading…
x
Reference in New Issue
Block a user