Changeset 2346 for code/branches/questsystem3/src/orxonox/overlays/notifications/NotificationQueue.cc
- Timestamp:
- Dec 5, 2008, 7:38:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem3/src/orxonox/overlays/notifications/NotificationQueue.cc
r2287 r2346 53 53 queue_s = this; 54 54 } 55 56 this->length_ = 3; 57 this->width_ = 50; 55 58 } 56 59 … … 65 68 66 69 XMLPortParam(NotificationQueue, "length", setLength, getLength, xmlElement, mode); 70 XMLPortParam(NotificationQueue, "width", setWidth, getWidth, xmlElement, mode); 67 71 } 68 72 … … 84 88 } 85 89 90 bool NotificationQueue::setWidth(int width) 91 { 92 if(width > 0) 93 { 94 this->width_ = width; 95 return true; 96 } 97 return false; 98 } 99 86 100 void NotificationQueue::setQueueText(const std::string & text) 87 101 {
Note: See TracChangeset
for help on using the changeset viewer.