Commit Graph

68 Commits

Author SHA1 Message Date
frosch 6653ac6b36 (svn r24739) -Codechange: Simplify some code by using Textbuf::Assign. 2012-11-14 22:50:21 +00:00
frosch 2c22fe98dd (svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged. 2012-11-13 21:47:07 +00:00
frosch fd55399167 (svn r24731) -Codechange: Remove OnOpenOSKWindow and instead specify OK and CANCEL buttons via QueryString members. 2012-11-13 21:46:54 +00:00
frosch 67f92f16ed (svn r24730) -Codechange: Allow OSK to simulate widget buttons with index 0. 2012-11-13 21:46:50 +00:00
frosch 03736af2ae (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 2012-11-11 16:10:43 +00:00
frosch d58eee1e79 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 2012-06-04 15:30:29 +00:00
rubidium bdb6280e79 (svn r23550) -Codechange: unify naming of the on screen keyboard widgets 2011-12-16 18:27:39 +00:00
truebrain 2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
yexo 80e5d13f25 (svn r23132) -Fix: when any keys on te on-screen keyboard were pressed the text cursor disappeared 2011-11-08 15:10:39 +00:00
frosch ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium 1f0da3710f (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 2009-11-28 15:01:49 +00:00
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
peter1138 6204c56d99 (svn r18132) -Codechange: Scale OSK buttons to font height. 2009-11-16 21:42:04 +00:00
rubidium f9feac8607 (svn r18114) -Fix: RTL languages don't have the keyboard swapped 2009-11-16 12:29:52 +00:00
rubidium aeb9f8e715 (svn r18092) -Codechange: remove support for the unnested widgets 2009-11-15 13:36:30 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium 699e5165ff (svn r17864) -Codechange: make the OSK nested 2009-10-25 11:31:12 +00:00
alberth f9733ac590 (svn r17759) -Codechange [FS#3257]: Return focus to the parent window using the function designed for it. 2009-10-11 08:07:09 +00:00
rubidium 4ab569544b (svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window 2009-10-10 12:47:04 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium 1bc18905d7 (svn r17656) -Change: typo in function name. Also document the parameter (Terkhen) 2009-09-27 18:36:05 +00:00
rubidium ca91a97826 (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 2009-09-19 15:17:47 +00:00
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
alberth 669b7d01ac (svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks). 2009-09-11 18:52:56 +00:00
yexo dc24601b6d (svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING 2009-08-29 21:28:36 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
alberth 92206f2d18 (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 2009-07-15 22:17:08 +00:00
alberth b144a5451c (svn r16516) -Codechange: Added click and drag handling for nested widgets. 2009-06-04 14:07:05 +00:00
alberth e03376c239 (svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box. 2009-05-30 14:18:06 +00:00
alberth 5b5cee9405 (svn r16170) -Codechange: Added nested widgets to OSK. 2009-04-26 16:51:50 +00:00
alberth 78a4a68926 (svn r16169) -Codechange: Completing OSK widget numbers. 2009-04-26 16:48:02 +00:00
alberth a780198f74 (svn r16168) -Codechange: Removing unused WWT_EMPTY widget. 2009-04-26 16:41:08 +00:00
rubidium 59d45a04d6 (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. 2009-04-21 23:40:56 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium 861e9cefb3 (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 2009-02-09 01:22:29 +00:00
rubidium 9907742a0f (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 2009-02-09 01:06:23 +00:00
rubidium ba3d7e70f2 (svn r15370) -Codechange: add a callback to tell the parent of an OSK that the string has changed instead of only marking the text box dirty. 2009-02-06 11:57:25 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium 1599ade7ca (svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window. 2008-12-16 17:58:27 +00:00
rubidium e7829c1a57 (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 2008-09-29 16:27:02 +00:00
rubidium 6995365535 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 2008-08-11 22:08:56 +00:00