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:
2013-09-10 21:54:08 +02:00
parent dc27148825
commit 8d52697ff9
2 changed files with 51 additions and 34 deletions

View File

@@ -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();