| /* |
| * Copyright 1989 Massachusetts Institute of Technology |
| * |
| * Permission to use, copy, modify, distribute, and sell this software and its |
| * documentation for any purpose is hereby granted without fee, provided that |
| * the above copyright notice appear in all copies and that both that |
| * copyright notice and this permission notice appear in supporting |
| * documentation, and that the name of M.I.T. not be used in advertising or |
| * publicity pertaining to distribution of the software without specific, |
| * written prior permission. M.I.T. makes no representations about the |
| * suitability of this software for any purpose. It is provided "as is" |
| * without express or implied warranty. |
| * |
| * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL |
| * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T. |
| * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION |
| * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| */ |
| |
| /* |
| * Modifications for Wine |
| * |
| * 8/23/93 David Metcalfe (david@prism.demon.co.uk) |
| * Converted to WinMenuButton |
| */ |
| |
| /*********************************************************************** |
| * |
| * WinMenuButton Widget |
| * |
| ***********************************************************************/ |
| |
| /* |
| * WinMenuButton.h - Public Header file for WinMenuButton widget. |
| * |
| * This is the public header file for the WinMenuButton widget. |
| * It is intended to provide an easy method of activating pulldown menus. |
| * |
| * Date: May 2, 1989 |
| * |
| * By: Chris D. Peterson |
| * MIT X Consortium |
| * kit@expo.lcs.mit.edu |
| */ |
| |
| #ifndef _WinMenuButton_h |
| #define _WinMenuButton_h |
| |
| #include "WinCommand.h" |
| |
| /* Resources: |
| |
| Name Class RepType Default Value |
| ---- ----- ------- ------------- |
| background Background Pixel XtDefaultBackground |
| bitmap Pixmap Pixmap None |
| border BorderColor Pixel XtDefaultForeground |
| borderWidth BorderWidth Dimension 1 |
| callback Callback Pointer NULL |
| cursor Cursor Cursor None |
| destroyCallback Callback Pointer NULL |
| font Font XFontStruct* XtDefaultFont |
| foreground Foreground Pixel XtDefaultForeground |
| height Height Dimension text height |
| highlightThickness Thickness Dimension 2 |
| insensitiveBorder Insensitive Pixmap Gray |
| internalHeight Height Dimension 2 |
| internalWidth Width Dimension 4 |
| justify Justify XtJustify XtJustifyCenter |
| label Label String NULL |
| mappedWhenManaged MappedWhenManaged Boolean True |
| menuName MenuName String "menu" |
| resize Resize Boolean True |
| sensitive Sensitive Boolean True |
| width Width Dimension text width |
| x Position Position 0 |
| y Position Position 0 |
| |
| */ |
| |
| #define XtNmenuName "menuName" |
| #define XtCMenuName "MenuName" |
| |
| extern WidgetClass winMenuButtonWidgetClass; |
| |
| typedef struct _WinMenuButtonClassRec *WinMenuButtonWidgetClass; |
| typedef struct _WinMenuButtonRec *WinMenuButtonWidget; |
| |
| #endif /* _WinMenuButton_h -- DON'T ADD STUFF AFTER THIS */ |