Mercurial > vim
annotate src/gui_xmebw.h @ 19382:e6f0b4fe0b6d v8.2.0249
patch 8.2.0249: MS-Windows: various warnings
Commit: https://github.com/vim/vim/commit/3fb377fa78131004138b22a87afe33eeb7649b94
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 12 21:52:32 2020 +0100
patch 8.2.0249: MS-Windows: various warnings
Problem: MS-Windows: various warnings.
Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
(Ken Takata, closes #5625)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Feb 2020 22:00:05 +0100 |
parents | 4aead6a9b7a9 |
children |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
1206
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
48 | 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 /* | |
50 * Constants for labelLocation. | |
51 */ | |
147 | 52 #ifdef HAVE_XM_JOINSIDET_H |
48 | 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 | |
60 | |
61 #define XmIsEnhancedButton(w) XtIsSubclass(w, xmEnhancedButtonWidgetClass) | |
62 | |
63 /* | |
1206 | 64 * Convenience creation function. |
48 | 65 */ |
66 extern Widget XgCreateEPushButtonWidget(Widget, char *, ArgList, Cardinal); | |
67 | |
68 extern WidgetClass xmEnhancedButtonWidgetClass; | |
69 typedef struct _XmEnhancedButtonClassRec *XmEnhancedButtonWidgetClass; | |
70 typedef struct _XmEnhancedButtonRec *XmEnhancedButtonWidget; | |
71 | |
72 #endif |