Changeset 7883 in orxonox.OLD for branches/gui/src/lib/gui/gl_gui/glgui_pushbutton.cc
- Timestamp:
- May 27, 2006, 1:57:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl_gui/glgui_pushbutton.cc
r7881 r7883 54 54 printf("%s received focus\n", this->getLabel().c_str()); 55 55 56 Vector test; 57 this->frontMaterial().getDiffuseColor(test.x, test.y, test.z); 58 test.debug(); 56 59 } 57 60 void GLGuiPushButton::removedFocus() … … 61 64 } 62 65 66 void GLGuiPushButton::clicked() 67 { 68 printf("%s clicked\n", this->getLabel().c_str()); 69 } 70 71 72 void GLGuiPushButton::released() 73 { 74 printf("%s released\n", this->getLabel().c_str()); 75 } 63 76 64 77 … … 72 85 GLGuiButton::draw(); 73 86 74 this->frontMat .select();87 this->frontMaterial().select(); 75 88 glBegin(GL_QUADS); 76 89 … … 81 94 82 95 glEnd(); 83 84 96 this->endDraw(); 85 97 // this->label->draw();
Note: See TracChangeset
for help on using the changeset viewer.