Changeset 7349
- Timestamp:
- Sep 4, 2010, 5:25:36 PM (14 years ago)
- Location:
- code/branches/notifications
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/notifications/data/gui/scripts/NotificationLayer.lua
r7343 r7349 9 9 local root = winMgr:getWindow("orxonox/NotificationLayer/Root") 10 10 local queue = winMgr:createWindow("MenuWidgets/Listbox", "orxonox/NotificationLayer/Root/Queue/" .. name) 11 queue:setProperty("Alpha", 0.3) 12 queue:setProperty("InheritsAlpha", "setFalse") 11 queue:setProperty("BackgroundColor", "00FFFFFF") 13 12 root:addChildWindow(queue) 14 13 -
code/branches/notifications/src/modules/notifications/NotificationManager.cc
r7341 r7349 34 34 #include "NotificationManager.h" 35 35 36 #include <set>37 36 #include "core/CoreIncludes.h" 37 #include "core/GUIManager.h" 38 38 #include "util/ScopedSingletonManager.h" 39 #include " core/CoreIncludes.h"39 #include "interfaces/NotificationListener.h" 40 40 #include "Notification.h" 41 #include "interfaces/NotificationListener.h"42 #include "core/GUIManager.h"43 41 #include "NotificationQueue.h" 44 42 … … 66 64 67 65 // Create first queue: 68 NotificationQueue* queue= new NotificationQueue("all");66 this->queue_ = new NotificationQueue("all"); 69 67 } 70 68 } … … 76 74 NotificationManager::~NotificationManager() 77 75 { 78 76 this->queue_->destroy(); 79 77 } 80 78 -
code/branches/notifications/src/modules/notifications/NotificationManager.h
r7338 r7349 83 83 static NotificationManager* singletonPtr_s; 84 84 85 NotificationQueue* queue_; //!< Initial, first, NotificationQueue. 86 85 87 int highestIndex_; //!< This variable holds the highest index (resp. key) in notificationLists_s, to secure that no key appears twice. 86 88 -
code/branches/notifications/src/modules/notifications/NotificationQueue.cc
r7343 r7349 34 34 #include "NotificationQueue.h" 35 35 36 #include <algorithm> 37 38 #include "util/Convert.h" 36 #include <map> 37 39 38 #include "core/CoreIncludes.h" 40 39 #include "core/GUIManager.h" 41 40 #include "core/LuaState.h" 41 #include "util/Convert.h" 42 42 #include "Notification.h" 43 43 -
code/branches/notifications/src/modules/notifications/NotificationQueue.h
r7343 r7349 38 38 39 39 #include <ctime> 40 #include <map>41 40 #include <set> 42 41 #include <string> 43 42 #include <vector> 44 43 44 #include "tools/interfaces/Tickable.h" 45 45 #include "util/Math.h" 46 #include "core/OrxonoxClass.h"47 #include "tools/interfaces/Tickable.h"48 46 #include "interfaces/NotificationListener.h" 49 47 #include "NotificationManager.h"
Note: See TracChangeset
for help on using the changeset viewer.