summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2009-07-05(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.alberth
2009-07-04(svn r16740) -Codechange: Self-sizing widgets in intro screen, town ↵alberth
directory, and found town windows.
2009-06-28(svn r16687) -Codechange: Perform re-initialization of windows with nested ↵alberth
widgets after a language change.
2009-06-05(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.alberth
2009-06-04(svn r16517) -Codechange: Switched intro-screen and town directory window to ↵alberth
nested widget trees.
2009-06-04(svn r16516) -Codechange: Added click and drag handling for nested widgets.alberth
2009-06-04(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and ↵alberth
finding widgets by type or position in the tree.
2009-06-03(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.alberth
2009-06-03(svn r16513) -Codechange: Add nested widgets root and array to Window, and ↵alberth
NWidgetBase::FillNestedArray() to fill the array.
2009-06-01(svn r16495) -Codechange: Renamed a few variables.alberth
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.