FLImaging 6.5.8.1
GUIManagerResource.h
1#pragma once
2#include "GUIDefinitionsResource.h"
3
4namespace FLImaging
5{
6 namespace GUI
7 {
8 class FL_EXPORT CGUIManagerResource : public Base::CFLBase
9 {
10 public:
11 CGUIManagerResource();
12
13 static CGUIManagerResource* GetObject();
14
15 static bool Initialize();
16 static bool IsInitialized();
17 static bool Terminate();
18 static CBitmap* GetBmpResource(EResourceIdBitmap eResourceID);
19 static HCURSOR* GetCursorResource(UINT nIDResource);
20
21 static CFont* GetFontMenuPane();
22 static CFont* GetFontPropertyPane();
23 static CFont* GetFontLogPane();
24 static CFont* GetFontCodePane();
25 static CFont* GetFontExampleSNAPPane();
26 static CFont* GetFontLayerObject();
27 static CFont* GetFontDefaultMediumSize();
28 static CFont* GetFontDefaultSmallSize();
29 static CFont* GetFontControls();
30 static CFont* GetFontDialogButton();
31 static CFont* GetFontPixelValue();
32
33 static bool SetFontMenuPane(LOGFONT* pLf, bool bWrite = true);
34 static bool SetFontExampleSNAPPane(LOGFONT* pLf, bool bWrite = true);
35 static bool SetFontPropertyPane(LOGFONT* pLf, bool bWrite = true);
36 static bool SetFontLogPane(LOGFONT* pLf, bool bWrite = true);
37 static bool SetFontCodePane(LOGFONT* pLf, bool bWrite = true);
38 static bool SetFontLayerObject();
39 static bool SetFontDefault();
40
41 DeclareGetClassType();
42
43 private:
44 static CBitmap* GetBmpResource(UINT nIDResource);
45 protected:
46 volatile bool m_bInitialized;
47 };
48 }
49}
50