Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 174 lines (141 sloc) 4.94 kb
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
1 /***********************************************************************
2 * FXRuby -- the Ruby language bindings for the FOX GUI toolkit.
b8219ec @lylejohnson Updated copyright notice for all SWIG interface files
lylejohnson authored
3 * Copyright (c) 2001-2009 by Lyle Johnson. All Rights Reserved.
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * For further information please contact the author by e-mail
a934547 @lylejohnson Replaced e-mail address "lyle@users.sourceforge.net" with
lylejohnson authored
20 * at "lyle@lylejohnson.name".
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
21 ***********************************************************************/
22
23 class FXIcon;
24
25
26 /// MDI Delete button
27 class FXMDIDeleteButton : public FXButton {
28 protected:
29 FXMDIDeleteButton(){}
30 public:
31 long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
32 public:
33 %extend {
34 /// Constructor
35 FXMDIDeleteButton(FXComposite* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_RAISED,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
36 return new FXRbMDIDeleteButton(p,tgt,sel,opts,x,y,w,h);
37 }
38 }
bea4cad @larskanis Strip all whitespaces on line endings
authored
39
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
40 /// Destructor
41 virtual ~FXMDIDeleteButton();
42 };
43
44
45 DECLARE_FXOBJECT_VIRTUALS(FXMDIDeleteButton)
46 DECLARE_FXID_VIRTUALS(FXMDIDeleteButton)
47 DECLARE_FXDRAWABLE_VIRTUALS(FXMDIDeleteButton)
48 DECLARE_FXWINDOW_VIRTUALS(FXMDIDeleteButton)
49
50
51 /// MDI Restore button
52 class FXMDIRestoreButton : public FXButton {
53 protected:
54 FXMDIRestoreButton(){}
55 public:
56 long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
57 public:
58 %extend {
59 /// Constructor
60 FXMDIRestoreButton(FXComposite* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_RAISED,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
61 return new FXRbMDIRestoreButton(p,tgt,sel,opts,x,y,w,h);
62 }
63 }
bea4cad @larskanis Strip all whitespaces on line endings
authored
64
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
65 /// Destructor
66 virtual ~FXMDIRestoreButton();
67 };
68
69
70 DECLARE_FXOBJECT_VIRTUALS(FXMDIRestoreButton)
71 DECLARE_FXID_VIRTUALS(FXMDIRestoreButton)
72 DECLARE_FXDRAWABLE_VIRTUALS(FXMDIRestoreButton)
73 DECLARE_FXWINDOW_VIRTUALS(FXMDIRestoreButton)
74
75
76 /// MDI Maximize button
77 class FXMDIMaximizeButton : public FXButton {
78 protected:
79 FXMDIMaximizeButton(){}
80 public:
81 long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
82 public:
83 %extend {
84 /// Constructor
85 FXMDIMaximizeButton(FXComposite* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_RAISED,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
86 return new FXRbMDIMaximizeButton(p,tgt,sel,opts,x,y,w,h);
87 }
88 }
bea4cad @larskanis Strip all whitespaces on line endings
authored
89
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
90 /// Destructor
91 virtual ~FXMDIMaximizeButton();
92 };
93
94
95 DECLARE_FXOBJECT_VIRTUALS(FXMDIMaximizeButton)
96 DECLARE_FXID_VIRTUALS(FXMDIMaximizeButton)
97 DECLARE_FXDRAWABLE_VIRTUALS(FXMDIMaximizeButton)
98 DECLARE_FXWINDOW_VIRTUALS(FXMDIMaximizeButton)
99
100
101 /// MDI Minimize button
102 class FXMDIMinimizeButton : public FXButton {
103 protected:
104 FXMDIMinimizeButton(){}
105 public:
106 long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
107 public:
108 %extend {
109 /// Constructor
110 FXMDIMinimizeButton(FXComposite* p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=FRAME_RAISED,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
111 return new FXRbMDIMinimizeButton(p,tgt,sel,opts,x,y,w,h);
112 }
113 }
bea4cad @larskanis Strip all whitespaces on line endings
authored
114
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
115 /// Destructor
116 virtual ~FXMDIMinimizeButton();
117 };
118
119
120 DECLARE_FXOBJECT_VIRTUALS(FXMDIMinimizeButton)
121 DECLARE_FXID_VIRTUALS(FXMDIMinimizeButton)
122 DECLARE_FXDRAWABLE_VIRTUALS(FXMDIMinimizeButton)
123 DECLARE_FXWINDOW_VIRTUALS(FXMDIMinimizeButton)
124
125
126 /// MDI Window button
127 class FXMDIWindowButton : public FXMenuButton {
128 protected:
129 FXMDIWindowButton(){}
130 public:
131 long onPaint(FXObject*,FXSelector,void* PTR_EVENT);
132 public:
133 %extend {
134 /// Constructor
135 FXMDIWindowButton(FXComposite* p,FXPopup* pup,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
136 return new FXRbMDIWindowButton(p,pup,tgt,sel,opts,x,y,w,h);
137 }
138 }
bea4cad @larskanis Strip all whitespaces on line endings
authored
139
45cf7d8 @lylejohnson initial checkin of r2610 from trunk
lylejohnson authored
140 /// Destructor
141 virtual ~FXMDIWindowButton();
142 };
143
144
145 DECLARE_FXOBJECT_VIRTUALS(FXMDIWindowButton)
146 DECLARE_FXID_VIRTUALS(FXMDIWindowButton)
147 DECLARE_FXDRAWABLE_VIRTUALS(FXMDIWindowButton)
148 DECLARE_FXWINDOW_VIRTUALS(FXMDIWindowButton)
149
150
151 /// MDI Window Menu
152 class FXMDIMenu : public FXMenuPane {
153 protected:
154 FXMDIMenu(){}
155 public:
156 %extend {
157 /// Construct MDI menu
158 FXMDIMenu(FXWindow *owner,FXObject* tgt=NULL){
159 return new FXRbMDIMenu(owner,tgt);
160 }
161 }
162
163 /// Destructor
164 virtual ~FXMDIMenu();
165 };
166
167
168 DECLARE_FXOBJECT_VIRTUALS(FXMDIMenu)
169 DECLARE_FXID_VIRTUALS(FXMDIMenu)
170 DECLARE_FXDRAWABLE_VIRTUALS(FXMDIMenu)
171 DECLARE_FXWINDOW_VIRTUALS(FXMDIMenu)
172 DECLARE_FXPOPUP_VIRTUALS(FXMDIMenu)
173
Something went wrong with that request. Please try again.