summaryrefslogtreecommitdiff
path: root/src/widget.cpp
AgeCommit message (Collapse)Author
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.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-16(svn r11643) -Codechange: conform with the coding style for the WP macro uses.rubidium
2007-12-07(svn r11588) -Codechange: use the new member introduced in r11551glx
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-25(svn r11518) -Codechange: enforce (by assert) unused parameters of widgets ↵smatz
to be zero. Better readability of DrawWindowWidgets(), too
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-03-10(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple ↵belugas
truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
2007-01-24(svn r8390) -Codechange (r8384): Rewrote ResizeButtons()bjarni
Now it only works on first and last widget to resize It now works with offsets correctly (no longer assumes the left is 0) It's no longer needed to have a widget right of the ones you resize Can handle any number of widgets
2007-01-24(svn r8384) -Codechange: [GUI] instead of writing a resize button function ↵bjarni
for each window, a global ResizeButtons() is added
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)