project64/Source/Project64/UserInterface/Debugger/Debugger-StackView.h

41 lines
1.0 KiB
C
Raw Permalink Normal View History

2017-08-18 05:08:22 +00:00
#pragma once
class CDebugStackView :
2017-09-13 10:36:03 +00:00
public CDebugDialog<CDebugStackView>,
public CDialogResize<CDebugStackView>
2017-08-18 05:08:22 +00:00
{
public:
2022-09-26 02:31:54 +00:00
enum
{
IDD = IDD_Debugger_Stack
};
2017-09-13 10:36:03 +00:00
CDebugStackView(CDebuggerUI * debugger);
virtual ~CDebugStackView(void);
2017-08-18 05:08:22 +00:00
2017-09-13 10:36:03 +00:00
void Refresh();
2017-08-18 05:08:22 +00:00
private:
2017-09-13 10:36:03 +00:00
CListViewCtrl m_StackList;
CStatic m_SPStatic;
2022-09-26 02:31:54 +00:00
LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL & bHandled);
2017-09-13 10:36:03 +00:00
LRESULT OnDestroy(void);
2022-09-26 02:31:54 +00:00
LRESULT OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL & bHandled);
void OnExitSizeMove(void);
2017-09-13 10:36:03 +00:00
BEGIN_MSG_MAP_EX(CDebugStackView)
2022-09-26 02:31:54 +00:00
{
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog);
MSG_WM_DESTROY(OnDestroy);
COMMAND_CODE_HANDLER(BN_CLICKED, OnClicked);
CHAIN_MSG_MAP(CDialogResize<CDebugStackView>);
MSG_WM_EXITSIZEMOVE(OnExitSizeMove);
2022-09-26 02:31:54 +00:00
}
END_MSG_MAP()
2017-09-13 10:36:03 +00:00
BEGIN_DLGRESIZE_MAP(CDebugStackView)
2022-09-26 02:31:54 +00:00
DLGRESIZE_CONTROL(IDC_STACK_LIST, DLSZ_SIZE_X | DLSZ_SIZE_Y)
2017-09-13 10:36:03 +00:00
END_DLGRESIZE_MAP()
};