annotate src/gui_xmebwp.h @ 7413:e4a99bffa1ab

Added tag v7.4.1010 for changeset bc5de65e499a0c0fad7eb8522a450076b5aa88d6
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Dec 2015 21:00:04 +0100
parents 04736b4030ec
children 4aead6a9b7a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4:
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
2 *
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
4 *
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
7 * See README.txt for an overview of the Vim source code.
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
8 */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
9 /*
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
10 *
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
11 * (C) 2002,2005 by Marcin Dalecki <martin@dalecki.de>
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
12 *
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
13 * MARCIN DALECKI ASSUMES NO RESPONSIBILITY FOR THE USE OR INABILITY TO USE ANY
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
14 * OF THIS SOFTWARE . THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
15 * KIND, AND MARCIN DALECKI EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES,
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
16 * INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
17 * FITNESS FOR A PARTICULAR PURPOSE.
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
18 */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
19
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
20 #ifndef EnhancedBP_H
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
21 #define EnhancedBP_H
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
22
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
23 #include <Xm/PushBP.h>
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
24
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
25 #include "gui_xmebw.h"
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
26
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
27
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
28 /*
4352
04736b4030ec updated for version 7.3.925
Bram Moolenaar <bram@vim.org>
parents: 50
diff changeset
29 * EnhancedButton class structure.
50
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
30 */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
31 typedef struct _XmEnhancedButtonClassPart
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
32 {
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
33 Pixmap stipple_bitmap;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
34 } XmEnhancedButtonClassPart;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
35
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
36 /*
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
37 * Full class record declaration for EnhancedButton class.
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
38 */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
39 typedef struct
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
40 {
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
41 CoreClassPart core_class;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
42 XmPrimitiveClassPart primitive_class;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
43 XmLabelClassPart label_class;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
44 XmPushButtonClassPart pushbutton_class;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
45 XmEnhancedButtonClassPart enhancedbutton_class;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
46 } XmEnhancedButtonClassRec;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
47
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
48
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
49 extern XmEnhancedButtonClassRec xmEnhancedButtonClassRec;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
50
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
51 /*
4352
04736b4030ec updated for version 7.3.925
Bram Moolenaar <bram@vim.org>
parents: 50
diff changeset
52 * EnhancedButton instance record.
50
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
53 */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
54 typedef struct _XmEnhancedButtonPart
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
55 {
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
56 /* public resources */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
57 String pixmap_data;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
58 String pixmap_file;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
59 Dimension spacing;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
60 int label_location;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
61
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
62 /* private resources */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
63 int pixmap_depth;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
64 Dimension pixmap_width;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
65 Dimension pixmap_height;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
66 Pixmap normal_pixmap;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
67 Pixmap armed_pixmap;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
68 Pixmap insensitive_pixmap;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
69 Pixmap highlight_pixmap;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
70
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
71 int doing_setvalues;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
72 int doing_destroy;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
73 } XmEnhancedButtonPart;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
74
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
75
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
76 /*
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
77 * Full instance record declaration.
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
78 */
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
79 typedef struct _XmEnhancedButtonRec
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
80 {
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
81 CorePart core;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
82 XmPrimitivePart primitive;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
83 XmLabelPart label;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
84 XmPushButtonPart pushbutton;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
85 XmEnhancedButtonPart enhancedbutton;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
86 } XmEnhancedButtonRec;
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
87
90188be4861f updated for version 7.0028
vimboss
parents:
diff changeset
88 #endif