summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12General code cleanupsThorbjørn Lindeijer1-5/+2
* Use default member initializers * Use range-based for loops * Avoid needless pointer references for ShopItem::mDuplicates * Removed type aliases that are only used once or twice * Removed more unused includes * Removed some unused functions * Removed superfluous .c_str() * Rely on default copy and assignment operators for Vector class * Use std::unique_ptr in some places * Removed duplicated mPlayerMoney updating in SellDialog * Removed duplicated Game::handleInput call * Removed unused SDLInput::mMouseInWindow * Removed remnant of manual widget positioning in HelpWindow * Removed superfluous initialization of static pointers
2024-02-22General code cleanupsThorbjørn Lindeijer1-2/+3
* Use default member initializers * Use range-based loops * Don't use 'else' after 'return' * Removed some unused includes * Construct empty strings with std::string() instead of "" * Clear strings with .clear() instead of assigning "" * Check whether strings are empty with .empty() instead of comparing to "" * Removed redundant initializations
2024-02-13General code cleanupsThorbjørn Lindeijer1-5/+6
* Removing unused includes * Use member initialization * Use range-based for loops * Use nullptr * Removed no longer used aliases * Use override * Don't use else after return * Use '= delete' to remove implicit members * Use std::string::empty instead of comparing to ""
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-6/+6
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2024-01-25Ported to SDL2Thorbjørn Lindeijer1-0/+6
2012-05-05Fixed compilation errors and warnings with GCC 4.7Thorbjørn Lindeijer1-0/+1
Also, since GCC 4.7 there is a binary compatibility issue when linking with a Guichan that was not compiled in C++11 mode. This commit also allows compiling with GCC 4.7 with C++11 mode turned off. Reviewed-by: Erik Schilling
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2010-08-31Fixing auto complete and chat historyStefan Dombrowski1-2/+2
Reviewed-by: Jaxad0127
2010-08-29Move handling of autocomplete and input history into TextFieldJared Adams1-5/+63
Reviewed-by: Freeyorp
2010-08-25Adding autoComplete for inviteStefan Dombrowski1-0/+11
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-02-25Handle Ctrl+v for pasting in text fieldsThorbjørn Lindeijer1-0/+2
Reviewed-by: Jared Adams
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-07Chat auto completingAndrei Karas1-2/+2
2009-09-03Resolved Mantis #847: Login stage Windows won't go less than the default gui ↵Bertram1-0/+5
opacity. Of course, in-game, the wanted opacity still shows up.
2009-05-08Got rid of the non-functional TextFieldListenerBjørn Lindeijer1-18/+7
Pointed out by Jaxad0127. We might want to enable its intended functionality in a different way later.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-0/+109
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.