Commit Graph

73 Commits (4516d605499fed8dcfa9efaf30f0a4d562d86b21)

Author SHA1 Message Date
frosch a68b7c0068 (svn r24774) -Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus. This makes the editbox in the OSK behave correctly. 12 years ago
frosch cffa57c71d (svn r24773) -Fix: Shift in the OSK behaved like capslock. 12 years ago
frosch 42d27b5e17 (svn r24772) -Codechange: Call Window::OnEditboxChanged only when the content changes, not when only moving the cursor. 12 years ago
frosch 44d79aa9e5 (svn r24746) -Cleanup: Remove weird lowering of editboxes. 12 years ago
frosch 18dcd2e6a4 (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 12 years ago
frosch 838388dcd5 (svn r24739) -Codechange: Simplify some code by using Textbuf::Assign. 12 years ago
frosch f1d40ca6f2 (svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged. 12 years ago
frosch c6ac0299a8 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 12 years ago
frosch a1fd98291b (svn r24730) -Codechange: Allow OSK to simulate widget buttons with index 0. 12 years ago
frosch 3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch 9b196d0fb4 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 12 years ago
rubidium a495e0c874 (svn r23550) -Codechange: unify naming of the on screen keyboard widgets 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
yexo 44460825a2 (svn r23132) -Fix: when any keys on te on-screen keyboard were pressed the text cursor disappeared 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
peter1138 9d8f96190d (svn r18132) -Codechange: Scale OSK buttons to font height. 15 years ago
rubidium 2d938da8c9 (svn r18114) -Fix: RTL languages don't have the keyboard swapped 15 years ago
rubidium 1f6f15a126 (svn r18092) -Codechange: remove support for the unnested widgets 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 2eb67404ce (svn r17864) -Codechange: make the OSK nested 15 years ago
alberth e1533210b4 (svn r17759) -Codechange [FS#3257]: Return focus to the parent window using the function designed for it. 15 years ago
rubidium fa1c023da5 (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium b3f7a582d2 (svn r17656) -Change: typo in function name. Also document the parameter (Terkhen) 15 years ago
rubidium 2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
alberth ed5a0dfaf1 (svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks). 15 years ago
yexo a3382deac7 (svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth 0dcb1a320d (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 15 years ago
alberth cbf2d24ebb (svn r16516) -Codechange: Added click and drag handling for nested widgets. 15 years ago
alberth f608a7d4a6 (svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box. 15 years ago
alberth 03659f5cb9 (svn r16170) -Codechange: Added nested widgets to OSK. 15 years ago
alberth 012df60680 (svn r16169) -Codechange: Completing OSK widget numbers. 15 years ago
alberth 2caa9daefa (svn r16168) -Codechange: Removing unused WWT_EMPTY widget. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium 5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
rubidium 66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago