Changeset 6287 in orxonox.OLD for trunk/src/lib/gui/gl_gui/glgui_widget.h
- Timestamp:
- Dec 25, 2005, 5:32:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl_gui/glgui_widget.h
r5690 r6287 62 62 63 63 virtual void update() = 0; 64 virtual void draw() const = 0;64 virtual void draw() const; 65 65 66 66 protected: 67 inline void startDraw() const { glPushMatrix(); glTranslatef(this->getAbsCoor2D().x, this->getAbsCoor2D().y, 0); }; 68 inline void endDraw() const { glPopMatrix(); }; 69 70 private: 67 71 Material* backMat; 68 72 GLuint backModel;
Note: See TracChangeset
for help on using the changeset viewer.