1
0
mirror of synced 2024-11-28 09:30:51 +01:00
ImHex/include/views/view_help.hpp
WerWolv dbbc525174
Added Plugin support (#102)
* Build refactoring and initial plugin support

* Possibly fixed linux / mac build

* Added libdl to libglad build script

* Add glfw to imgui dependencies

* Refactored common functionality into "libimhex" for plugins

* Added plugin loading and example plugin

* Added proper API for creating a custom view and a custom tools entry with plugins
2020-12-22 18:10:01 +01:00

37 lines
715 B
C++

#pragma once
#include <hex.hpp>
#include "imgui.h"
#include "views/view.hpp"
#include "lang/pattern_data.hpp"
#include <vector>
#include <tuple>
#include <cstdio>
namespace hex {
namespace prv { class Provider; }
class ViewHelp : public View {
public:
ViewHelp();
~ViewHelp() override;
void drawContent() override;
void drawMenu() override;
bool hasViewMenuItemEntry() override { return false; }
private:
bool m_aboutWindowOpen = false;
bool m_patternHelpWindowOpen = false;
bool m_mathHelpWindowOpen = false;
void drawAboutPopup();
void drawPatternHelpPopup();
void drawMathEvaluatorHelp();
};
}