mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Added support for transformation matrix in meters.
This commit is contained in:
@ -231,14 +231,12 @@ bool CMeterImage::Update()
|
||||
** Draws the meter on the double buffer
|
||||
**
|
||||
*/
|
||||
bool CMeterImage::Draw()
|
||||
bool CMeterImage::Draw(Graphics& graphics)
|
||||
{
|
||||
if(!CMeter::Draw()) return false;
|
||||
if(!CMeter::Draw(graphics)) return false;
|
||||
|
||||
if (m_Bitmap != NULL)
|
||||
{
|
||||
Graphics graphics(m_MeterWindow->GetDoubleBuffer());
|
||||
|
||||
// Copy the image over the doublebuffer
|
||||
int x = GetX();
|
||||
int y = GetY();
|
||||
|
Reference in New Issue
Block a user