[Orxonox-commit 2654] r7359 - code/branches/notifications/src/modules/notifications
dafrick at orxonox.net
dafrick at orxonox.net
Sun Sep 5 22:31:50 CEST 2010
Author: dafrick
Date: 2010-09-05 22:31:50 +0200 (Sun, 05 Sep 2010)
New Revision: 7359
Modified:
code/branches/notifications/src/modules/notifications/NotificationManager.cc
Log:
Re-adding enterEditMode method to NotificationManager.
Modified: code/branches/notifications/src/modules/notifications/NotificationManager.cc
===================================================================
--- code/branches/notifications/src/modules/notifications/NotificationManager.cc 2010-09-05 20:26:37 UTC (rev 7358)
+++ code/branches/notifications/src/modules/notifications/NotificationManager.cc 2010-09-05 20:31:50 UTC (rev 7359)
@@ -51,7 +51,7 @@
ManageScopedSingleton(NotificationManager, ScopeID::Graphics, false);
//TODO: Make work.
- //SetConsoleCommand("enterEditMode", &NotificationManager::enterEditMode).description("Enter the NotificationLayer edit mode.");
+ SetConsoleCommand("enterEditMode", &NotificationManager::enterEditMode).description("Enter the NotificationLayer edit mode.");
/**
@brief
@@ -307,4 +307,9 @@
this->queues_.push_back(new NotificationQueue(name, targets, size, displayTime));
}
+ void NotificationManager::enterEditMode(void)
+ {
+ GUIManager::getInstance().getLuaState()->doString("NotificationLayer.enterEditMode()");
+ }
+
}
More information about the Orxonox-commit
mailing list