summaryrefslogtreecommitdiff
path: root/plugins/MyDetails
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 18:30:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 18:30:42 +0300
commit8557d288376ccc87bd54f2a76c99f77115949f02 (patch)
treefdb3f8cac9215adc4493d26abb935bd5c1f54b2e /plugins/MyDetails
parentfeac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (diff)
m_fontservice.h => CMPlugin
Diffstat (limited to 'plugins/MyDetails')
-rw-r--r--plugins/MyDetails/src/frame.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp
index f6ba0111eb..42a2565445 100644
--- a/plugins/MyDetails/src/frame.cpp
+++ b/plugins/MyDetails/src/frame.cpp
@@ -225,8 +225,8 @@ int CreateFrame()
{
HDC hdc = GetDC(nullptr);
- Colour_Register(&bg_colour);
- Colour_Register(&av_colour);
+ g_plugin.addColor(&bg_colour);
+ g_plugin.addColor(&av_colour);
ReloadColour(0, 0);
HookEvent(ME_COLOUR_RELOAD, ReloadColour);
@@ -249,7 +249,7 @@ int CreateFrame()
mir_wstrncpy(font_id[i].deffontsettings.szFace, L"Tahoma", _countof(font_id[i].deffontsettings.szFace));
font_id[i].order = i;
font_id[i].flags = FIDF_DEFAULTVALID;
- Font_RegisterW(&font_id[i]);
+ g_plugin.addFont(&font_id[i]);
}
ReleaseDC(nullptr, hdc);