Commit Graph

52 Commits

Author SHA1 Message Date
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
belugas c5cecdd2e3 (svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis. 2008-08-02 02:28:17 +00:00
belugas 5bbb5721df (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis 2008-07-31 16:42:11 +00:00
smatz f7233786d2 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 2008-05-28 15:28:27 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 2008-05-19 09:24:03 +00:00
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
rubidium 8ba6f08ca6 (svn r13105) -Fix [FS#2015]: the title of a query window would (sometimes) change when the on screen keyboard was opened. 2008-05-15 18:26:45 +00:00
glx bbc173dfc6 (svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it 2008-05-14 02:32:35 +00:00
glx c9f26cceb7 (svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow. 2008-05-14 01:57:12 +00:00
rubidium eb2d47b547 (svn r13042) -Codechange: make a class of CreateScenarioWindow, GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables. 2008-05-11 12:26:20 +00:00
rubidium 3749323e23 (svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases. 2008-05-10 21:35:20 +00:00
rubidium d24442ae8b (svn r13029) -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme. 2008-05-10 13:46:36 +00:00
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
rubidium e6c944a6c4 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 2008-05-06 21:28:30 +00:00
rubidium cb680474c3 (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 2008-05-04 10:05:50 +00:00