summaryrefslogtreecommitdiff
path: root/include/widgets.h
diff options
context:
space:
mode:
authororphis <orphis>2005-03-29 16:37:42 +0000
committerorphis <orphis>2005-03-29 16:37:42 +0000
commitb0b10e31736df2a943ea6bc094350c9119b282e6 (patch)
treea8ac31c408e41a62e87d6c525423e11401bb8278 /include/widgets.h
parent96cb561e561cdbb1b4d1ec547c89d0891862fed0 (diff)
Ajout de SmartBoxClose et changement de MsgBox pour qu'il hérite de SmartBoxClose
Diffstat (limited to 'include/widgets.h')
-rw-r--r--include/widgets.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/widgets.h b/include/widgets.h
index 2bf2300..8865f9c 100644
--- a/include/widgets.h
+++ b/include/widgets.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: widgets.h,v 1.9 2004-12-27 18:47:24 pixel Exp $ */
+/* $Id: widgets.h,v 1.10 2005-03-29 16:37:42 orphis Exp $ */
#ifndef __WIDGETS_H__
#define __WIDGETS_H__
@@ -174,7 +174,12 @@ namespace mogltk {
int ox, oy, oax, oay;
};
- class MsgBox : public SmartBox {
+ class SmartBoxClose : public SmartBox {
+ public:
+ SmartBoxClose(shape *, widget * father, int x, int y, int w, int h, const String & caption);
+ };
+
+ class MsgBox : public SmartBoxClose {
public:
MsgBox(shape *, widget * father, const String & caption, const String & text);
virtual ~MsgBox();