mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Improved drawing performance. Now uses DIBSection bitmap for UpdateLayeredWindow.
This commit is contained in:
@ -292,9 +292,16 @@ private:
|
||||
void SetWindowPositionVariables(int x, int y);
|
||||
void SetWindowSizeVariables(int w, int h);
|
||||
|
||||
void CreateDoubleBuffer(int cx, int cy);
|
||||
|
||||
CConfigParser m_Parser;
|
||||
|
||||
Gdiplus::Bitmap* m_DoubleBuffer;
|
||||
HBITMAP m_DIBSectionBuffer;
|
||||
LPDWORD m_DIBSectionBufferPixels;
|
||||
int m_DIBSectionBufferW;
|
||||
int m_DIBSectionBufferH;
|
||||
|
||||
Gdiplus::Bitmap* m_Background; // The background bitmap
|
||||
SIZE m_BackgroundSize;
|
||||
|
||||
|
Reference in New Issue
Block a user