summaryrefslogtreecommitdiff
path: root/plugins/Alarms/src/frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/src/frame.cpp')
-rwxr-xr-xplugins/Alarms/src/frame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp
index f9c435a518..e756521f6d 100755
--- a/plugins/Alarms/src/frame.cpp
+++ b/plugins/Alarms/src/frame.cpp
@@ -561,7 +561,7 @@ int CreateFrame()
strncpy_s(font_id.dbSettingsGroup, MODULENAME, _TRUNCATE);
strncpy_s(font_id.prefix, "Font", _TRUNCATE);
font_id.order = 0;
- Font_Register(&font_id);
+ g_plugin.addFont(&font_id);
framebk_colour_id.cbSize = sizeof(ColourID);
strncpy_s(framebk_colour_id.dbSettingsGroup, MODULENAME, _TRUNCATE);
@@ -571,7 +571,7 @@ int CreateFrame()
framebk_colour_id.defcolour = GetSysColor(COLOR_3DFACE);
framebk_colour_id.flags = 0;
framebk_colour_id.order = 0;
- Colour_Register(&framebk_colour_id);
+ g_plugin.addColor(&framebk_colour_id);
LOGFONTA log_font;
fontColour = Font_Get(font_id, &log_font);