source: dev/trunk/abdev/ProjectEditor/DesignTheme.h@ 179

Last change on this file since 179 was 3, checked in by dai_9181, 18 years ago
File size: 1013 bytes
Line 
1
2
3#define THEMENAME_CLASSIC "Classic"
4#define THEMENAME_USER "User Setting"
5
6
7struct TEXTEDIT_COLOR_INFO{
8 COLORREF rgbDefault; //通常の文字
9 COLORREF rgbComment; //コメント
10 COLORREF rgbStatement; //特殊ステートメント
11 COLORREF rgbString; //文字列
12 COLORREF rgbCursorBack; //背景色(カーソル行)
13 COLORREF rgbBackground; //背景色(一般)
14};
15extern TEXTEDIT_COLOR_INFO tci;
16
17
18class CTheme:public CSettingFile{
19public:
20 BOOL bActive;
21 char m_name[MAX_PATH];
22 TEXTEDIT_COLOR_INFO TextColorInfo;
23 char szBackgroundImagePath[MAX_PATH];
24
25 CTheme(char *path,char *name);
26 CTheme();
27 ~CTheme();
28
29 void save(void);
30};
31
32class CDBTheme{
33public:
34 int iNum;
35 CTheme **ppobj_Theme;
36
37 CDBTheme();
38 ~CDBTheme();
39 CTheme *dupli_check(char *name);
40
41 CTheme *add(char *path,char *name);
42
43 void ResetTheme_ToComboBox(HWND hCombo);
44
45 CTheme *GetActiveTheme();
46
47 HBITMAP hBackBmp;
48 SIZE sizeBackBmp;
49 void lock(void);
50 void unlock(void);
51};
52
53extern CDBTheme *pobj_DBTheme;
Note: See TracBrowser for help on using the repository browser.