Merged from the latest developing branch.
[MacVim.git] / src / gui_xmebw.h
blobda4812ea7a74a8c66881b2485f81cd15a9212cba
1 /* vi:set ts=8 sts=4 sw=4:
3 * VIM - Vi IMproved by Bram Moolenaar
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 /*
11 * (C) 2002,2005 by Marcin Dalecki <martin@dalecki.de>
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.
20 #ifndef EnhancedB_H
21 #define EnhancedB_H
24 * New resources for the Extended Pushbutton widget
27 #ifndef XmNshift
28 # define XmNshift "shift"
29 #endif
30 #ifndef XmCShift
31 # define XmCShift "Shift"
32 #endif
34 #ifndef XmNlabelLocation
35 # define XmNlabelLocation "labelLocation"
36 #endif
37 #ifndef XmCLocation
38 # define XmCLocation "Location"
39 #endif
41 #ifndef XmNpixmapData
42 # define XmNpixmapData "pixmapData"
43 #endif
45 #ifndef XmNpixmapFile
46 # define XmNpixmapFile "pixmapFile"
47 #endif
50 * Constants for labelLocation.
52 #ifdef HAVE_XM_JOINSIDET_H
53 # include <Xm/JoinSideT.h>
54 #else
55 # define XmLEFT 1
56 # define XmRIGHT 2
57 # define XmTOP 3
58 # define XmBOTTOM 4
59 #endif
61 #define XmIsEnhancedButton(w) XtIsSubclass(w, xmEnhancedButtonWidgetClass)
64 * Convenience creation function.
66 extern Widget XgCreateEPushButtonWidget(Widget, char *, ArgList, Cardinal);
68 extern WidgetClass xmEnhancedButtonWidgetClass;
69 typedef struct _XmEnhancedButtonClassRec *XmEnhancedButtonWidgetClass;
70 typedef struct _XmEnhancedButtonRec *XmEnhancedButtonWidget;
72 #endif