summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
AgeCommit message (Collapse)Author
2021-06-26Codechange: use _cur_palette the same in all the driversPatric Stout
It was a bit of a mixed bag. With this change, gfx.cpp is in control who accesses _cur_palette from the video-drivers.
2021-06-12Codechange: Use dynamic string list for contents of land info window.Michael Lutz
2021-05-08Codechange: introduce SpriteFile to be used by the sprite loader instead of ↵Rubidium
the global FIO slot functionality
2021-05-06Codechange: add DrawString(Multiline) that accepts std::string&rubidium42
2021-04-30Codechange: Simplify calling of DrawCharCentered()Peter Nelson
2021-04-22Codechange: Add internal widget alignment property, along with widget part.Peter Nelson
2021-02-28Add: settings to limit your fast-forward game speedPatric Stout
By default this setting is set to 2500% normal game speed.
2021-02-14Feature: Automatic UI and font zoom levels when supported by the OS.Michael Lutz
2021-01-13Feature: Show rainforest under vegetation on small mapSamuXarick
2020-06-09Cleanup: Give `SetDirtyBlocks` a more descriptive name.TechGeekNZ
2020-05-21Codechange: Consistently use WChar when passing characters around, and also ↵Michael Lutz
define it as char32_t.
2020-01-07Add: Filled polygon drawing functionNiels Martin Hansen
2020-01-05Add: Highlight item under mouse in file browserNiels Martin Hansen
2020-01-04Feature: Minimap screenshotTELK
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-04-18Codechange: use std::vector for _resolutionsglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-06Codechange: Use platform independent C++11 function for sleeping on a thread.Michael Lutz
2018-06-24Fix: Poor contrast in cargo dest flow legend window cargo labels.Jonathan G Rennison
Select foreground colour depending on the brightness of the background. Previously all cargo labels were rendered using black text, even the background cargo colour was dark/black. As an example: FIRS coal was black text on a black background.
2017-03-25(svn r27829) -Fix (r27821): Occasional crash caused by mixing int/uint ↵peter1138
arithmetic.
2017-03-23(svn r27821) -Change: Draw images in centre of buttons (inspired by Juanjo)peter1138
2016-12-25(svn r27711) -Doc: Fontsizes (adf88)frosch
2016-08-15(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.frosch
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