CComponentsButton: simplify handling of init of buttons with chain class

Origin commit data
------------------
Commit: 7b279ddd33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
This commit is contained in:
2014-04-27 23:51:01 +02:00
parent 3ba2c24cad
commit bd223cb6c9
2 changed files with 29 additions and 51 deletions

View File

@@ -28,7 +28,9 @@
#include <config.h>
#include "cc_base.h"
#include "cc_frm.h"
#include "cc_frm_chain.h"
#include "cc_item_picture.h"
#include "cc_item_text.h"
#include <string>
#include <driver/neutrinofonts.h>
@@ -36,7 +38,7 @@
/*!
Shows a button box with caption and optional icon.
*/
class CComponentsButton : public CComponentsForm
class CComponentsButton : public CComponentsFrmChain
{
protected:
///object: picture object