2020-11-10 15:26:38 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
|
|
|
#include "imgui.h"
|
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
|
|
|
class View {
|
|
|
|
public:
|
|
|
|
View() { }
|
|
|
|
virtual ~View() { }
|
|
|
|
|
|
|
|
virtual void createView() = 0;
|
|
|
|
virtual void createMenu() { }
|
2020-11-11 14:41:44 +01:00
|
|
|
virtual bool handleShortcut(int key, int mods) { return false; }
|
2020-11-10 15:26:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|