summaryrefslogtreecommitdiff
path: root/include/m_fontservice.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 12:36:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 12:36:34 +0000
commit428bf0cbd77813a43094cb5c984436deff251936 (patch)
treed7dfa8971153d53a849e45c942be97fe5b90b7ec /include/m_fontservice.h
parent82ef17ca5286f58ae7af604fb9518e8dc496b7c3 (diff)
no more TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_fontservice.h')
-rw-r--r--include/m_fontservice.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/include/m_fontservice.h b/include/m_fontservice.h
index a0667721c9..10fb006760 100644
--- a/include/m_fontservice.h
+++ b/include/m_fontservice.h
@@ -57,12 +57,6 @@ typedef struct FontSettingsW_tag
}
FontSettingsW;
-#if defined( _UNICODE )
- #define FontSettingsT FontSettingsW
-#else
- #define FontSettingsT FontSettings
-#endif
-
// a font identifier structure - used for registering a font, and getting one out again
// WARNING: do not use Translate(TS) for name or group as they
@@ -100,12 +94,6 @@ typedef struct FontIDW_tag
}
FontIDW;
-#if defined( _UNICODE )
- #define FontIDT FontIDW
-#else
- #define FontIDT FontID
-#endif
-
// register a font
// wparam = (FontID *)&font_id
// lparam = hLangpack
@@ -120,14 +108,6 @@ __forceinline void FontRegisterW( FontIDW* pFontID )
{ CallService("Font/RegisterW", (WPARAM)pFontID, hLangpack);
}
-#if defined( _UNICODE )
- #define MS_FONT_REGISTERT MS_FONT_REGISTERW
- #define FontRegisterT FontRegisterW
-#else
- #define MS_FONT_REGISTERT MS_FONT_REGISTER
- #define FontRegisterT FontRegister
-#endif
-
// get a font
// will fill the logfont structure passed in with the user's choices, or the default if it was set and the user has not chosen a font yet,
// or the global default font settings otherwise (i.e. no user choice and default set, or font not registered)
@@ -138,12 +118,6 @@ __forceinline void FontRegisterW( FontIDW* pFontID )
#define MS_FONT_GET "Font/Get"
#define MS_FONT_GETW "Font/GetW"
-#if defined( _UNICODE )
- #define MS_FONT_GETT MS_FONT_GETW
-#else
- #define MS_FONT_GETT MS_FONT_GET
-#endif
-
// fired when a user modifies font settings, so reload your fonts
// wparam = lparam = 0
#define ME_FONT_RELOAD "Font/Reload"
@@ -186,12 +160,6 @@ typedef struct ColourIDW_tag
}
ColourIDW;
-#if defined( _UNICODE )
- #define ColourIDT ColourIDW
-#else
- #define ColourIDT ColourID
-#endif
-
// register a colour (this should be used for everything except actual text colour for registered fonts)
// [note - a colour with name 'Background' [translated!] has special meaning and will be used as the background colour of
// the font list box in the options, for the given group]
@@ -206,26 +174,12 @@ __forceinline void ColourRegisterW(ColourIDW* pColorID)
{ CallService("Colour/RegisterW", (WPARAM)pColorID, hLangpack);
}
-#if defined( _UNICODE )
- #define MS_COLOUR_REGISTERT MS_COLOUR_REGISTERW
- #define ColourRegisterT ColourRegisterW
-#else
- #define MS_COLOUR_REGISTERT MS_COLOUR_REGISTER
- #define ColourRegisterT ColourRegister
-#endif
-
// get a colour
// wparam = (ColourID *)&colour_id (only name and group matter)
// rerturns the colour (as COLORREF), or -1 if not found
#define MS_COLOUR_GET "Colour/Get"
#define MS_COLOUR_GETW "Colour/GetW"
-#if defined( _UNICODE )
- #define MS_COLOUR_GETT MS_COLOUR_GETW
-#else
- #define MS_COLOUR_GETT MS_COLOUR_GET
-#endif
-
// fired when a user modifies font settings, so reget your fonts and colours
// wparam = lparam = 0
#define ME_COLOUR_RELOAD "Colour/Reload"
@@ -275,12 +229,6 @@ typedef struct EffectIDW_tag
}
EffectIDW;
-#if defined( _UNICODE )
- #define EffectIDT EffectIDW
-#else
- #define EffectIDT EffectID
-#endif
-
// register an effect
// wparam = (EffectID *)&effect_id
// lparam = 0
@@ -293,14 +241,6 @@ __forceinline void EffectRegisterW(EffectIDW* pEffectID)
{ CallService("Effect/RegisterW", (WPARAM)pEffectID, hLangpack);
}
-#if defined( _UNICODE )
- #define MS_EFFECT_REGISTERT MS_EFFECT_REGISTERW
- #define EffectRegisterT EffectRegisterW
-#else
- #define MS_EFFECT_REGISTERT MS_EFFECT_REGISTER
- #define EffectRegisterT EffectRegister
-#endif
-
// get a effect
// wparam = (EffectID *)&effect_id (only name and group matter)
// lparam = (FONTEFFECT *)&effect
@@ -308,12 +248,6 @@ __forceinline void EffectRegisterW(EffectIDW* pEffectID)
#define MS_EFFECT_GET "Effect/Get"
#define MS_EFFECT_GETW "Effect/GetW"
-#if defined( _UNICODE )
- #define MS_EFFECT_GETT MS_EFFECT_GETW
-#else
- #define MS_EFFECT_GETT MS_EFFECT_GET
-#endif
-
// fired when a user modifies font settings, so reget your fonts and colours
// wparam = lparam = 0
#define ME_EFFECT_RELOAD "Effect/Reload"