Use dynamic font in CVolumeBar

Origin commit data
------------------
Commit: 5267667cfb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-28 (Fri, 28 Jun 2013)
This commit is contained in:
Michael Liebmann
2013-06-28 05:51:51 +02:00
committed by Thilo Graf
parent 10cb9d1953
commit 1b938c2b08
3 changed files with 13 additions and 7 deletions

View File

@@ -40,7 +40,6 @@ class CVolumeBar : public CComponentsForm
CComponentsPicture *vb_icon;
CComponentsLabel *vb_digit;
int vb_digit_mode;
Font* vb_font;
int VolumeFont;
int sy, sw, sh;
int mute_ax, mute_ay, mute_dx, mute_dy, mute_ay_old;
@@ -120,6 +119,8 @@ class CVolumeHelper
CVolumeHelper();
static CVolumeHelper* getInstance();
Font** vb_font;
void getSpacer(int *h, int *v) { *h = h_spacer; *v = v_spacer; }
void getDimensions(int *_x, int *_y, int *_sw, int *_sh, int *_iw, int *_dw) { *_x = x; *_y = y; *_sw = sw; *_sh = sh; *_iw = icon_width; *_dw = digit_width; }
void getMuteIconDimensions(int *_x, int *_y, int *w, int *h) { *_x = mute_ax; *_y = mute_ay+mute_corrY; *w = mute_dx; *h = mute_dy; }