Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 17, 2010, 3:22:10 PM (14 years ago)
Author:
smerkli
Message:

Added final comments, getting ready for merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/chat2/src/orxonox/ChatInputHandler.cc

    r6890 r6910  
    7575  void ChatInputHandler::configureInputBuffer()
    7676  {
     77    /* INSTALL CALLBACKS */
    7778    /* input has changed */
    7879    this->inpbuf->registerListener(this, &ChatInputHandler::inputChanged, true);
     
    9899    this->inpbuf->registerListener(this, &ChatInputHandler::cursorHome,      KeyCode::Home);
    99100
    100     /* get window pointers */
     101    /* GET WINDOW POINTERS */
    101102    input = CEGUI::WindowManager::getSingleton().getWindow( "orxonox/ChatBox/input" );
    102103    inputonly = CEGUI::WindowManager::getSingleton().getWindow( "orxonox/ChatBox-inputonly/input" );
    103104
     105    /* get pointer to the history window */
    104106    CEGUI::Window *history = CEGUI::WindowManager::getSingleton().getWindow( "orxonox/ChatBox/history" );
     107
     108    /* cast it to a listbox */
    105109    lb_history = dynamic_cast<CEGUI::Listbox*>(history);
    106110
Note: See TracChangeset for help on using the changeset viewer.