2#include "GUIDialogCustomEmbedded.h"
8 class CGUISystemInformationCardCpu;
9 class CGUISystemInformationCardMemory;
10 class CGUISystemInformationCardGpuNvidia;
11 class CGUISystemInformationCardGpuAmd;
12 class CGUISystemInformationCardBase;
13 class CGUISystemInformationSampler;
17 DECLARE_DYNAMIC(CGUIDialogSystemInformation)
20 CGUIDialogSystemInformation(CWnd* pParent =
nullptr);
21 virtual ~CGUIDialogSystemInformation();
23 #ifdef AFX_DESIGN_TIME
25 IDD = IDD_DIALOG_RESOURCEPANEL
29 SupportToDuplicateObject(CGUIDialogSystemInformation);
30 DeclareGetClassType();
33 virtual void DoDataExchange(CDataExchange* pDX);
36 CGUISystemInformationSampler& m_sampler;
37 bool IsPanelVisible()
const;
40 virtual void SetDetailedView(
bool bDetailed);
41 virtual bool IsDetailedView()
const;
44 std::vector<CGUISystemInformationCardBase*> GetCards()
const;
46 CRect GetUptimeRect()
const;
49 void UpdateControlsLayout();
53 Base::CFLString<wchar_t> m_strUptimeName;
54 Base::CFLString<wchar_t> m_strUptimeVal;
56 CGUISystemInformationCardCpu* m_pResCardCPU;
57 CGUISystemInformationCardGpuNvidia* m_pResCardGPUNvidia;
58 CGUISystemInformationCardMemory* m_pResCardSysMem;
59 CGUISystemInformationCardGpuAmd* m_pResCardGPUAmd;
61 int32_t m_i32ScrollPos;
62 int32_t m_i32CurHeight;
63 int32_t m_i32TotalHeight;
64 int32_t m_i32TotalWidth;
65 int32_t m_i32ScrollPosX;
66 int32_t m_i32CurWidth;
67 int32_t m_i32NumOfContents;
70 bool m_bDetailedViewBeforeInit;
75 virtual BOOL OnInitDialog();
76 afx_msg
void OnTimer(UINT_PTR nIDEvent);
77 afx_msg
void OnDestroy();
78 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
79 afx_msg
void OnPaint();
80 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
81 afx_msg
void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
82 afx_msg
void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
83 afx_msg BOOL OnMouseWheel(UINT nFlags,
short zDelta, CPoint pt);
84 afx_msg
void OnRButtonUp(UINT nFlags, CPoint point);
85 afx_msg LRESULT OnSystemInformationSampled(WPARAM wParam, LPARAM lParam);
리소스 뷰에서 만든 다이얼로그를 부모 창(dockable pane 등)의 자식으로 추가할 수 있는 사용자 정의 다이얼로그 클래스.
Definition GUIDialogCustomEmbedded.h:26
Definition D2DObject.h:12