mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Added #CURRENTSECTION# variable.
For instance: ----- [Variables] Var=#CURRENTSECTION# [StyleString] Text=#CURRENTSECTION# [MeterString] Meter=String MeterStyle=StyleString Prefix="#CURRENTSECTION# / " Postfix=" / #Var#" ----- Displays: MeterString / MeterString / Variables - Additional changes for r677. * Obsoleted DebugLog(). Use LogWithArgs() with LOG_DEBUG instead. * Added Log().
This commit is contained in:
@ -385,7 +385,7 @@ bool CMeterBitmap::Draw(Graphics& graphics)
|
||||
}
|
||||
}
|
||||
|
||||
// DebugLog(L"[%u] Value: %f Frame: %i (Transition = %s)", GetTickCount(), m_Value, frame, m_TransitionStartTicks > 0 ? L"true" : L"false");
|
||||
// LogWithArgs(LOG_DEBUG, L"[%u] Value: %f Frame: %i (Transition = %s)", GetTickCount(), m_Value, frame, m_TransitionStartTicks > 0 ? L"true" : L"false");
|
||||
|
||||
if(bitmap->GetHeight() > bitmap->GetWidth())
|
||||
{
|
||||
@ -451,7 +451,7 @@ bool CMeterBitmap::Draw(Graphics& graphics)
|
||||
}
|
||||
}
|
||||
|
||||
// DebugLog(L"[%u] Value: %f Frame: %i (Transition = %s)", GetTickCount(), m_Value, frame, m_TransitionStartTicks > 0 ? L"true" : L"false");
|
||||
// LogWithArgs(LOG_DEBUG, L"[%u] Value: %f Frame: %i (Transition = %s)", GetTickCount(), m_Value, frame, m_TransitionStartTicks > 0 ? L"true" : L"false");
|
||||
|
||||
if(bitmap->GetHeight() > bitmap->GetWidth())
|
||||
{
|
||||
|
Reference in New Issue
Block a user