From bb22e7b2a0af67cc65ce5179917b20e5977ed4ef Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 11 Jul 2012 17:09:09 +0000 Subject: MyDetails reverted to older version that doesn't use Skins plugin git-svn-id: http://svn.miranda-ng.org/main/trunk@905 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Skins/SkinLib/FontState.h | 57 --------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 plugins/Skins/SkinLib/FontState.h (limited to 'plugins/Skins/SkinLib/FontState.h') diff --git a/plugins/Skins/SkinLib/FontState.h b/plugins/Skins/SkinLib/FontState.h deleted file mode 100644 index de32bcdfb3..0000000000 --- a/plugins/Skins/SkinLib/FontState.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef __FONT_STATE_H__ -# define __FONT_STATE_H__ - -#include "Field.h" - - -class FontState -{ -public: - FontState(HFONT hFont, COLORREF aColor); - ~FontState(); - - HFONT getHFONT() const; - void setHFONT(HFONT hFont); - HFONT createHFONT() const; /// Return a copy of the internal HFONT. The caller must free it - - const TCHAR * getFace() const; - void setFace(const TCHAR * face); - - int getSize() const; - void setSize(int size); - - COLORREF getColor() const; - void setColor(COLORREF color); - - bool isItalic() const; - void setItalic(bool italic); - - bool isBold() const; - void setBold(bool bold); - - bool isUnderline() const; - void setUnderline(bool underline); - - bool isStrikeOut() const; - void setStrikeOut(bool strikeout); - -private: - COLORREF color; - HFONT hFont; - bool externalFont; - std::tstring face; - int size; - bool italic; - bool bold; - bool underline; - bool strikeout; - - void rebuildHFONT(); - void buildHFONT(); - void releaseHFONT(); - void buildAttribs(); -}; - - - -#endif // __FONT_STATE_H__ -- cgit v1.2.3