mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Tweaks
This commit is contained in:
parent
0994fad7e9
commit
27440ed515
@ -25,10 +25,9 @@
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
class Canvas
|
||||
class __declspec(novtable) Canvas
|
||||
{
|
||||
public:
|
||||
Canvas();
|
||||
virtual ~Canvas();
|
||||
|
||||
int GetW() const { return m_W; }
|
||||
@ -72,6 +71,8 @@ public:
|
||||
virtual void FillRectangle(Gdiplus::Rect& rect, const Gdiplus::SolidBrush& brush) = 0;
|
||||
|
||||
protected:
|
||||
Canvas();
|
||||
|
||||
int m_W;
|
||||
int m_H;
|
||||
|
||||
|
@ -37,10 +37,9 @@ enum class VerticalAlignment : BYTE
|
||||
Bottom
|
||||
};
|
||||
|
||||
class TextFormat
|
||||
class __declspec(novtable) TextFormat
|
||||
{
|
||||
public:
|
||||
TextFormat();
|
||||
virtual ~TextFormat();
|
||||
|
||||
virtual bool IsInitialized() = 0;
|
||||
@ -54,6 +53,9 @@ public:
|
||||
virtual void SetVerticalAlignment(VerticalAlignment alignment);
|
||||
VerticalAlignment GetVerticalAlignment() { return m_VerticalAlignment; }
|
||||
|
||||
protected:
|
||||
TextFormat();
|
||||
|
||||
private:
|
||||
TextFormat(const TextFormat& other) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user