Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2011, 1:58:12 PM (14 years ago)
Author:
dafrick
Message:

Notification text alignment can be set per queue.

Location:
code/branches/tutoriallevel2/src
Files:
2 edited

Legend:

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

    r8374 r8378  
    367367        GUIManager::getInstance().getLuaState()->doString("NotificationLayer.resizeQueue(\"info\", 0.6, 0, " + multi_cast<std::string>(infoQueue->getMaxSize()) + ")");
    368368        GUIManager::getInstance().getLuaState()->doString("NotificationLayer.moveQueue(\"info\", 0.2, 0, 0.8, 0)");
     369        GUIManager::getInstance().getLuaState()->doString("NotificationLayer.changeQueueAlignment(\"info\", \"HorzCentred\")");
    369370    }
    370371
  • code/branches/tutoriallevel2/src/orxonox/interfaces/NotificationListener.h

    r8377 r8378  
    2121 *
    2222 *   Author:
    23  *      Fabian 'x3n' Landau
     23 *      Damian 'Mozork' Frick
    2424 *   Co-authors:
    2525 *      ...
     
    6666    }
    6767
     68    // TODO: Update doc.
    6869    /**
    6970    @brief
     
    7475
    7576    @author
    76         Fabian 'x3n' Landau
    77 
     77        Damian 'Mozork' Frick
     78       
    7879    @ingroup Notifications
    7980    */
     
    9091            static void sendNotificationHelper(const std::string& message, const std::string& sender, unsigned int messageMode);
    9192           
    92             virtual bool registerNotification(const std::string& message, const std::string& sender)
    93                 { return false; }
     93            virtual bool registerNotification(const std::string& message, const std::string& sender) { return false; }
    9494            virtual void executeCommand(const std::string& command, const std::string& sender) {}
    9595    };
Note: See TracChangeset for help on using the changeset viewer.