mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsFrmClock: set font only with fontrender object
Origin commit data
------------------
Commit: 03ef18cdb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-18 (Tue, 18 Jun 2013)
This commit is contained in:
@@ -57,12 +57,11 @@ class CComponentsFrmClock : public CComponentsForm
|
||||
///raw time chars
|
||||
char cl_timestr[20];
|
||||
|
||||
//TODO: please add comments!
|
||||
bool paintClock;
|
||||
bool activeClock;
|
||||
|
||||
///font
|
||||
int cl_font_type;
|
||||
///fontrenderer object
|
||||
///object: font render object
|
||||
Font *cl_font;
|
||||
///text color
|
||||
int cl_col_text;
|
||||
@@ -88,7 +87,7 @@ class CComponentsFrmClock : public CComponentsForm
|
||||
~CComponentsFrmClock();
|
||||
|
||||
///set font type for segments
|
||||
void setClockFontType(const int& font_type){cl_font_type = font_type;};
|
||||
void setClockFont(Font *font){cl_font = font;};
|
||||
|
||||
///set text color
|
||||
void setTextColor(fb_pixel_t color_text){ cl_col_text = color_text;};
|
||||
|
Reference in New Issue
Block a user