diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 18:30:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 18:30:42 +0300 |
commit | 8557d288376ccc87bd54f2a76c99f77115949f02 (patch) | |
tree | fdb3f8cac9215adc4493d26abb935bd5c1f54b2e /plugins/TipperYM/src | |
parent | feac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (diff) |
m_fontservice.h => CMPlugin
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r-- | plugins/TipperYM/src/tipper.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp index bef7a9ae51..bbdf9fa6f5 100644 --- a/plugins/TipperYM/src/tipper.cpp +++ b/plugins/TipperYM/src/tipper.cpp @@ -130,7 +130,7 @@ static void InitFonts() mir_strcpy(colourBg.setting, "ColourBg");
colourBg.defcolour = RGB(219, 219, 219);
colourBg.order = 0;
- Colour_RegisterW(&colourBg);
+ g_plugin.addColor(&colourBg);
colourBorder.cbSize = sizeof(ColourIDW);
mir_wstrcpy(colourBorder.group, LPGENW("Tooltips"));
@@ -139,7 +139,7 @@ static void InitFonts() mir_strcpy(colourBorder.setting, "BorderCol");
colourBorder.defcolour = 0;
colourBorder.order = 0;
- Colour_RegisterW(&colourBorder);
+ g_plugin.addColor(&colourBorder);
colourAvatarBorder.cbSize = sizeof(ColourIDW);
mir_wstrcpy(colourAvatarBorder.group, LPGENW("Tooltips"));
@@ -148,7 +148,7 @@ static void InitFonts() mir_strcpy(colourAvatarBorder.setting, "AvBorderCol");
colourAvatarBorder.defcolour = 0;
colourAvatarBorder.order = 0;
- Colour_RegisterW(&colourAvatarBorder);
+ g_plugin.addColor(&colourAvatarBorder);
colourDivider.cbSize = sizeof(ColourIDW);
mir_wstrcpy(colourDivider.group, LPGENW("Tooltips"));
@@ -157,7 +157,7 @@ static void InitFonts() mir_strcpy(colourDivider.setting, "DividerCol");
colourDivider.defcolour = 0;
colourDivider.order = 0;
- Colour_RegisterW(&colourDivider);
+ g_plugin.addColor(&colourDivider);
colourSidebar.cbSize = sizeof(ColourIDW);
mir_wstrcpy(colourSidebar.group, LPGENW("Tooltips"));
@@ -166,7 +166,7 @@ static void InitFonts() mir_strcpy(colourSidebar.setting, "SidebarCol");
colourSidebar.defcolour = RGB(192, 192, 192);
colourSidebar.order = 0;
- Colour_RegisterW(&colourSidebar);
+ g_plugin.addColor(&colourSidebar);
fontTitle.cbSize = sizeof(FontIDW);
fontTitle.flags = FIDF_ALLOWEFFECTS;
@@ -232,10 +232,10 @@ static void InitFonts() fontTrayTitle.deffontsettings.colour = RGB(0, 0, 0);
fontTrayTitle.flags |= FIDF_DEFAULTVALID;
- Font_RegisterW(&fontTitle);
- Font_RegisterW(&fontLabels);
- Font_RegisterW(&fontValues);
- Font_RegisterW(&fontTrayTitle);
+ g_plugin.addFont(&fontTitle);
+ g_plugin.addFont(&fontLabels);
+ g_plugin.addFont(&fontValues);
+ g_plugin.addFont(&fontTrayTitle);
hReloadFonts = HookEvent(ME_FONT_RELOAD, ReloadFont);
}
|