SmallJoker
4eb3baa51e
StaticText: Reset background on EnrichedString change ( #9340 )
...
This also fixes the F6 profiler background color -> now controlled by EnrichedString
2020-02-01 20:41:32 +01:00
SmallJoker
1892ff3c0d
StaticText/EnrichedString: Styling support ( #9187 )
...
* StaticText/EnrichedString: Styling support
* Fix tooltip fg/bgcolor
* Fix default color for substr(), add unittests
2020-01-22 19:09:11 +01:00
Hugues Ross
9284313d17
Refactor to centralize GUIButton styling/rendering code ( #9090 )
2019-12-09 20:06:51 +00:00
Pierre-Yves Rollo
72416a6a1f
Formspec: add hypertext element
2019-11-03 11:45:33 +01:00
SmallJoker
233cb86e86
Clean up and fix freetype=false crashes ( #8641 )
...
A IGUIFont of type bitmap/vector cannot be converted to CGUITTFont
Fixes various segfaults in gameplay
Shorter font cache code, cleaned up (?)
2019-08-06 21:33:13 +02:00
Loïc Blot
02a23892f9
LINT fixes since recent tooling update
2019-03-14 12:30:13 +01:00
Loïc Blot
a6a04c4b5b
Update our tooling (Clang 5 -> 7, GCC 7 -> 8)
...
This change permits to use up-to-date compilers, clang-tidy and
clang-format
It also refactor the tidy/format step to drop the binary selection from
scripts and perform it directly in travis
2019-03-14 12:30:13 +01:00
rubenwardy
38f6e7a198
Fix cast from const by accessing string data directly ( #8354 )
...
Fixes #8327
2019-03-12 08:58:02 +01:00
Leonid Bobrov
339341ba4e
DragonFly BSD is somewhat identical to FreeBSD ( #8159 )
2019-02-03 09:53:54 +01:00
number Zero
d90e3ea88d
Drop .NET-specific workaround: _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
2018-11-11 18:08:15 +01:00
rubenwardy
8d68b2cd21
Fix debug and info text being the wrong color
...
Fixes #7623
2018-08-05 23:16:05 +01:00
rubenwardy
1836882495
Fix tooltip colors specified by formspec part
2018-08-04 19:01:07 +01:00
Loic Blot
6f2fe8a554
Forget to fix non freetype build in StaticText
2018-01-12 08:36:38 +01:00
Loic Blot
9146c6a50f
Don't recalculate statustext initial color everytime & review fixes
2018-01-05 20:59:30 +01:00
Loic Blot
3a772e7ed6
GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on StaticText
...
Other enhancements:
* C++ friendlyness for addStaticText() -> move to static StaticText::add()
2018-01-05 20:59:30 +01:00
Loïc Blot
921151d97a
C++ modernize: Pragma once ( #6264 )
...
* Migrate cpp headers to pragma once
2017-08-17 22:19:39 +02:00
Loïc Blot
16938adfc0
Merge cguittfont lib in irrlicht change folder. ( #6016 )
...
* Merge cguittfont lib in irrlicht change folder.
This remove hack and static lib for FreeType
2017-06-20 17:18:34 +02:00
sfan5
084cdea686
Irrlicht 1.9 support
2016-12-26 22:36:22 +01:00
Ekdohibs
14ef2b445a
Add colored text (not only colored chat).
...
Add documentation, move files to a proper place and avoid memory leaks.
Make it work with most kind of texts, and allow backgrounds too.
2016-05-31 17:34:29 +02:00