Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (35 sloc) 1.14 KB
/* Copyright (C) 2001 Rainmeter Project Developers
* This Source Code Form is subject to the terms of the GNU General Public
* License; either version 2 of the License, or (at your option) any later
* version. If a copy of the GPL was not distributed with this file, You can
* obtain one at <>. */
#ifndef __METERROTATOR_H__
#define __METERROTATOR_H__
#include "Meter.h"
#include "TintedImage.h"
class MeterRotator : public Meter
MeterRotator(Skin* skin, const WCHAR* name);
virtual ~MeterRotator();
MeterRotator(const MeterRotator& other) = delete;
MeterRotator& operator=(MeterRotator other) = delete;
virtual UINT GetTypeID() { return TypeID<MeterRotator>(); }
virtual void Initialize();
virtual bool Update();
virtual bool Draw(Gfx::Canvas& canvas);
virtual void ReadOptions(ConfigParser& parser, const WCHAR* section);
TintedImage m_Image;
std::wstring m_ImageName;
bool m_NeedsReload;
double m_OffsetX;
double m_OffsetY;
double m_StartAngle;
double m_RotationAngle;
UINT m_ValueRemainder;
double m_Value;
Jump to Line
Something went wrong with that request. Please try again.