summaryrefslogtreecommitdiff
path: root/src/window.cpp
AgeCommit message (Collapse)Author
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17175) -Codechange: Only auto-raise push buttons.alberth
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-10(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following ↵frosch
vehicles, when autoreplacing/renewing them.
2009-08-01(svn r17024) -Codechange: Allow InitNested to be done in two parts.alberth
2009-07-26(svn r16963) -Codechange: Added NWidgetViewport widget.alberth
2009-07-25(svn r16957) -Fix: Trigger the same window repositioning after changing ↵frosch
font/language as it is done after resizing the main OpenTTD window.
2009-07-21(svn r16906) -Fix (r12939): Child windows of build toolbars were placed ↵alberth
inconsistently.
2009-07-20(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets ↵alberth
even if they are not used.
2009-07-16(svn r16848) -Fix: Trying to reduce a nested widget window further than the ↵alberth
smallest alowed size should not crash the game.
2009-07-15(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.alberth
2009-07-13(svn r16815) -Fix: reduce the toolbar's priority for handling keypresses ↵rubidium
from most important to least important, so e.g. the order windows' 'd' skips to the next order
2009-07-12(svn r16798) -Fix [FS#3016]: Added several new widget distances for better ↵alberth
widget size computations.
2009-07-09(svn r16779) -Fix: Take real smallest size of nested widgets into account ↵alberth
for initial window position.
2009-07-09(svn r16778) -Codechange: Split window initialization in a data part and a ↵alberth
size/position part.
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