Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7998 in orxonox.OLD for branches


Ignore:
Timestamp:
May 30, 2006, 11:37:54 PM (18 years ago)
Author:
bensch
Message:

orxonox/gui: more Signal Definitions

Location:
branches/gui/src/lib/gui/gl_gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl_gui/glgui_inputline.cc

    r7936 r7998  
    2626  {
    2727    this->init();
    28 
    2928  }
    3029
     
    5857    this->text.setText(text);
    5958    this->resize();
     59
     60    emit(this->textChanged(this->getText()));
    6061  }
    6162
     
    6465    this->text.append(appendText);
    6566    this->resize();
     67    emit(this->textChanged(this->text.getText()));
    6668  }
    6769
     
    7072    this->text.appendCharacter(character);
    7173    this->resize();
     74    emit(this->textChanged(this->text.getText()));
    7275  }
    7376
     
    7780    this->text.removeCharacters(chars);
    7881    this->resize();
     82    emit(this->textChanged(this->text.getText()));
    7983  }
    8084
  • branches/gui/src/lib/gui/gl_gui/glgui_inputline.h

    r7919 r7998  
    4343    virtual bool processEvent(const Event& event);
    4444
     45    DeclareSignal1(textChanged, const std::string&);
     46
    4547    private:
    4648      void resize();
Note: See TracChangeset for help on using the changeset viewer.