mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Added AutoScale=2 and "k" postfix to Meter=STRING.
---- For instance: A=2800000000, B=0 - AutoScale=0 AutoScale is disabled. Uses Scale value. (Same as before.) A="2800000000", B="0" - AutoScale=1 Scales value by 1024. (Same as before.) A="2.6 G", B="0.0 " - AutoScale=2 Scales value by 1000. A="2.8 G", B="0.0 " - AutoScale=1k Scales value by 1024, and uses kilo as the lowest unit. A="2.6 G", B="0.0 k" - AutoScale=2k Scales value by 1000, and uses kilo as the lowest unit. A="2.8 G", B="0.0 k" ----
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
|
||||
#include "Meter.h"
|
||||
#include "MeterWindow.h"
|
||||
#include "Measure.h"
|
||||
|
||||
namespace Gdiplus
|
||||
{
|
||||
@ -78,7 +79,7 @@ private:
|
||||
std::wstring m_Prefix; // The prefix of the text
|
||||
std::wstring m_Text; // The text
|
||||
std::wstring m_FontFace; // name of the font face
|
||||
bool m_AutoScale; // true, if the value should be autoscaled
|
||||
AUTOSCALE m_AutoScale; // true, if the value should be autoscaled
|
||||
METER_ALIGNMENT m_Align; // Alignment of the text
|
||||
TEXTSTYLE m_Style; // Style of the text
|
||||
TEXTEFFECT m_Effect; // Text effect
|
||||
|
Reference in New Issue
Block a user