~z-man/armagetronad/0.4-armagetronad-v2sty-unified

« back to all changes in this revision

Viewing changes to src/ui/uMenu.h

  • Committer: Manuel Moos
  • Date: 2017-02-12 10:51:41 UTC
  • Revision ID: z-man@users.sf.net-20170212105141-ev02x06h2vlqgtbz
Fixing instachat insertion into active chat for SDL2. The event separation makes it a bit hard, we can only know a keydown event isn't a valid text input once the keyup event has been received and no textinput event in between.

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
    void Deselect();
544
544
 
545
545
    //! inserts an entire string at the current cursor
546
 
    void Insert(tString const &insertion);
 
546
    bool Insert(tString const &insertion);
547
547
};
548
548
 
549
549
//! A class that can provide auto- completion and supports overwriting of parts for special cases.