mirror of
https://github.com/libretro/Play-.git
synced 2025-01-22 08:41:07 +00:00
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "win32/Dialog.h"
|
|
#include "win32/Edit.h"
|
|
#include "win32/Static.h"
|
|
#include "win32/ListView.h"
|
|
#include "layout/VerticalLayout.h"
|
|
#include "Types.h"
|
|
#include "MemoryViewPtr.h"
|
|
#include "../ELF.h"
|
|
|
|
class CELFSectionView : public Framework::Win32::CDialog
|
|
{
|
|
public:
|
|
CELFSectionView(HWND, CELF*);
|
|
virtual ~CELFSectionView();
|
|
|
|
void SetSectionIndex(uint16);
|
|
|
|
protected:
|
|
long OnSize(unsigned int, unsigned int, unsigned int) override;
|
|
long OnSetFocus() override;
|
|
|
|
private:
|
|
void RefreshLayout();
|
|
void FillInformation();
|
|
|
|
void CreateDynamicSectionListViewColumns();
|
|
void FillDynamicSectionListView();
|
|
|
|
CELF* m_pELF;
|
|
uint16 m_nSection;
|
|
|
|
Framework::FlatLayoutPtr m_pLayout;
|
|
Framework::Win32::CEdit* m_pType;
|
|
Framework::Win32::CEdit* m_pFlags;
|
|
Framework::Win32::CEdit* m_pAddress;
|
|
Framework::Win32::CEdit* m_pOffset;
|
|
Framework::Win32::CEdit* m_pSize;
|
|
Framework::Win32::CEdit* m_pLink;
|
|
Framework::Win32::CEdit* m_pInfo;
|
|
Framework::Win32::CEdit* m_pAlignment;
|
|
Framework::Win32::CEdit* m_pEntrySize;
|
|
Framework::Win32::CStatic* m_contentsPlaceHolder;
|
|
|
|
CMemoryViewPtr* m_memoryView;
|
|
Framework::Win32::CListView* m_dynamicSectionListView;
|
|
};
|