📄 preferencesdlg.h
字号:
#pragma once
#include "PPgGeneral.h"
#include "PPgConnection.h"
#include "PPgServer.h"
#include "PPgDirectories.h"
#include "PPgFiles.h"
#include "PPgStats.h"
#include "PPgNotify.h"
#include "PPgIRC.h"
#include "PPgTweaks.h"
#include "PPgDisplay.h"
#include "PPgSecurity.h"
#include "PPgWebServer.h"
//#include "PPgScheduler.h" //#include "Scheduler.h" <- not ready until release, will be finished for following release :)
#include "otherfunctions.h"
#include "ListBoxST.h"
// CPreferencesDlg
class CPreferencesDlg : public CPropertySheet
{
DECLARE_DYNAMIC(CPreferencesDlg)
public:
CPreferencesDlg();
virtual ~CPreferencesDlg();
protected:
UINT m_nActiveWnd;
DECLARE_MESSAGE_MAP()
public:
CPPgGeneral m_wndGeneral;
CPPgConnection m_wndConnection;
CPPgServer m_wndServer;
CPPgDirectories m_wndDirectories;
CPPgFiles m_wndFiles;
CPPgStats m_wndStats;
CPPgNotify m_wndNotify;
CPPgIRC m_wndIRC;
CPPgTweaks m_wndTweaks;
CPPgDisplay m_wndDisplay;
CPPgSecurity m_wndSecurity;
CPPgWebServer m_wndWebServer;
// CPPgScheduler m_wndScheduler; //#include "Scheduler.h" <- not ready until release, will be finished for following release :)
CPreferences *app_prefs;
CListBoxST m_listbox;
CButton m_groupbox;
CImageList ImageList;
void SetPrefs(CPreferences* in_prefs)
{
app_prefs = in_prefs;
m_wndGeneral.SetPrefs(in_prefs);
m_wndDisplay.SetPrefs(in_prefs);
m_wndConnection.SetPrefs(in_prefs);
m_wndServer.SetPrefs(in_prefs);
m_wndDirectories.SetPrefs(in_prefs);
m_wndFiles.SetPrefs(in_prefs);
m_wndStats.SetPrefs(in_prefs);
m_wndNotify.SetPrefs(in_prefs);
m_wndIRC.SetPrefs(in_prefs);
m_wndTweaks.SetPrefs(in_prefs);
m_wndSecurity.SetPrefs(in_prefs);
m_wndWebServer.SetPrefs(in_prefs);
// m_wndScheduler.SetPrefs(in_prefs);
}
afx_msg void OnDestroy();
afx_msg void OnSelChanged();
virtual BOOL OnInitDialog();
void Localize();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -