Play-/Source/ui_win32/ELFProgramView.h
2018-04-30 21:01:23 +01:00

37 lines
799 B
C++

#pragma once
#include "win32/Dialog.h"
#include "win32/Edit.h"
#include "layout/GridLayout.h"
#include "Types.h"
#include "../ELF.h"
class CELFProgramView : public Framework::Win32::CDialog
{
public:
CELFProgramView(HWND, CELF*);
virtual ~CELFProgramView();
void SetProgramIndex(uint16);
protected:
long OnSize(unsigned int, unsigned int, unsigned int) override;
private:
void FillInformation();
void RefreshLayout();
CELF* m_pELF;
uint16 m_nProgram;
Framework::GridLayoutPtr 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;
};