summaryrefslogtreecommitdiff
path: root/src/widget.cpp
AgeCommit message (Collapse)Author
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 r16501) -Codechange: Introduced different phases in resizing a nested ↵alberth
widget tree.
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-23(svn r16405) -Codechange: Move widget drawing code to functions to allow re-use.alberth
2009-05-21(svn r16372) -Codechange: Simplify size calculations with a few helper ↵alberth
functions.
2009-05-21(svn r16371) -Codechange (r16367): Properly align comments.alberth
2009-05-21(svn r16370) -Doc: Improvements to the nested widgets documentation, added ↵alberth
explanation about computations, fixed typo in param description.
2009-05-21(svn r16369) -Codechange: Renaming ComputeMinimalSize() to ↵alberth
SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore.
2009-05-21(svn r16367) -Codechange: Do not use min_x and min_y for storing smallest ↵alberth
size to allow initialization more than once.
2009-05-04(svn r16226) -Codechange: Separating generation of a widget array from ↵alberth
WindowDesc to the InitializeWidgetArrayFromNestedWidgets function.
2009-05-02(svn r16201) -Codechange: Add NWidgetBase::SetPadding method.alberth
2009-04-30(svn r16190) -Codechange: Allow stacking of nested widgets.alberth
2009-04-30(svn r16189) -Doc: Additions and improvement of (mainly) nested ↵alberth
widgets/widget-parts doxygen docs.
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-25(svn r16140) -Codechange: Call a function while contructing a widget tree.alberth
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-29(svn r15889) -Codechange: Add pre/inter/post space to nested background widgetsalberth
2009-03-28(svn r15872) -Codechange: add paddings for widgets, this makes writing new ↵yexo
widget arrays less cumbersome.
2009-03-26(svn r15861) -Codechange: Add NWID_HORIZONTAL_LTR that forces the ordering ↵yexo
from left-to-right.
2009-03-26(svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided ↵glx
window caption string
2009-03-25(svn r15842) -Codechange: make DrawSortButtonState RTL.rubidium
2009-03-23(svn r15833) -Fix: alignment of up/down arrows and closebox when in RTL 'view'rubidium
2009-03-23(svn r15827) -Fix (r15823): line still was a bit too longyexo
2009-03-23(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace ↵yexo
it with WWT_DROPDOWN.
2009-03-22(svn r15823) -Codechange: prepare the WWT_FRAME and WWT_DROPDOWN(IN) widget ↵yexo
types for rtl languages.
2009-03-22(svn r15819) -Add: Nested widgets frameworkalberth
2009-03-22(svn r15812) -Codechange: use the new DrawString API in another set of GUIsrubidium
2009-03-21(svn r15794) -Codechange: remove the DoDrawString part of the old text ↵rubidium
drawing API
2009-03-21(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.rubidium
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-21(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windowsglx
2009-03-21(svn r15782) -Codechange: replace some calls to the all text drawing API to ↵rubidium
the new one.
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-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
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 r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
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-08-11(svn r14040) -Codechange:Remove a hard coded value that is not even ↵belugas
representative, since captions have their own encoded colours in string.
2008-08-04(svn r13987) -Codechange: Resize small map legend dynamically on window ↵peter1138
resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space.
2008-08-03(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero ↵peter1138
height or zero width) widgets.
2008-08-02(svn r13920) -Codechange: uniformise the definition with the declaration of ↵belugas
DrawFrameRect
2008-08-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
2008-08-01(svn r13907) -Codechange: Replace a number with Colours enum on ↵belugas
DrawFrameRect usage
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.