summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MyDetails/src/frame.cpp')
-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);