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:
2015-07-11 22:07:25 +02:00
parent bc4a8cc364
commit 92656b5981
2 changed files with 10 additions and 11 deletions

View File

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