-
Notifications
You must be signed in to change notification settings - Fork 0
/
IFontOptions.h
35 lines (34 loc) · 1.64 KB
/
IFontOptions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
struct IFontOptions
{
virtual void Read(LPCTSTR file) = 0;
virtual void Write(LPCTSTR file) = 0;
virtual void RestoreDefaults() = 0;
virtual void GetUserName(CColor &fore, CColor &back) = 0;
virtual void GetUserNameDef(CColor& fore, CColor& back) = 0;
virtual void SetUserNameDef() = 0;
virtual void SetUserName(CColor& fore, CColor& back) = 0;
virtual void GetUserText(CColor &fore, CColor &back) = 0;
virtual void GetUserTextDef(CColor& fore, CColor& back) = 0;
virtual void SetUserText(CColor& fore, CColor& back) = 0;
virtual void SetUserTextDef() = 0;
virtual CColor MeFore(bool def,bool bdummy) const = 0;
virtual CColor MeBack(bool def,bool dummy) const = 0;
virtual CColor MyTextFore(bool def,bool dummy) const = 0;
virtual CColor MyTextBack(bool def,bool dummy) const = 0;
virtual void MeFore( const CColor &fore) = 0;
virtual void MeBack( const CColor &back) = 0;
virtual void MyTextFore(const CColor &fore) = 0;
virtual void MyTextBack( const CColor &back) = 0;
virtual void Topic(CColor& fore, CColor& back, bool def) const = 0;
virtual void Topic(const CColor& fore,const CColor &back) = 0;
virtual void motd(CColor& fore, CColor& back, bool def) const = 0;
virtual void motd(const CColor& fore, const CColor& back) = 0;
virtual CColor UserEnters(bool def, bool dummy) const = 0;
virtual void UserEnters(const CColor& clr) = 0;
virtual CColor UserLeaves(bool def, bool dummy) const = 0;
virtual void UserLeaves(const CColor& clr) = 0;
virtual void CopyTo(IFontOptions** ppOptions) = 0;
};
BOOL CreateFontOptions(IFontOptions** ppOptions);
void DestroyFontOptions(IFontOptions** ppOptions);