Mercurial > vim
comparison src/gui_xmebw.h @ 48:00c35ea0c2b3
updated for version 7.0028
author | vimboss |
---|---|
date | Sun, 02 Jan 2005 11:31:05 +0000 |
parents | |
children | 2f5a3b881ada |
comparison
equal
deleted
inserted
replaced
47:eff3887963cc | 48:00c35ea0c2b3 |
---|---|
1 /* vi:set ts=8 sts=4 sw=4: | |
2 * | |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 * See README.txt for an overview of the Vim source code. | |
8 */ | |
9 /* | |
10 * | |
11 * (C) 2002,2005 by Marcin Dalecki <martin@dalecki.de> | |
12 * | |
13 * MARCIN DALECKI ASSUMES NO RESPONSIBILITY FOR THE USE OR INABILITY TO USE ANY | |
14 * OF THIS SOFTWARE . THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY | |
15 * KIND, AND MARCIN DALECKI EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES, | |
16 * INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
17 * FITNESS FOR A PARTICULAR PURPOSE. | |
18 */ | |
19 | |
20 #ifndef EnhancedB_H | |
21 #define EnhancedB_H | |
22 | |
23 /* | |
24 * New resources for the Extended Pushbutton widget | |
25 */ | |
26 | |
27 #ifndef XmNshift | |
28 # define XmNshift "shift" | |
29 #endif | |
30 #ifndef XmCShift | |
31 # define XmCShift "Shift" | |
32 #endif | |
33 | |
34 #ifndef XmNlabelLocation | |
35 # define XmNlabelLocation "labelLocation" | |
36 #endif | |
37 #ifndef XmCLocation | |
38 # define XmCLocation "Location" | |
39 #endif | |
40 | |
41 #ifndef XmNpixmapData | |
42 # define XmNpixmapData "pixmapData" | |
43 #endif | |
44 | |
45 #ifndef XmNpixmapFile | |
46 # define XmNpixmapFile "pixmapFile" | |
47 #endif | |
48 | |
49 #ifndef LESSTIF_VERSION | |
50 /* | |
51 * Constants for labelLocation. | |
52 */ | |
53 | |
54 # include <Xm/JoinSideT.h> | |
55 #else | |
56 # define XmLEFT 1 | |
57 # define XmRIGHT 2 | |
58 # define XmTOP 3 | |
59 # define XmBOTTOM 4 | |
60 #endif | |
61 | |
62 #define XmIsEnhancedButton(w) XtIsSubclass(w, xmEnhancedButtonWidgetClass) | |
63 | |
64 /* | |
65 * Convienience creation function. | |
66 */ | |
67 extern Widget XgCreateEPushButtonWidget(Widget, char *, ArgList, Cardinal); | |
68 | |
69 extern WidgetClass xmEnhancedButtonWidgetClass; | |
70 typedef struct _XmEnhancedButtonClassRec *XmEnhancedButtonWidgetClass; | |
71 typedef struct _XmEnhancedButtonRec *XmEnhancedButtonWidget; | |
72 | |
73 #endif |