Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2009, 6:03:40 PM (16 years ago)
Author:
danielh
Message:

Update

  • Minor changes in BaseItem
  • Updated to NotificationQueue from trunk (compile error with old)
  • Added PickupInventory for GUI handling
  • Added basic support for toLua++ methods
Location:
code/branches/pickups2/src/orxonox/overlays/notifications
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickups2/src/orxonox/overlays/notifications/NotificationQueue.cc

    r2911 r2972  
    5454    const std::string NotificationQueue::DEFAULT_FONT = "VeraMono";
    5555    const Vector2 NotificationQueue::DEFAULT_POSITION = Vector2(0.0,0.0);
     56    const float NotificationQueue::DEFAULT_FONT_SIZE  = 0.025;
    5657
    5758    /**
     
    273274        string->clear();
    274275        bool first = true;
    275         for(std::set<std::string>::iterator it = this->targets_.begin(); it != this->targets_.end(); it++) //!< Iterate through the set of targets.
     276        for(std::set<std::string>::const_iterator it = this->targets_.begin(); it != this->targets_.end(); it++) //!< Iterate through the set of targets.
    276277        {
    277278            if(!first)
  • code/branches/pickups2/src/orxonox/overlays/notifications/NotificationQueue.h

    r2911 r2972  
    166166            static const int DEFAULT_LENGTH = 64; //!< The default maximum number of Notifications displayed.
    167167            static const int DEFAULT_DISPLAY_TIME = 30; //!< The default display time.
    168             static const float DEFAULT_FONT_SIZE = 0.025; //!< The default font size.
     168            static const float DEFAULT_FONT_SIZE; //!< The default font size.
    169169
    170170            static const std::string DEFAULT_FONT; //!< The default font.
Note: See TracChangeset for help on using the changeset viewer.