summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/SRC
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-25 15:05:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-25 15:05:30 +0000
commited1449fa491e90197b78b64b52c70910f1736dd7 (patch)
tree208788e9ee24ec2bcd90a4f4d7a166a534baa53e /plugins/Clist_nicer/SRC
parent2a06d7b1dbe99233e078819c78956e346175b420 (diff)
dynamic fonts' options translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@633 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/SRC')
-rw-r--r--plugins/Clist_nicer/SRC/clui.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/Clist_nicer/SRC/clui.cpp b/plugins/Clist_nicer/SRC/clui.cpp
index 106ade9372..e4009d6feb 100644
--- a/plugins/Clist_nicer/SRC/clui.cpp
+++ b/plugins/Clist_nicer/SRC/clui.cpp
@@ -2148,7 +2148,7 @@ void FS_RegisterFonts()
lstrcpynA(fid.deffontsettings.szFace, dbv.pszVal, LF_FACESIZE);
mir_free(dbv.pszVal);
}
- CallService(MS_FONT_REGISTER, (WPARAM)&fid, 0);
+ FontRegister(&fid);
j++;
}
// and colours
@@ -2160,24 +2160,23 @@ void FS_RegisterFonts()
strncpy(colourid.name, LPGEN("Background"), SIZEOF(colourid.name));
strncpy(colourid.group, LPGEN("Contact List"), SIZEOF(colourid.group));
colourid.defcolour = CLCDEFAULT_BKCOLOUR;
- CallService(MS_COLOUR_REGISTER, (WPARAM)&colourid, 0);
+ ColourRegister(&colourid);
strncpy(colourid.setting, "SelTextColour", sizeof(colourid.setting));
strncpy(colourid.name, LPGEN("Selected Text"), SIZEOF(colourid.name));
colourid.order = 1;
colourid.defcolour = CLCDEFAULT_SELTEXTCOLOUR;
- CallService(MS_COLOUR_REGISTER, (WPARAM)&colourid, 0);
+ ColourRegister(&colourid);
strncpy(colourid.setting, "HotTextColour", sizeof(colourid.setting));
strncpy(colourid.name, LPGEN("Hottrack Text"), SIZEOF(colourid.name));
colourid.order = 1;
colourid.defcolour = CLCDEFAULT_HOTTEXTCOLOUR;
- CallService(MS_COLOUR_REGISTER, (WPARAM)&colourid, 0);
+ ColourRegister(&colourid);
strncpy(colourid.setting, "QuickSearchColour", sizeof(colourid.setting));
strncpy(colourid.name, LPGEN("Quicksearch Text"), SIZEOF(colourid.name));
colourid.order = 1;
colourid.defcolour = CLCDEFAULT_QUICKSEARCHCOLOUR;
- CallService(MS_COLOUR_REGISTER, (WPARAM)&colourid, 0);
-
+ ColourRegister(&colourid);
}