Gwin.h - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
Gwin.h (1132B)
---
1 /* Copyright (c) 1998 Lucent Technologies - All rights reserved. */
2 #ifndef GWIN_H
3 #define GWIN_H
4
5 /* New resource names */
6
7 #define XtNscrollForwardR "scrollForwardR"
8 #define XtCScrollForwardR "ScrollForwardR"
9 #define XtNreshaped "reshaped"
10 #define XtCReshaped "Reshaped"
11 #define XtNgotchar "gotchar"
12 #define XtCGotchar "Gotchar"
13 #define XtNgotmouse "gotmouse"
14 #define XtCGotmouse "Gotmouse"
15 #define XtNp9font "p9font"
16 #define XtCP9font "P9font"
17 #define XtNcomposeMod "composeMod"
18 #define XtCComposeMod "ComposeMod"
19
20 /* External reference to the class record pointer */
21 extern WidgetClass gwinWidgetClass;
22
23 /* Type definition for gwin widgets */
24 typedef struct _GwinRec *GwinWidget;
25
26 /* Type definition for gwin resources */
27 typedef struct {
28 int buttons;
29 struct {
30 int x;
31 int y;
32 } xy;
33 uint64_t msec;
34 } Gwinmouse;
35
36 typedef void (*Reshapefunc)(int, int, int, int);
37 typedef void (*Charfunc)(int, int, int, int, int, const char *);
38 typedef void (*Mousefunc)(Gwinmouse*);
39
40 /* Method declarations */
41 extern String GwinSelectionSwap(Widget, String);
42
43 #endif /* GWIN_H */