summaryrefslogtreecommitdiff
path: root/include/glshape.h
blob: 465f60b980239fbd2127c1bc5fb1fa18ecbfce26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __GLSHAPE_H__
#define __GLSHAPE_H__

#include <Exceptions.h>
#include <BString.h>
#include <glcolor.h>
#include <gltexture.h>
#include <shape.h>

namespace mogltk {
    class glshape : public shape {
      public:
        virtual void box(int x1, int y1, int x2, int y2, glColorP = WHITE);
        virtual void box3d(int x1, int y1, int x2, int y2, glColorP = DOS_WHITE, glColorP = DOS_HIGH_WHITE, glColorP = DOS_GRAY, int = 2, bool = false);
	virtual void box(int x1, int y1, int x2, int y2, glColorP, glColorP, glColorP, glColorP);
	virtual void tbox(gltexture *, int x1, int y1, int x2, int y2, int tx1, int ty1, int tx2, int ty2, glColorP = WHITE);
	virtual void tbox(gltexture *, int x1, int y1, int x2, int y2, glColorP, glColorP, glColorP, glColorP, int tx1, int ty1, int tx2, int ty2);
      private:
        bool Enter(bool);
        virtual bool Enter();
	virtual void Leave(bool);
    };
};

#endif