summaryrefslogtreecommitdiff
path: root/src/window_gui.h
AgeCommit message (Collapse)Author
2008-05-24(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their ↵frosch
PickerWindows.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the ↵rubidium
Window constructors.
2008-05-18(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of ↵rubidium
WindowEvent.
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13141) -Codechange: remove an unused variable from Window.rubidium
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-17(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.rubidium
2008-05-17(svn r13133) -Codechange: Add a base class (descending from Window) for all ↵belugas
new windows that are going to require a ResetObjectToPlace to be performed on closing. This will allow to free the said window only once, and not twice otherwise
2008-05-16(svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper ↵rubidium
functions/enums/variables as they are not used anymore.
2008-05-16(svn r13129) -Codechange: remove the WP macro and it's related variables.rubidium
2008-05-16(svn r13117) -Codechange: make a window class of the PlayerFinancesWindow.rubidium
2008-05-15(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.rubidium
2008-05-15(svn r13104) -Codechange: make ResetObjectToPlace safe to be called ↵rubidium
recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
2008-05-15(svn r13103) -Codechange: make a class of the PlayerCompanyWindow.rubidium
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-11(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.rubidium
2008-05-11(svn r13047) -Codechange: remove vp_dglx
2008-05-11(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.rubidium
2008-05-11(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-10(svn r13031) -Codechange: make AssignWidgetToWindow a static function ↵rubidium
instead of a global one as it should only be used from window.cpp.
2008-05-10(svn r13029) -Codechange: more work in the road to getting the WP macros and ↵rubidium
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.
2008-05-10(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the ↵rubidium
same thing.
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-09(svn r13025) -Codechange: remove the need for two WindowEvents.rubidium
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the ↵rubidium
.cpp files where they are actually used.
2008-05-08(svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp.rubidium
2008-05-08(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so ↵rubidium
move it to there.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-08(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with ↵rubidium
a Window constructor.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
2008-05-06(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
2008-05-04(svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth.rubidium
2008-04-19(svn r12790) -Codechange: code style fixes. Patch by Alberth.rubidium
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12749) -Codechange: store the viewport information in the windows that ↵rubidium
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
2008-04-13(svn r12695) -Codechange: only allocate window structs when needed. Based on ↵rubidium
a patch by Alberth.
2008-04-13(svn r12693) -Documentation: add some documentation to some window related ↵rubidium
stuff. Based on a patch by Albert.
2008-04-11(svn r12663) -Codechange: move the definition from 'order_d' to a more ↵rubidium
appropriate place and do not misuse it for the time table GUI.
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-03-28(svn r12470) -Codechange: split order related types from order.h (and ↵rubidium
openttd.h) to order_type.h.
2008-03-28(svn r12469) -Codechange: split type related stuff from group.h (and ↵rubidium
openttd.h) to group_type.h.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-03-26(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so ↵rubidium
someone without a keyboard can enter text too. Patch by Dominik.
2008-02-17(svn r12167) -Feature(tte): change colour of autorail and autoroad selection ↵smatz
when Ctrl is pressed
2008-01-26(svn r11988) -Codechange: Add a generic way of changing a widget's size and ↵peter1138
adjust the widgets around it to suit.
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.