Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 14, 2010, 11:56:56 PM (14 years ago)
Author:
dafrick
Message:

Moving notifications to own module.

Location:
code/trunk/src/modules/notifications
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/NotificationQueue.h

    r7163 r7164  
    3535#define _NotificationOueue_H__
    3636
    37 #include "questsystem/QuestsystemPrereqs.h"
     37#include "notifications/NotificationsPrereqs.h"
    3838
    3939#include <ctime>
     
    7474        <NotificationQueue
    7575            name = "SuperQueue" //Name of your OverlayQueue.
    76             maxSize = "5" //The maximum size of Notifications displayed.
    77             notificationLength = "64" //The maximum number of characters of a Notification, that are displayed. (Default is 5)
     76            maxSize = "5" //The maximum number of Notifications displayed. (Default is 5)
     77            notificationLength = "64" //The maximum number of characters of a Notification, that are displayed. (Default is 64)
    7878            displayTime = "30" //The time a Notification is displayed in seconds. (Default is 30)
    7979            targets = "target1, target2" //The senders this NotificationQueue displays Notifications from. (all, if all Notifications should be displayed.)
    8080            font = "VeraMono" //The font (Default is VeraMono)
    8181            fontSize = '0.4' //The font size. (Default is 0.025)
    82             position = "0.0, .0.0" //The position of the NotificationQueue. (Default is 0.0,0.0)
     82            position = "0.0, 0.0" //The position of the NotificationQueue. (Default is 0.0,0.0)
    8383        />
    8484    @author
     
    8686    */
    8787
    88     class _QuestsystemExport NotificationQueue : public OverlayGroup, public Tickable, public NotificationListener
     88    class _NotificationsExport NotificationQueue : public OverlayGroup, public Tickable, public NotificationListener
    8989    {
    9090
     
    162162        private:
    163163            static const int DEFAULT_SIZE = 5; //!< The default maximum number of Notifications displayed.
    164             static const int DEFAULT_LENGTH = 64; //!< The default maximum number of Notifications displayed.
     164            static const int DEFAULT_LENGTH = 64; //!< The default maximum number of characters displayed.
    165165            static const int DEFAULT_DISPLAY_TIME = 30; //!< The default display time.
    166166            static const float DEFAULT_FONT_SIZE; //!< The default font size.
Note: See TracChangeset for help on using the changeset viewer.