add "view as" to the memory view, so we can see ascii interpretation as well as floating points

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4408 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-10-12 16:20:31 +00:00
parent 9b16c36014
commit 7e621119b2
2 changed files with 48 additions and 15 deletions

View File

@ -29,10 +29,10 @@ public:
wxSize DoGetBestSize() const;
void OnPaint(wxPaintEvent& event);
void OnErase(wxEraseEvent& event);
void OnMouseDown(wxMouseEvent& event);
void OnMouseDownL(wxMouseEvent& event);
void OnMouseMove(wxMouseEvent& event);
void OnMouseUpL(wxMouseEvent& event);
void OnMouseUpR(wxMouseEvent& event);
void OnMouseDownR(wxMouseEvent& event);
void OnPopupMenu(wxCommandEvent& event);
u32 GetSelection() { return selection ; }
@ -63,6 +63,13 @@ private:
int memory;
enum EViewAsType
{
VIEWAS_ASCII = 0,
VIEWAS_FP,
};
EViewAsType viewAsType;
DECLARE_EVENT_TABLE()
};