Commit Graph

47 Commits (1c29698eed5e6146028b578c8073402517614174)

Author SHA1 Message Date
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) 15 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
rubidium 3758ba890a (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. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 94a5f66427 (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. 16 years ago
rubidium 5ab74534da (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 16 years ago
rubidium 122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
belugas 7ef5369306 (svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis. 16 years ago
belugas 2240833463 (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis 16 years ago
smatz 3f000be670 (svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard) 16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium 8560c8f16f (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 7c10fb0023 (svn r13105) -Fix [FS#2015]: the title of a query window would (sometimes) change when the on screen keyboard was opened. 16 years ago
glx ab0aa4e080 (svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it 16 years ago
glx 015dbc6e7b (svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow. 16 years ago
rubidium d8a6bb392a (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. 16 years ago
rubidium 1853a56291 (svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases. 16 years ago
rubidium 2ac412375c (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. 16 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 0083ce9e1b (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 16 years ago
rubidium 8989e6572f (svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik. 16 years ago
rubidium a606fe9610 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 16 years ago