Commit Graph

89 Commits (cdd22af5a1661ed6e98d4cc51fe4483afa48555e)

Author SHA1 Message Date
rubidium 762315c47c (svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes. 16 years ago
rubidium cb680474c3 (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 16 years ago
rubidium a26b25aecc (svn r12938) -Codechange: coding style fixes. Patch by Alberth. 16 years ago
rubidium 5b44c68b19 (svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth. 16 years ago
rubidium 752c8d8f2e (svn r12790) -Codechange: code style fixes. Patch by Alberth. 16 years ago
rubidium c84fe27ca9 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 16 years ago
rubidium b1d1a4ac66 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
rubidium c31287206d (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 16 years ago
rubidium fd38b3f850 (svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on resizes unless they would go behind the toolbar. 16 years ago
rubidium 9a73b698d4 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 16 years ago
rubidium 04138ddffc (svn r12694) -Fix: do not call the mouse over callback on already deleted windows. 16 years ago
rubidium 2310557716 (svn r12693) -Documentation: add some documentation to some window related stuff. Based on a patch by Albert. 16 years ago
rubidium 87ddcb0d5a (svn r12692) -Codechange: swap to functions to remove a function declaration. 16 years ago
rubidium ee02dd7dad (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 16 years ago
smatz 756e0d9b6e (svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen 17 years ago
smatz 8b56e7544e (svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed 17 years ago
smatz 291931bf50 (svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC) 17 years ago
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium 5c4150d304 (svn r11832) -Codechange: get rid of (quite) some VARDEFs. 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 0e517fe023 (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
egladil 9a2547b5a7 (svn r11740) -Fix [FS#1610]: Modify and possibly discard key events for code points in the unicode private use area. 17 years ago
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 429521a7d1 (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 bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 8f0e68285b (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 8896bea306 (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
rubidium a0f2366e40 (svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor. 17 years ago
belugas 73c58d8a40 (svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function 17 years ago
belugas b23f824f18 (svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick. 17 years ago
belugas af4d07b978 (svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief 17 years ago
belugas 8c89641dbe (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function 17 years ago
belugas 6fb71047d6 (svn r11591) -Codechange: remove now unused widget accessors. 17 years ago
glx c21f588a14 (svn r11588) -Codechange: use the new member introduced in r11551 17 years ago
glx 10e17c30a3 (svn r11586) -Fix: make another widget 'accessor' function const when it should be const. 17 years ago
rubidium dd68a34e26 (svn r11583) -Fix [FS#1484]: windows could get completely missing when one resized the window to something very small. 17 years ago
belugas 6c70cf2d82 (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 7edf28529d (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 d9081ad3f5 (svn r11556) -Feature: allow setting a default password for new companies in network games. 17 years ago
rubidium 527b72749d (svn r11555) -Codechange: use the new members introduced in r11551. 17 years ago
belugas e2b4afaa4b (svn r11551) -Codechange: Introduction of widget control members on struct Window. These "new" members have the exact same functionalities as their pure functions "genitors"
Ex: "Window::SetWidgetLoweredState(byte widget_index, bool lowered_stat)"  is the member corresponding to "SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)"
17 years ago
skidd13 bf959f926f (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 8be526e499 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
smatz 2686901d84 (svn r11471) -Codechange: one more variable retyped to enum ViewportHighlightMode 17 years ago
truelight d8d0babece (svn r11405) -Fix: in rare cases OpenTTD could segfault when resizing and scroll the main window (Rafal Rzepecki) 17 years ago
belugas 705f0ae90c (svn r11304) -Feature: Control-Clicking the Center Main View button on the vehicle window allows the main viewport to follow the chosen vehicle.(stevenh) 17 years ago