TODO: This should be controlled inside header base class.
paint() method seems suitable.
I Will try to implement it soon.
Origin commit data
------------------
Commit: 97ed7cdaf7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)
cornerRad() is not really the best solution.
Inner items are fit with full height and should use the same value.
Origin commit data
------------------
Commit: 3f0b81f0a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-28 (Sat, 28 Jan 2017)
height is wrong and calculations for digit positions could be confused
Origin commit data
------------------
Commit: 4d2dd415c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-28 (Sat, 28 Jan 2017)
Details_line was not removed in all constellations when menu was closed.
Sample: open main menue and select an entry with connect-line, eg. plugins,
press key to come into submenu, then go back to main menue and close
menu with home key, result: it's possible that line is still on screen.
Origin commit data
------------------
Commit: 76008371ff
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)
dependent on g_settings.theme.infobar_gradient_*
Origin commit data
------------------
Commit: a7ef709e55
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-25 (Wed, 25 Jan 2017)
Current channel name was out of center and a clean up of header
background was required because texts are only painted with transparent background and old texts are futher visible.
Now we have a clean background before repaint logo or new channel names.
Origin commit data
------------------
Commit: 17a84f0e75
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
This causes repaint text on next view of infobar.
Origin commit data
------------------
Commit: 0de9490326
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.
Origin commit data
------------------
Commit: 4c71edbd3c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
Requried to paint form items only on changed contents and on repaint
Origin commit data
------------------
Commit: 5c8aa90e01
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
should help for some repaint actions
Origin commit data
------------------
Commit: 384e98c089
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
was not removed from screen
Origin commit data
------------------
Commit: b2f1226324
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
refreshText() executes loop also for text with more than one line
and m_old_cText attribut should be updated only if loop is ready. Otherwise
in text boxes with more than one line, only first line would be painted.
Origin commit data
------------------
Commit: 2f24e98252
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
If clock removed from screen and instance is not destroyed, then we must
ensure repaint of segments after painted background.
This is required if segments are only will paint if
their content was changed and attribut ct_force_text_paint = false.
Origin commit data
------------------
Commit: 81f26a327d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
value was not clearly, hope i'ts now
Origin commit data
------------------
Commit: 1120e3a37d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Shoul help in together with changed text content
to control required text render.
Origin commit data
------------------
Commit: d31deac545
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Will be already done after each text render.
Origin commit data
------------------
Commit: ae903ddb2f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Should prevent unintended possible overlap on multiple font render.
Origin commit data
------------------
Commit: 9b69803ca4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-10 (Tue, 10 Jan 2017)
- For the correct use of the changes should be built freetype
with the following settings:
#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.5-2.7
-----------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.7.1
---------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
Origin commit data
------------------
Commit: 97d1d93c93
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-24 (Tue, 24 Jan 2017)
Origin message was:
------------------
fontrenderer: Rework rendering for better font presentation
- For the correct use of the changes should be built freetype
with the following settings:
#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.5-2.7
-----------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
BS-Patch for freetype 2.7.1
---------------------------
** include/freetype/config/ftoption.h **
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
ensures paint of data on each repaint.
Origin commit data
------------------
Commit: 9df86b6c37
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
Stop() was never touched with string version of setCaption()
Origin commit data
------------------
Commit: 58316d2091
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-21 (Sat, 21 Jan 2017)
Init is passed with paintFbItems() at the end of paint() methode.
Origin commit data
------------------
Commit: 5f0aea48d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-30 (Mon, 30 Jan 2017)