summaryrefslogtreecommitdiff
path: root/common/minifig.h
diff options
context:
space:
mode:
authorleo2001-01-07 15:12:23 +0000
committerleo2001-01-07 15:12:23 +0000
commite26b05d3bebf64864948f90fb40e1b0600ffeb72 (patch)
treed37afbf5fad6721cf369e46f1cbf90a740c3239f /common/minifig.h
parent93974447340c70c890522e569ef45b1c2c8b8232 (diff)
Use the new GLWindow in the Minifig Wizard
git-svn-id: http://svn.leocad.org/trunk@216 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/minifig.h')
-rw-r--r--common/minifig.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/common/minifig.h b/common/minifig.h
index 038746f..08b0f1f 100644
--- a/common/minifig.h
+++ b/common/minifig.h
@@ -1,6 +1,8 @@
#ifndef _MINIFIG_H_
#define _MINIFIG_H_
+#include "glwindow.h"
+
class PieceInfo;
typedef enum
@@ -32,14 +34,14 @@ typedef struct
float rx, ry, rz;
} LC_MFW_PIECEINFO;
-class MinifigWizard
+class MinifigWizard : public GLWindow
{
public:
- MinifigWizard ();
+ MinifigWizard (GLWindow *share);
~MinifigWizard ();
- void Redraw ();
- void Resize (int width, int height);
+ void OnDraw ();
+
void Calculate ();
void GetDescriptions (int type, char ***names, int *count);
void GetSelections (char **names);