mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CComponentsButton: simplify paint of button icon
Calculation of image aspect ratio now happens in picture object itself.
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