diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/glshape.h | 1 | ||||
| -rw-r--r-- | include/shape.h | 5 | 
2 files changed, 6 insertions, 0 deletions
| diff --git a/include/glshape.h b/include/glshape.h index e3654f5..bb0bdb3 100644 --- a/include/glshape.h +++ b/include/glshape.h @@ -11,6 +11,7 @@ namespace mogltk {      class glshape : public shape {        public:          virtual void pixel(int x, int y, ColorP = WHITE); +	virtual void fdraw(fill *, ColorP = WHITE);          virtual void box(int x1, int y1, int x2, int y2, ColorP = WHITE);          virtual void box3d(int x1, int y1, int x2, int y2, ColorP = DOS_WHITE, ColorP = DOS_HIGH_WHITE, ColorP = DOS_GRAY, int = 2, bool = false);  	virtual void box(int x1, int y1, int x2, int y2, ColorP, ColorP, ColorP, ColorP); diff --git a/include/shape.h b/include/shape.h index 07e88ed..e06115e 100644 --- a/include/shape.h +++ b/include/shape.h @@ -24,6 +24,10 @@ namespace mogltk {  	  virtual ~fill();  	void walk(fillwalker *);  	void insert(int, int); +	int GetMinX(); +	int GetMinY(); +	int GetMaxX(); +	int GetMaxY();        private:          class sline : public Base {  	  public: @@ -54,6 +58,7 @@ namespace mogltk {  	    point * pheader;  	    friend class point;  	}; +	int minX, minY, maxX, maxY;        protected:          sline * header;          friend class sline; | 
