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.
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.
24 * New resources for the Extended Pushbutton widget
28 # define XmNshift "shift"
31 # define XmCShift "Shift"
34 #ifndef XmNlabelLocation
35 # define XmNlabelLocation "labelLocation"
38 # define XmCLocation "Location"
42 # define XmNpixmapData "pixmapData"
46 # define XmNpixmapFile "pixmapFile"
50 * Constants for labelLocation.
52 #ifdef HAVE_XM_JOINSIDET_H
53 # include <Xm/JoinSideT.h>
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
;