mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-22 07:14:15 +08:00
style: Change files encoding format to UTF8-BOM
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <afxwin.h>
|
||||
@@ -10,10 +10,10 @@ class CGridDialog : public CDialog
|
||||
public:
|
||||
CGridDialog();
|
||||
|
||||
BOOL AddChild(CDialog* pDlg); // <EFBFBD><EFBFBD>̬<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӶԻ<EFBFBD><EFBFBD><EFBFBD>
|
||||
void RemoveChild(CDialog* pDlg); // <EFBFBD><EFBFBD>̬<EFBFBD>Ƴ<EFBFBD><EFBFBD>ӶԻ<EFBFBD><EFBFBD><EFBFBD>
|
||||
void SetGrid(int rows, int cols); // <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
void LayoutChildren(); // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
BOOL AddChild(CDialog* pDlg); // 动态添加子对话框
|
||||
void RemoveChild(CDialog* pDlg); // 动态移除子对话框
|
||||
void SetGrid(int rows, int cols); // 设置行列数
|
||||
void LayoutChildren(); // 布局
|
||||
BOOL HasSlot() const
|
||||
{
|
||||
return m_children.size() < m_max;
|
||||
@@ -35,13 +35,13 @@ private:
|
||||
int m_max = 0;
|
||||
std::vector<CDialog*> m_children;
|
||||
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
CDialog* m_pMaxChild = nullptr; // <EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӶԻ<EFBFBD><EFBFBD><EFBFBD>
|
||||
LONG m_parentStyle = 0; // <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭʼ<EFBFBD><EFBFBD>ʽ
|
||||
// 最大化相关
|
||||
CDialog* m_pMaxChild = nullptr; // 当前最大化的子对话框
|
||||
LONG m_parentStyle = 0; // 父窗口原始样式
|
||||
|
||||
struct ChildState {
|
||||
CRect rect; // ԭʼλ<EFBFBD><EFBFBD>
|
||||
LONG style; // ԭʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
|
||||
CRect rect; // 原始位置
|
||||
LONG style; // 原始窗口样式
|
||||
};
|
||||
std::map<CDialog*, ChildState> m_origState;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user