mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-14 00:43:35 +02:00
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:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user