1
0
mirror of synced 2024-11-15 03:27:40 +01:00
ImHex/plugins/builtin/include/content/views/view_help.hpp

42 lines
837 B
C++
Raw Normal View History

2020-11-14 21:16:03 +01:00
#pragma once
#include <hex.hpp>
#include <imgui.h>
#include <hex/views/view.hpp>
2020-11-14 21:16:03 +01:00
#include <vector>
#include <tuple>
#include <cstdio>
2021-12-07 22:47:41 +01:00
namespace hex::plugin::builtin {
2020-11-14 21:16:03 +01:00
namespace prv { class Provider; }
class ViewHelp : public View {
public:
ViewHelp();
~ViewHelp() override;
void drawContent() override;
void drawMenu() override;
2022-01-10 21:05:37 +01:00
bool isAvailable() const override { return true; }
2020-11-14 21:16:03 +01:00
2022-01-10 21:05:37 +01:00
bool hasViewMenuItemEntry() const override { return false; }
2022-01-10 21:05:37 +01:00
ImVec2 getMinSize() const override {
2021-01-23 00:46:50 +01:00
return ImVec2(400, 300);
}
2020-11-14 21:16:03 +01:00
private:
bool m_aboutWindowOpen = false;
void drawAboutPopup();
void drawAboutMainPage();
void drawContributorPage();
void drawLibraryCreditsPage();
void drawPathsPage();
2020-11-14 21:16:03 +01:00
};
}