mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
CComponentsButton: use dynamic fonts, remove old font handling
Origin commit data
------------------
Commit: c3a3eea0d8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-10 (Tue, 10 Sep 2013)
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "cc.h"
|
||||
#include "cc_frm.h"
|
||||
#include <string>
|
||||
#include <driver/neutrinofonts.h>
|
||||
|
||||
//! Sub class of CComponentsForm.
|
||||
/*!
|
||||
@@ -55,11 +56,8 @@ class CComponentsButton : public CComponentsForm
|
||||
fb_pixel_t cc_btn_capt_col;
|
||||
///object: text font
|
||||
Font* cc_btn_font;
|
||||
///property: label object width, too long text will be truncated
|
||||
int cc_btn_text_w;
|
||||
///property: label object heigth
|
||||
int cc_btn_text_h;
|
||||
|
||||
///object: dynamic font object handler
|
||||
CNeutrinoFonts *cc_btn_dy_font;
|
||||
|
||||
///initialize picture object
|
||||
void initIcon();
|
||||
|
Reference in New Issue
Block a user