Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2008, 7:38:53 AM (15 years ago)
Author:
dafrick
Message:
  • QuestListener works now.
  • Rearranged the places Notifications are sent from, and also created actually meaningfull Notification messages
  • Done some changes to Notifications
File:
1 edited

Legend:

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

    r2287 r2346  
    5353            queue_s = this;
    5454        }
     55       
     56        this->length_ = 3;
     57        this->width_ = 50;
    5558    }
    5659   
     
    6568       
    6669        XMLPortParam(NotificationQueue, "length", setLength, getLength, xmlElement, mode);
     70        XMLPortParam(NotificationQueue, "width", setWidth, getWidth, xmlElement, mode);
    6771    }
    6872   
     
    8488    }
    8589   
     90    bool NotificationQueue::setWidth(int width)
     91    {
     92        if(width > 0)
     93        {
     94            this->width_ = width;
     95            return true;
     96        }
     97        return false;
     98    }
     99   
    86100    void NotificationQueue::setQueueText(const std::string & text)
    87101    {
Note: See TracChangeset for help on using the changeset viewer.