Changeset 7362
- Timestamp:
- Sep 5, 2010, 11:11:22 PM (14 years ago)
- Location:
- code/branches/notifications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/notifications/data/gui/scripts/NotificationLayer.lua
r7354 r7362 133 133 if v ~= nil then 134 134 root:removeChildWindow(v) 135 local frame = winMgr:createWindow("MenuWidgets/FrameWindow", "orxonox/NotificationLayer/Root/EditMode/" .. P.nameList (k))135 local frame = winMgr:createWindow("MenuWidgets/FrameWindow", "orxonox/NotificationLayer/Root/EditMode/" .. P.nameList[k]) 136 136 frame:setArea(v:getArea()) 137 root:addChildWindow(frame) 137 138 P.editList[k] = frame 138 139 end … … 153 154 end 154 155 end 156 157 showMenuSheet(P.name, false, true) 155 158 end 156 159 -
code/branches/notifications/src/modules/notifications/NotificationManager.cc
r7360 r7362 64 64 this->highestIndex_ = 0; 65 65 66 ModifyConsoleCommand("enterEditMode").setObject(this); 67 66 68 if(GameMode::showsGraphics()) 67 69 { … … 79 81 NotificationManager::~NotificationManager() 80 82 { 81 83 ModifyConsoleCommand("enterEditMode").setObject(NULL); 82 84 } 83 85 … … 310 312 void NotificationManager::enterEditMode(void) 311 313 { 314 GUIManager::getInstance().hideGUI("NotificationLayer"); 315 GUIManager::getInstance().showGUI("NotificationLayer", false, false); 312 316 GUIManager::getInstance().getLuaState()->doString("NotificationLayer.enterEditMode()"); 313 317 }
Note: See TracChangeset
for help on using the changeset viewer.