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