summaryrefslogtreecommitdiff
path: root/src/widget.cpp
AgeCommit message (Collapse)Author
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.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-03-26(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so ↵rubidium
someone without a keyboard can enter text too. Patch by Dominik.
2008-03-24(svn r12405) -Codechange: some coding style and 'untodoifying' some comments ↵rubidium
that were certainly not todos.
2008-01-26(svn r11988) -Codechange: Add a generic way of changing a widget's size and ↵peter1138
adjust the widgets around it to suit.
2008-01-25(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up ↵peter1138
missing/shuffled sprites in original data files instead of shuffling or skipping sprites directly. Some required glyphs were not loaded. -Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-17(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, ↵peter1138
to eventually replace use of two widgets for each dropdown control.
2008-01-17(svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect ↵peter1138
is that it is now possible for any widget type to be shown disabled.
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.