📄 presetwindowing.h
字号:
#ifndef __PRESETWINDOWING_H__#define __PRESETWINDOWING_H__typedef struct{ TCHAR strTitle[20]; int iLevel; int iWidth; int iHotKey;} _PRESET_WINDOWING, *_PRESET_WINDOWING_PTR;class RxPresetWindowing{protected: UINT m_nModality; // 0 : MR, 1 : CT CString m_strFileName; CPtrArray m_ArrayWindowing;public: RxPresetWindowing(); virtual ~RxPresetWindowing (); void CreatePresetWindowingFile (UINT nModality); void ReadPresetWindowingFile (UINT nModality, LPCTSTR lpszFileName); void WritePresetWindowingFile (); void SetModality (UINT nModality) { m_nModality = nModality; } UINT GetModality () { return m_nModality; } int AddPresetWindowing (_PRESET_WINDOWING_PTR stpPresetWindowing); int AddPresetWindowing (LPCTSTR lpszTitle, int iLevel, int iWidth, int iHotKey); _PRESET_WINDOWING_PTR GetPresetWindowing (UINT nIndex); int GetPresetWindowingByHotKey (int iHotKey); int GetPresetWindowingCount (); void RemovePresetWindowing (UINT nIndex); void RemoveAllPresetWindowing (); void ShowPresetWindowDialog (int iLevel, int iWidth);};#endif __PRESETWINDOWING_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -