summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
AgeCommit message (Collapse)Author
2010-07-31(svn r20256) -Codechange: add a DrawStringMultiline variant that accepts ↵yexo
const char* instead of StringID
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-05-30(svn r19911) -Codechange: Simplify text drawing by eliminating global ↵frosch
variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine().
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2009-12-20(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the ↵rubidium
depot
2009-11-17(svn r18143) -Codechange: allow stripping/ignoring of SETX(Y) during DrawStringrubidium
2009-10-13(svn r17772) -Fix [FS#3264]: CJK languages don't have spaces, so for adding ↵rubidium
newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string.
2009-09-02(svn r17391) -Codechange: Add string box calculation routine for multi-line ↵alberth
strings.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-27(svn r16672) -Codechange: Add functions to compute size of strings and sprites.alberth
2009-06-20(svn r16606) -Doc: Added/fixed doxygen comments.alberth
2009-06-20(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.alberth
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-26(svn r16156) -Codechange: make the parameters of DrawStringMultiline the ↵rubidium
same as for DrawString (except the addition of the bottom parameter)
2009-03-25(svn r15849) -Codechange: provide easy access to the real height of the used ↵rubidium
fonts
2009-03-25(svn r15844) -Codechange: allow text alignment to be forced so the console ↵rubidium
and ai debug output don't get swapped (those are untranslateable anyways)
2009-03-22(svn r15813) -Codechange: remove the last remnants of the old text drawing API.rubidium
2009-03-22(svn r15803) -Codechange: use the new text drawing API for multicenterrubidium
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-21(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the ↵rubidium
new one.
2009-03-21(svn r15796) -Codechange: unify multiline drawstringsrubidium
2009-03-21(svn r15794) -Codechange: remove the DoDrawString part of the old text ↵rubidium
drawing API
2009-03-21(svn r15791) -Codechange: remove the *RightAligned 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-21(svn r15779) -Codechange: unify (most) of the text drawing "API".rubidium
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-09-02(svn r14229) -Feature: allow overriding the palette of the base GRFs. This ↵rubidium
way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
2008-08-24(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... ↵rubidium
thus making compilation fail on OSX (planetmaker)
2008-08-23(svn r14146) -Codechange: allow palette override in both ways and remove ↵rubidium
some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-12(svn r14051) -Codechange: enumify the DrawString buffer length.rubidium
2008-08-09(svn r14030) -Fix (r14027): true != false, also rename the parameter to make ↵frosch
'true' and 'false' more intuitively useable.
2008-08-09(svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the ↵belugas
other way around.
2008-08-09(svn r14027) -Codechange: Document a bit the DoDrawString function while ↵belugas
removing yet som more magic numbers and one "false" colour
2008-08-04(svn r13994) -Codechange: replace a few rogue magic numbers with Colours ↵belugas
enum values
2008-08-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
2008-07-22(svn r13787) -Codechange: resize the red error message box if neededsmatz
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-06-18(svn r13571) -Codechange: define channels in struct Colour in different ↵smatz
order on LE and BE machines
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
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-02-17(svn r12167) -Feature(tte): change colour of autorail and autoroad selection ↵smatz
when Ctrl is pressed
2008-01-29(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple ↵rubidium
places.
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.