Changeset 8419 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_button.cc
- Timestamp:
- Jun 14, 2006, 11:07:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_button.cc
r8378 r8419 55 55 56 56 this->_label.setFont("fonts/final_frontier.ttf", 20); 57 this-> frontColor().setColor(1, 0, 0, 1.0);57 this->setFrontColor(Color(1, 0, 0, 1.0)); 58 58 59 59 this->_label.setParent2D(this); … … 69 69 70 70 71 void GLGuiButton::updateFrontColor() 72 { 73 this->_label.setColor(this->frontColor()); 74 printf("TEST Color is "); this->frontColor().debug(); 75 } 71 76 72 77 void GLGuiButton::clicking(const Vector2D& pos) 73 78 { 79 GLGuiWidget::clicking(pos); 74 80 emit(clicked()); 75 81 } 76 82 void GLGuiButton::releasing(const Vector2D& pos) 77 83 { 84 GLGuiWidget::releasing(pos); 78 85 emit(released()); 79 86 }
Note: See TracChangeset
for help on using the changeset viewer.