2006-06-15 04:19:30 +00:00
|
|
|
#ifndef _ELFPROGRAMVIEW_H_
|
|
|
|
#define _ELFPROGRAMVIEW_H_
|
|
|
|
|
|
|
|
#include "win32/Window.h"
|
|
|
|
#include "win32/Edit.h"
|
|
|
|
#include "GridLayout.h"
|
|
|
|
#include "Types.h"
|
|
|
|
#include "ELF.h"
|
|
|
|
|
|
|
|
class CELFProgramView : public Framework::CWindow
|
|
|
|
{
|
|
|
|
public:
|
2006-07-11 03:33:40 +00:00
|
|
|
CELFProgramView(HWND, CELF*, uint16);
|
|
|
|
~CELFProgramView();
|
2006-06-15 04:19:30 +00:00
|
|
|
|
|
|
|
protected:
|
2006-07-11 03:33:40 +00:00
|
|
|
long OnSize(unsigned int, unsigned int, unsigned int);
|
2006-06-15 04:19:30 +00:00
|
|
|
|
|
|
|
private:
|
2006-07-11 03:33:40 +00:00
|
|
|
void FillInformation();
|
|
|
|
void RefreshLayout();
|
|
|
|
CELF* m_pELF;
|
|
|
|
uint16 m_nProgram;
|
|
|
|
Framework::CGridLayout* m_pLayout;
|
|
|
|
Framework::Win32::CEdit* m_pType;
|
|
|
|
Framework::Win32::CEdit* m_pOffset;
|
|
|
|
Framework::Win32::CEdit* m_pVAddr;
|
|
|
|
Framework::Win32::CEdit* m_pPAddr;
|
|
|
|
Framework::Win32::CEdit* m_pFileSize;
|
|
|
|
Framework::Win32::CEdit* m_pMemSize;
|
|
|
|
Framework::Win32::CEdit* m_pFlags;
|
|
|
|
Framework::Win32::CEdit* m_pAlign;
|
2006-06-15 04:19:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|