Play-/Source/ui_win32/SysInfoWnd.h

40 lines
852 B
C
Raw Normal View History

#ifndef _SYSINFOWND_H_
#define _SYSINFOWND_H_
#include "win32/Window.h"
#include "win32/Static.h"
#include "win32/ListBox.h"
#include "layout/VerticalLayout.h"
#include "win32/ModalWindow.h"
class CSysInfoWnd : public Framework::Win32::CModalWindow
{
public:
CSysInfoWnd(HWND);
~CSysInfoWnd();
protected:
2017-01-12 02:27:40 +00:00
long OnTimer(WPARAM) override;
private:
void UpdateSchedulerInfo();
void UpdateProcessorFeatures();
void UpdateProcessor();
void RefreshLayout();
static unsigned long WINAPI ThreadRDTSC(void*);
static const TCHAR* m_sFeature[32];
HANDLE m_nRDTSCThread;
Framework::Win32::CStatic* m_pProcessor;
Framework::Win32::CStatic* m_pProcesses;
Framework::Win32::CStatic* m_pThreads;
Framework::Win32::CListBox* m_pFeatures;
Framework::FlatLayoutPtr m_pLayout;
};
#endif