summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
AgeCommit message (Collapse)Author
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-10-11(svn r26990) -Feature: Add option to choose normal, double or quad-size ↵peter1138
interface.
2014-04-27(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video ↵frosch
modes. -Remove: [win32] fullscreen_bpp setting, which is replaced by above setting. -Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
2014-01-03(svn r26217) -Change: blitter autoselection based on full animation state, ↵rubidium
so the non-animated optimizations can actually be used in an easy manner (based on patch by MJP)
2013-10-23(svn r25911) -Add: Support for drawing dashed lines.fonsinchen
2013-10-06(svn r25816) -Add [FS#5748]: Toggle button for wrapping lines in the ↵frosch
textfile GUI (LordAro)
2013-08-05(svn r25692) -Add: Replacement of a part of the edit box text with a new string.michi_cc
2013-08-05(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition ↵michi_cc
string.
2013-08-05(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.michi_cc
2013-08-05(svn r25679) -Codechange: [Win32] Get the result string of an IME input ↵michi_cc
directly without a trip through the window messaging system.
2013-08-05(svn r25671) -Codechange: Pass character and key code separately to the ↵michi_cc
keyboard handler.
2013-08-05(svn r25651) -Fix: Textbuf caret rendering for complex scripts (e.g. Tamil).michi_cc
2013-06-24(svn r25455) -Cleanup: make local function really localrubidium
2013-06-24(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other ↵rubidium
than default fonts, so get rid of it
2013-06-23(svn r25442) -Codechange: move height and ascender information into the ↵rubidium
FontCache instances
2013-06-09(svn r25343) -Add: method to count the number of lines required to draw a ↵zuu
string with line warping
2013-06-01(svn r25314) -Fix (r25313): If '0' is the broadest digit, 0 * sum(10^i, ↵frosch
i=0..(n-1)) is not the broadest n-digit number. -Fix [FS#5562]: Proper size-estimation for numbers with n digits.
2013-06-01(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all ↵frosch
of them.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-11-07(svn r24668) -Feature(ette) [FS#5311]: Draw cargo labels in the station list ↵frosch
black or white depending on the background colour. (sbr)
2012-01-12(svn r23791) -Fix [FS#4960]: resize text panel for parameter description if ↵yexo
it doesn't fit in 4 lines. If you resize the window so it's smaller than default the text might still not fit
2011-12-10(svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ↵rubidium
ability to find a font
2011-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-20(svn r23274) -Add: internal support for a monospaced sprite fontrubidium
2011-11-20(svn r23272) -Codechange: pass the initial font size to DrawString and friends rubidium
2011-07-02(svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the ↵frosch
lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing.
2011-05-07(svn r22433) -Add/Fix: Add constants for the palette colours used in the ↵frosch
smallmap and fix some windows palette indices.
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-05-04(svn r22419) -Change: Always use the DOS palette for drawing.frosch
-Remove: the '-i' option for palette selection.
2011-04-02(svn r22291) -Add: a linewidth argument to GfxDrawLine() and ↵frosch
Blitter::DrawLine().
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-08-05(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. ↵frosch
changing base graphics, so the cursor does not glitch if it becomes bigger.
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)