- delete / initialize font renderer only if necessary
(e.g. start program, change the font file, change the scaling)
Origin commit data
------------------
Commit: e473df6a43
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-26 (Fri, 26 Jul 2013)
Origin message was:
------------------
CNeutrinoFonts: Use separate font renderer for dynamic fonts
- delete / initialize font renderer only if necessary
(e.g. start program, change the font file, change the scaling)
- use std::string for font and style names
Origin commit data
------------------
Commit: aca97e210e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)
- Dynamic fonts with their size matched to a given text box.
The display size is retained even when changing the font size factor.
- "Normal" dynamic fonts, characterized by FONT_ID_SHARE in
CNeutrinoFonts::getDynFont() can be used by several objects
simultaneously. That is, if the calculated font size and font style
are the same, the existing font is used.
- Dynamic font for exclusive application will only be used by an object.
For this, a FontID (FONT_ID_xxx, defined in src/driver/neutrinofonts.h)
in CNeutrinoFonts::getDynFont() is specified.
- Objects with dynamic font for exclusive application can resize at
run time, the font size will be adjusted accordingly.
- The return value of CNeutrinoFonts::getDynFont() is a pointer
to a font, for example:
Font** font = CNeutrinoFonts::getInstance()->getDynFont(...);
(*font)->RenderString(...)
Origin commit data
------------------
Commit: 0bcb7bcfae
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-28 (Fri, 28 Jun 2013)
Origin message was:
------------------
Add dynamic fonts to CNeutrinoFonts
- Dynamic fonts with their size matched to a given text box.
The display size is retained even when changing the font size factor.
- "Normal" dynamic fonts, characterized by FONT_ID_SHARE in
CNeutrinoFonts::getDynFont() can be used by several objects
simultaneously. That is, if the calculated font size and font style
are the same, the existing font is used.
- Dynamic font for exclusive application will only be used by an object.
For this, a FontID (FONT_ID_xxx, defined in src/driver/neutrinofonts.h)
in CNeutrinoFonts::getDynFont() is specified.
- Objects with dynamic font for exclusive application can resize at
run time, the font size will be adjusted accordingly.
- The return value of CNeutrinoFonts::getDynFont() is a pointer
to a font, for example:
Font** font = CNeutrinoFonts::getInstance()->getDynFont(...);
(*font)->RenderString(...)
- move SetupFonts() from CNeutrinoApp to CFontSetup
Origin commit data
------------------
Commit: 465d2aba23
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-27 (Thu, 27 Jun 2013)
There are a lot of possible conversion problems
to one data type from other datatype those may alter values.
Sure, not for all, but on this quantity it's not to be underestimated.
This should be considered in more detail and should be
corrected over time, if required.
Origin commit data
------------------
Commit: e199d0c558
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-18 (Thu, 18 Jul 2013)
This removes some annoying warnings with specific compiler flags.
Origin commit data
------------------
Commit: 71423089b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-11 (Thu, 11 Jul 2013)
It's a partial solution to use full functionality for size handling
of CTextBox in CComponentsText.
Origin commit data
------------------
Commit: a6c43a62bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-12 (Fri, 12 Jul 2013)
Obtain of one instance of CBox() should working
just as like a new instance.
Origin commit data
------------------
Commit: 25c40a63dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-07 (Sun, 07 Jul 2013)
- If necessary, Correct data types of the color values
Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)