summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-31(svn r16484) -Cleanup: Renamed widget variable to widget_index and ↵alberth
introduced widget_type variable. -Fix: Prevented out-of-bounds array access when not clicking at a widget.
2009-05-30(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks ↵alberth
to Smatz).
2009-05-30(svn r16466) -Codechange: Improved wording in comments.alberth
2009-05-30(svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used ↵alberth
only once.
2009-05-30(svn r16463) -Cleanup: Code style fixes.alberth
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-16(svn r16317) -Codechange: Generalized finding a widget by type.alberth
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-05-04(svn r16226) -Codechange: Separating generation of a widget array from ↵alberth
WindowDesc to the InitializeWidgetArrayFromNestedWidgets function.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-28(svn r15867) -Codechange: remove the assumption that the first widgets are ↵yexo
the close box/title bar. Most work already done by r15756.
2009-03-22(svn r15819) -Add: Nested widgets frameworkalberth
2009-03-22(svn r15817) -Codechange: Make room for additional widget types (Rubidium)alberth
2009-03-18(svn r15760) -Codechange [FS#2704]: support that the resize box is at the ↵rubidium
left side of the window too (based on work by Alberth)
2009-03-17(svn r15756) -Codechange: remove the assumption that the second windget is ↵rubidium
always the title bar. Also replace a few magic numbers with a const.
2009-03-15(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinatesmatz
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-11(svn r15669) -Change: Key presses that are not handles by an input box are ↵yexo
no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open.
2009-03-06(svn r15627) -Documentation: Add two Doxygen strings (Alberth).belugas
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-02-09(svn r15424) -Codechange: make it possible to have multiple windows with ↵rubidium
edit box open simultaniously (Zuu).
2009-02-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-13(svn r15065) -Change (r14919): Allow to select a new station location by ↵frosch
ctrl-clicking while distant-join window is open. (PhilSophus)
2009-01-09(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with ↵rubidium
spaces
2009-01-07(svn r14905) -Fix (r14899): in some corner cases already freed memory could ↵rubidium
be read.
2009-01-07(svn r14899) -Feature: remove the window limit, but leave a configurable ↵rubidium
limit on the number of non-sticky non-vital windows. -Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-06(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes ↵rubidium
(from back to front or vice versa) and make it iterate over the Window* instead of Window**.
2009-01-04(svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict)rubidium
2009-01-03(svn r14804) -Codechange: unify opening the OSK (Zuu)rubidium
2009-01-03(svn r14794) -Document: a few functions/variables (Alberth)rubidium
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2009-01-02(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when ↵rubidium
station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
2008-12-16(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map ↵rubidium
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.
2008-10-14(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter ↵rubidium
names in comments and add a little more doxygen documentation.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-24(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is ↵smatz
deleted/modified while the timetable window is open -Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-08-11(svn r14047) -Codechange: move chatmessage handling to the network directory ↵rubidium
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-06-12(svn r13495) -Fix: scrolling the main map with the keys speed was influenced ↵rubidium
by movement of the mouse.
2008-05-30(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when ↵rubidium
having a build tool selected failed.
2008-05-29(svn r13338) -Doc: add documentation about the window placement. Patch by ↵rubidium
Alberth.