Commit Graph

86 Commits (67c90594d5dbac9d177e26595a8e69ac876465d4)

Author SHA1 Message Date
rubidium 95bcee3fde (svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/ 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium 277a547f21 (svn r17662) -Codechange: make the sign edit window nested 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
alberth 6dfe5909dc (svn r17422) -Codechange: Remove magic constants and compute vertical minimal size of the sign list window. 15 years ago
alberth aa0abf9c91 (svn r17421) -Fix (r17418): Don't output debug information in signs list. 15 years ago
alberth 6352a5481d (svn r17418) -Codechange [FS#3144]: Signs list window uses nested widget tree (mostly by Nickman). 15 years ago
rubidium 1f3f5a8a83 (svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers 15 years ago
yexo a3382deac7 (svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 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
rubidium 4874578e79 (svn r16930) -Codechange: more StringID name unification and grouping 15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
alberth d0e5201cef (svn r16154) -Codechange: Added nested widgets for sign list and sign edit windows. 15 years ago
alberth bf3c790103 (svn r16153) -Codechange: Completing QueryEditSignWidgets enum. 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
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
peter1138 0db236ccff (svn r15883) -Codechange: Make a widget enum for the sign list and use widget offsets instead of direct locations. 15 years ago
rubidium 2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 16 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 42fe0b65d2 (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 72d89337ee (svn r14804) -Codechange: unify opening the OSK (Zuu) 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 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
glx 48a047d73b (svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu) 16 years ago
smatz bc1d994f6c (svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium f54f161bfb (svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice. 16 years ago
smatz 94c5c9f21d (svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to next/previous sign in signs_gui.cpp (Roujin) 16 years ago
smatz b5fe06f430 (svn r14345) -Fix: delete the RenameSignWindow when 'its' sign is deleted
Also, it makes sure the RenameSignWindow isn't open when there are no signs (and crashes associted with that)
16 years ago
smatz 6077302660 (svn r14263) -Codechange: give a better error message when removing a sign fails 16 years ago
peter1138 1537b346c3 (svn r14215) -Cleanup (r13866): Strange line wrapping... 16 years ago
rubidium c816cc37fd (svn r14063) -Codechange: replace some "magic" constants with enumified constants. 16 years ago
rubidium 122f029b93 (svn r14046) -Codechange: make the size of querystring "widgets" more configurable. 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
peter1138 ed438fb902 (svn r13866) -Codechange: Use sortlist for sign windows 16 years ago
smatz 4c7adc8009 (svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker) 16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium ad29064cf3 (svn r13184) -Codechange: make a window class of the signs list. 16 years ago
rubidium 01a569f0d7 (svn r13173) -Codechange: make windows of the main toolbars. 16 years ago
rubidium d284ba2283 (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 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 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