Changeset 2435 for code/branches/presentation/src/orxonox/overlays/notifications/NotificationQueue.h
- Timestamp:
- Dec 14, 2008, 1:42:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/overlays/notifications/NotificationQueue.h
r2385 r2435 38 38 #include <string> 39 39 40 namespace orxonox {41 40 namespace orxonox 41 { 42 42 /** 43 43 @brief … … 48 48 class _OrxonoxExport NotificationQueue : public OverlayText, public Tickable 49 49 { 50 51 52 53 54 55 56 57 58 59 60 61 62 50 public: 51 NotificationQueue(BaseObject* creator); 52 virtual ~NotificationQueue(); 53 54 static NotificationQueue* queue_s; //TDO Singleton? oder im level. 55 56 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 57 58 virtual void tick(float dt); 59 60 void update(void); 61 62 int getLength(void) const 63 63 { return this->length_; } 64 64 int getWidth(void) const 65 65 { return this->width_; } 66 67 68 69 70 71 72 73 74 66 67 void setQueueText(const std::string & text); 68 bool setLength(int length); 69 bool setWidth(int width); 70 71 private: 72 Ogre::UTFString queueText_; 73 int length_; 74 int width_; 75 75 76 76 };
Note: See TracChangeset
for help on using the changeset viewer.