Mercurial > vba-clojure
view src/win32/MemoryViewerDlg.h @ 8:08a8e09ca414
add files required by automake
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:54:39 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_MEMORYVIEWERDLG_H__15046D5B_D5A2_4C49_A969_2A77F803F2F1__INCLUDED_)2 #define AFX_MEMORYVIEWERDLG_H__15046D5B_D5A2_4C49_A969_2A77F803F2F1__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // -*- C++ -*-8 // MemoryViewerDlg.h : header file9 //11 #include "MemoryViewer.h"12 #include "ResizeDlg.h"13 #include "IUpdate.h"15 class GBAMemoryViewer : public MemoryViewer16 {17 public:18 GBAMemoryViewer();19 virtual void readData(u32, int, u8 *);20 virtual void editData(u32, int, int, u32);21 };23 /////////////////////////////////////////////////////////////////////////////24 // MemoryViewerDlg dialog26 class MemoryViewerDlg : public ResizeDlg, IUpdateListener, IMemoryViewerDlg27 {28 GBAMemoryViewer m_viewer;29 // Construction30 public:31 void setCurrentAddress(u32 address);32 int autoUpdate;33 int decimalDisplay;34 int align;35 void update();36 MemoryViewerDlg(CWnd*pParent = NULL); // standard constructor38 // Dialog Data39 //{{AFX_DATA(MemoryViewerDlg)40 enum { IDD = IDD_MEM_VIEWER };41 CEdit m_current;42 CEdit m_address;43 CComboBox m_addresses;44 int m_size;45 //}}AFX_DATA47 // Overrides48 // ClassWizard generated virtual function overrides49 //{{AFX_VIRTUAL(MemoryViewerDlg)50 protected:51 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support52 virtual void PostNcDestroy();53 //}}AFX_VIRTUAL55 // Implementation56 protected:57 // Generated message map functions58 //{{AFX_MSG(MemoryViewerDlg)59 virtual BOOL OnInitDialog();60 afx_msg void OnClose();61 afx_msg void OnRefresh();62 afx_msg void On8Bit();63 afx_msg void On16Bit();64 afx_msg void On32Bit();65 afx_msg void OnAutoUpdate();66 afx_msg void OnDecimalDisplay();67 afx_msg void OnAlign();68 afx_msg void OnGo();69 afx_msg void OnSelchangeAddresses();70 afx_msg void OnSave();71 afx_msg void OnLoad();72 //}}AFX_MSG73 DECLARE_MESSAGE_MAP()74 };76 //{{AFX_INSERT_LOCATION}}77 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.79 #endif // !defined(AFX_MEMORYVIEWERDLG_H__15046D5B_D5A2_4C49_A969_2A77F803F2F1__INCLUDED_)