Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 5, 2010, 11:11:22 PM (14 years ago)
Author:
dafrick
Message:

NotificationQueue can now be moved in edit mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/notifications/src/modules/notifications/NotificationManager.cc

    r7360 r7362  
    6464        this->highestIndex_ = 0;
    6565
     66        ModifyConsoleCommand("enterEditMode").setObject(this);
     67
    6668        if(GameMode::showsGraphics())
    6769        {
     
    7981    NotificationManager::~NotificationManager()
    8082    {
    81        
     83        ModifyConsoleCommand("enterEditMode").setObject(NULL);
    8284    }
    8385
     
    310312    void NotificationManager::enterEditMode(void)
    311313    {
     314        GUIManager::getInstance().hideGUI("NotificationLayer");
     315        GUIManager::getInstance().showGUI("NotificationLayer", false, false);
    312316        GUIManager::getInstance().getLuaState()->doString("NotificationLayer.enterEditMode()");
    313317    }
Note: See TracChangeset for help on using the changeset viewer.