mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
CComponentsButton: simplify paint of button icon
Calculation of image aspect ratio now happens in picture object itself.
Origin commit data
------------------
Commit: b47a0ccaeb
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-11 (Sat, 11 Jul 2015)
This commit is contained in:
@@ -47,7 +47,7 @@ class CComponentsButton : public CComponentsFrmChain
|
||||
{
|
||||
protected:
|
||||
///object: picture object
|
||||
CComponentsPicture *cc_btn_icon_obj;
|
||||
CComponentsPictureScalable *cc_btn_icon_obj;
|
||||
///object: label object
|
||||
CComponentsLabel *cc_btn_capt_obj;
|
||||
|
||||
|
Reference in New Issue
Block a user