Changeset 7401 for code/trunk/src/modules/notifications
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/modules/notifications/Notification.cc
r7193 r7401 55 55 @brief 56 56 Constructor. Creates a Notification with the input message. 57 @param creator 58 The object that created this Notification 57 59 @param message 58 60 The message of the Notification. -
code/trunk/src/modules/notifications/NotificationQueue.cc
r7163 r7401 109 109 Method for creating a NotificationQueue object through XML. 110 110 */ 111 void NotificationQueue::XMLPort(Element& xml Element, XMLPort::Mode mode)112 { 113 SUPER(NotificationQueue, XMLPort, xml Element, mode);111 void NotificationQueue::XMLPort(Element& xmlelement, XMLPort::Mode mode) 112 { 113 SUPER(NotificationQueue, XMLPort, xmlelement, mode); 114 114 115 115 this->setDefaults(); 116 116 117 XMLPortParam(NotificationQueue, "maxSize", setMaxSize, getMaxSize, xml Element, mode);118 XMLPortParam(NotificationQueue, "notificationLength", setNotificationLength, getNotificationLength, xml Element, mode);119 XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xml Element, mode);120 XMLPortParam(NotificationQueue, "targets", setTargets, getTargets, xml Element, mode);121 XMLPortParam(NotificationQueue, "font", setFont, getFont, xml Element, mode);122 XMLPortParam(NotificationQueue, "fontSize", setFontSize, getFontSize, xml Element, mode);123 XMLPortParam(NotificationQueue, "position", setPosition, getPosition, xml Element, mode);117 XMLPortParam(NotificationQueue, "maxSize", setMaxSize, getMaxSize, xmlelement, mode); 118 XMLPortParam(NotificationQueue, "notificationLength", setNotificationLength, getNotificationLength, xmlelement, mode); 119 XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xmlelement, mode); 120 XMLPortParam(NotificationQueue, "targets", setTargets, getTargets, xmlelement, mode); 121 XMLPortParam(NotificationQueue, "font", setFont, getFont, xmlelement, mode); 122 XMLPortParam(NotificationQueue, "fontSize", setFontSize, getFontSize, xmlelement, mode); 123 XMLPortParam(NotificationQueue, "position", setPosition, getPosition, xmlelement, mode); 124 124 125 125 COUT(3) << "NotificationQueue '" << this->getName() << "' created." << std::endl; -
code/trunk/src/modules/notifications/NotificationQueue.h
r7164 r7401 71 71 72 72 Creating a NotificationQueue through XML goes as follows: 73 Be aware that the NotificationQueue must be inside the <Level></Level> tags or bad things will happen. 73 Be aware that the NotificationQueue must be inside the @code <Level></Level> @endcode tags or bad things will happen. 74 75 @code 74 76 <NotificationQueue 75 77 name = "SuperQueue" //Name of your OverlayQueue. … … 82 84 position = "0.0, 0.0" //The position of the NotificationQueue. (Default is 0.0,0.0) 83 85 /> 86 @endcode 84 87 @author 85 88 Damian 'Mozork' Frick … … 93 96 virtual ~NotificationQueue(); 94 97 95 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML.98 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML. 96 99 97 100 virtual void tick(float dt); //!< To update from time to time.
Note: See TracChangeset
for help on using the changeset viewer.