- Timestamp:
- Nov 26, 2008, 7:17:08 PM (16 years ago)
- Location:
- code/branches/questsystem3/src/orxonox/overlays/notifications
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem3/src/orxonox/overlays/notifications/NotificationManager.cc
r2285 r2287 104 104 continue; 105 105 106 COUT(3) << "Update, title: " << container->notification->getTitle() << ", message: " << container->notification->getMessage() << std::endl; 107 106 108 text = text + "\n\n\n------------" + container->notification->getTitle(); + "\n\n" + container->notification->getMessage(); 107 109 } -
code/branches/questsystem3/src/orxonox/overlays/notifications/NotificationQueue.cc
r2285 r2287 37 37 namespace orxonox { 38 38 39 NotificationQueue* NotificationQueue::queue_s ;39 NotificationQueue* NotificationQueue::queue_s = 0; 40 40 41 41 CreateFactory(NotificationQueue); … … 70 70 { 71 71 NotificationManager::tick(dt); 72 73 update(); 72 74 } 73 75 … … 84 86 void NotificationQueue::setQueueText(const std::string & text) 85 87 { 86 COUT(3) << text << std::endl;87 88 this->queueText_ = text; 88 89 } … … 90 91 void NotificationQueue::update(void) 91 92 { 92 //TDO UTF string93 93 this->text_->setCaption(queueText_); 94 94 } -
code/branches/questsystem3/src/orxonox/overlays/notifications/NotificationQueue.h
r2286 r2287 52 52 virtual ~NotificationQueue(); 53 53 54 static NotificationQueue* queue_s; 54 static NotificationQueue* queue_s; //TDO Singleton? oder im level. 55 55 56 56 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
Note: See TracChangeset
for help on using the changeset viewer.