Commit Graph

60 Commits (0909d9f4c4e57af715aa9e150ff328123decb8b9)

Author SHA1 Message Date
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
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
rubidium 60102c9d73 (svn r12697) -Codechange: give signs_gui.cpp a touch of coding style. 16 years ago
rubidium b488fe1929 (svn r12501) -Codechange: split signs.h. 16 years ago
peter1138 cb7b587746 (svn r12445) -Fix: Add missing compile asserts for window data structs 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
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
peter1138 0f7392bd61 (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
rubidium 8427b8bad2 (svn r11675) -Codechange: split the string types from the string functions. 17 years ago
rubidium 2cf7d5b2cb (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium 8bfbfd0031 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
glx bfda3c82f1 (svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions. 17 years ago
glx b00f621239 (svn r11588) -Codechange: use the new member introduced in r11551 17 years ago
belugas 1495f6aaf8 (svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
A better solution will be deviced, but not now.  Let's not cause a ton of bug reports
17 years ago
belugas cc29d43876 (svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
17 years ago
rubidium 92cb0e45ca (svn r11555) -Codechange: use the new members introduced in r11551. 17 years ago