mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Add FontCollection implementation
The D2D implementation is a stub for now.
This commit is contained in:
@ -152,11 +152,10 @@ class CMeasure;
|
||||
class CMeter;
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
class Canvas;
|
||||
class FontCollection;
|
||||
class TextFormat;
|
||||
|
||||
} // namespace Gfx
|
||||
}
|
||||
|
||||
class CMeterWindow : public CGroup
|
||||
{
|
||||
@ -249,7 +248,7 @@ public:
|
||||
|
||||
void MakePathAbsolute(std::wstring& path);
|
||||
|
||||
Gdiplus::PrivateFontCollection* GetPrivateFontCollection() { return m_FontCollection; }
|
||||
Gfx::FontCollection* GetFontCollection() { return m_FontCollection; }
|
||||
|
||||
CMeter* GetMeter(const std::wstring& meterName);
|
||||
CMeasure* GetMeasure(const std::wstring& measureName) { return m_Parser.GetMeasure(measureName); }
|
||||
@ -460,7 +459,7 @@ private:
|
||||
int m_UpdateCounter;
|
||||
UINT m_MouseMoveCounter;
|
||||
|
||||
Gdiplus::PrivateFontCollection* m_FontCollection;
|
||||
Gfx::FontCollection* m_FontCollection;
|
||||
|
||||
bool m_ToolTipHidden;
|
||||
|
||||
|
Reference in New Issue
Block a user