summaryrefslogtreecommitdiff
path: root/src/widget.cpp
AgeCommit message (Collapse)Author
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
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.