summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-03-15(svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar ↵smatz
after resizing the screen
2008-02-17(svn r12167) -Feature(tte): change colour of autorail and autoroad selection ↵smatz
when Ctrl is pressed
2008-02-17(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard ↵smatz
input, depot/group window wasn't updated (original patch by GrimRC)
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-01(svn r11740) -Fix [FS#1610]: Modify and possibly discard key events for code ↵egladil
points in the unicode private use area.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-13(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.rubidium
2007-12-08(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove ↵belugas
its now useless counterpart function
2007-12-08(svn r11595) -Codechange: add a new member to Window struct, based on its ↵belugas
function counterpart HandleButtonClick.
2007-12-08(svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischiefbelugas
2007-12-08(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the ↵belugas
now useless RaiseWindowButtons function
2007-12-08(svn r11591) -Codechange: remove now unused widget accessors.belugas
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-07(svn r11586) -Fix: make another widget 'accessor' function const when it ↵glx
should be const.
2007-12-06(svn r11583) -Fix [FS#1484]: windows could get completely missing when one ↵rubidium
resized the window to something very small.
2007-12-06(svn r11579) -Revert(r11578): some cases of key propagation are not handled ↵belugas
correctly. A better solution will be deviced, but not now. Let's not cause a ton of bug reports
2007-12-06(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY ↵belugas
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.
2007-12-02(svn r11556) -Feature: allow setting a default password for new companies in ↵rubidium
network games.
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-12-02(svn r11551) -Codechange: Introduction of widget control members on struct ↵belugas
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)"
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-18(svn r11471) -Codechange: one more variable retyped to enum ↵smatz
ViewportHighlightMode
2007-11-11(svn r11405) -Fix: in rare cases OpenTTD could segfault when resizing and ↵truelight
scroll the main window (Rafal Rzepecki)
2007-10-20(svn r11304) -Feature: Control-Clicking the Center Main View button on the ↵belugas
vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
2007-10-14(svn r11256) -Codechange: Make opening a new toolbar not overlapping its ↵belugas
parent one, by locating it under the parent, and aligned with the left side of it. FS#1310, by BigBB
2007-08-23(svn r10967) -Fix: in case of moving the window on create (because it ↵truelight
doesn't fit in the screen), make sure to move the viewport too if we are an extra viewport (spotted by Maedhros)
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
2007-07-29(svn r10730) -Codechange: allow (some) arbitrary data to be send to the ↵rubidium
WE_CREATE event.
2007-07-29(svn r10727) -Codechange: when a window would fall outside of the screen (on ↵rubidium
the right) when opening it, move it to the left so it stays inside the screen.
2007-07-29(svn r10726) -Codechange: make it possible that the chat window is less than ↵rubidium
640 pixels.
2007-07-29(svn r10725) -Codechange: move some window related code out of gfx.cpp to ↵rubidium
windows.cpp
2007-07-28(svn r10717) -Fix: in-game console had a "transparent" part when opened in a ↵rubidium
game, while it did not in the menu.
2007-07-28(svn r10716) -Codechange: not all windows' minimum size is actually their ↵rubidium
minimum size, so take the size of the window after WE_CREATE has been called as bare minimum size.
2007-07-27(svn r10707) -Codechange: account for the main toolbar and status bar when ↵rubidium
determining the maximum height for a window.
2007-07-27(svn r10705) -Fix (r10704): some windows were not correctly initialized as ↵rubidium
they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size. -Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-22(svn r10649) -Fix (r9962): autoscroll (pointer near screen edge) didn't workpeter1138