summaryrefslogtreecommitdiff
path: root/src/widget.cpp
AgeCommit message (Collapse)Author
2009-08-14(svn r17173) -Codechange: Vertically align WWT_TEXT widget, generalize ↵alberth
vertical alignment of label and text buttons.
2009-08-14(svn r17171) -Doc: Additions and corrections of various doxygen strings.alberth
2009-08-14(svn r17169) -Codechange: apply coding style to some for statementssmatz
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-01(svn r17023) -Revert (r16839): FillNestedArray() was less obsolete than ↵alberth
anticipated.
2009-08-01(svn r17017) -Fix (r17008): Setup padding for WWT_MATRIX.alberth
2009-07-26(svn r16963) -Codechange: Added NWidgetViewport widget.alberth
2009-07-26(svn r16961) -Codechange: Moving some methods up in the class hierarchy to ↵alberth
avoid code duplication.
2009-07-25(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized ↵alberth
strings.
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-18(svn r16871) -Codechange: Generalize GetWidgetContentSize to ↵alberth
UpdateWidgetSize for better control over widget size and resize steps.
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-16(svn r16843) -Codechange: More documentation for the WWT_MATRIX widget, and ↵alberth
better variable names in matrix rendering function.
2009-07-16(svn r16842) -Cleanup: add some spaces around a few operatorsrubidium
2009-07-15(svn r16839) -Codechange: Remove obsolete FillNestedArray().alberth
2009-07-15(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.alberth
2009-07-15(svn r16837) -Codechange: Collect largest used index while constructing ↵alberth
nested widget tree.
2009-07-12(svn r16798) -Fix [FS#3016]: Added several new widget distances for better ↵alberth
widget size computations.
2009-07-12(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)alberth
2009-07-05(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size ↵alberth
in the widgets.
2009-07-04(svn r16740) -Codechange: Self-sizing widgets in intro screen, town ↵alberth
directory, and found town windows.
2009-07-02(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.alberth
2009-06-28(svn r16689) -Codechange: Allow for rendering of parameterized text of ↵alberth
nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-26(svn r16670) -Codechange: Containers with equally sized children are useful ↵alberth
to have.
2009-06-20(svn r16609) -Codechange: Introduction of widget sizes and offsets used ↵alberth
while drawing.
2009-06-14(svn r16575) -Fix (r15760): Move resize sprite to the right when widget is ↵alberth
lowered for RTL languages also.
2009-06-07(svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given ↵alberth
away to a child from the total (Hirundo).
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 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