summaryrefslogtreecommitdiff
path: root/src/modules/fonts/FontService.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/fonts/FontService.h')
-rw-r--r--src/modules/fonts/FontService.h80
1 files changed, 0 insertions, 80 deletions
diff --git a/src/modules/fonts/FontService.h b/src/modules/fonts/FontService.h
deleted file mode 100644
index 970fd25090..0000000000
--- a/src/modules/fonts/FontService.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-
-Miranda NG: the free IM client for Microsoft* Windows*
-
-Copyright (ñ) 2012-15 Miranda NG project (http://miranda-ng.org),
-Copyright (c) 2000-12 Miranda IM project,
-all portions of this codebase are copyrighted to the people
-listed in contributors.txt.
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-*/
-
-#include "m_fontservice.h"
-
-// a font identifier structure - used for registering a font, and getting one out again
-
-struct FontInternal : public FontIDT
-{
- FontSettingsT value;
- int hLangpack;
-
- __inline TCHAR* getName() const { return TranslateTH(hLangpack, name); }
-
- __inline bool isHeader() const
- {
- if ((flags & FIDF_CLASSMASK) == FIDF_CLASSHEADER)
- return true;
-
- if ((flags & FIDF_CLASSMASK) == 0)
- if (_tcsstr(name, _T("Incoming nick")) || _tcsstr(name, _T("Outgoing nick")) || _tcsstr(name, _T("Incoming timestamp")) || _tcsstr(name, _T("Outgoing timestamp")))
- return true;
- return false;
- }
-};
-
-struct ColourInternal : public ColourIDT
-{
- __inline TCHAR* getName() const { return TranslateTH(hLangpack, name); }
-
- COLORREF value;
- int hLangpack;
-};
-
-struct EffectInternal : public EffectIDT
-{
- __inline TCHAR* getName() const { return TranslateTH(hLangpack, name); }
-
- int hLangpack;
-};
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// global data & functions
-
-typedef struct
-{
- char *paramName;
- TCHAR *groupName;
-}
- TreeItem;
-
-extern OBJLIST<FontInternal> font_id_list;
-extern OBJLIST<ColourInternal> colour_id_list;
-extern OBJLIST<EffectInternal> effect_id_list;
-
-extern int code_page;
-extern HANDLE hFontReloadEvent, hColourReloadEvent;
-
-int CreateFromFontSettings(FontSettingsT *fs, LOGFONT *lf);