impr: Restructure various components much better (#1520)

This commit is contained in:
Nik
2024-01-28 22:14:59 +01:00
committed by GitHub
parent 6709087760
commit 339541a56f
59 changed files with 1179 additions and 471 deletions

View File

@@ -41,11 +41,11 @@ add_imhex_plugin(
source/content/file_extraction.cpp
source/content/report_generators.cpp
source/content/init_tasks.cpp
source/content/fonts.cpp
source/content/workspaces.cpp
source/content/pl_visualizers.cpp
source/content/out_of_box_experience.cpp
source/content/minimap_visualizers.cpp
source/content/window_decoration.cpp
source/content/data_processor_nodes/basic_nodes.cpp
source/content/data_processor_nodes/control_nodes.cpp
@@ -120,6 +120,7 @@ add_imhex_plugin(
LIBRARIES
ui
fonts
${JTHREAD_LIBRARIES}
plcli
libpl-gen

View File

@@ -6,6 +6,8 @@
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin::undo {
class OperationWrite : public prv::undo::Operation {

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

View File

@@ -4,6 +4,7 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/api/achievement_manager.hpp>
#include <hex/api/workspace_manager.hpp>
#include <hex/providers/provider.hpp>
#include <hex/ui/view.hpp>
@@ -202,6 +203,25 @@ namespace hex::plugin::builtin {
ContentRegistry::Settings::write("hex.builtin.setting.general", "hex.builtin.setting.general.prev_launch_version", ImHexApi::System::getImHexVersion());
});
EventWindowDeinitializing::subscribe([](GLFWwindow *window) {
WorkspaceManager::exportToFile();
if (auto workspace = WorkspaceManager::getCurrentWorkspace(); workspace != WorkspaceManager::getWorkspaces().end())
ContentRegistry::Settings::write("hex.builtin.setting.general", "hex.builtin.setting.general.curr_workspace", workspace->first);
{
int x = 0, y = 0, width = 0, height = 0, maximized = 0;
glfwGetWindowPos(window, &x, &y);
glfwGetWindowSize(window, &width, &height);
maximized = glfwGetWindowAttrib(window, GLFW_MAXIMIZED);
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.x", x);
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.y", y);
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.width", width);
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.height", height);
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.maximized", maximized);
}
});
fs::setFileBrowserErrorCallback([](const std::string& errMsg){
#if defined(NFD_PORTAL)
ui::PopupError::open(hex::format("hex.builtin.popup.error.file_dialog.portal"_lang, errMsg));

View File

@@ -348,9 +348,31 @@ namespace hex::plugin::builtin {
return loadFontsImpl(shouldLoadUnicode);
}
bool loadWindowSettings() {
bool multiWindowEnabled = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.multi_windows", false);
ImHexApi::System::impl::setMultiWindowMode(multiWindowEnabled);
bool restoreWindowPos = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.restore_window_pos", false);
if (restoreWindowPos) {
ImHexApi::System::InitialWindowProperties properties = {};
properties.maximized = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.maximized", 0).get<int>();
properties.x = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.x", 0);
properties.y = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.y", 0);
properties.width = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.width", 0);
properties.height = ContentRegistry::Settings::read("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.height", 0);
ImHexApi::System::impl::setInitialWindowProperties(properties);
}
return true;
}
}
void addInitTasks() {
ImHexApi::System::addStartupTask("Load Window Settings", false, loadWindowSettings);
ImHexApi::System::addStartupTask("Configuring UI scale", true, configureUIScale);
ImHexApi::System::addStartupTask("Loading fonts", true, loadFonts);
ImHexApi::System::addStartupTask("Checking for updates", true, checkForUpdates);

View File

@@ -6,6 +6,8 @@
#include <hex/helpers/utils.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <fonts/codicons_font.h>
#include <bit>
#include <codecvt>

View File

@@ -12,6 +12,8 @@
#include <content/popups/popup_docs_question.hpp>
#include <fonts/codicons_font.h>
#include <romfs/romfs.hpp>
#include <wolv/utils/string.hpp>

View File

@@ -3,9 +3,9 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/task_manager.hpp>
#include <cmath>
#include <fonts/codicons_font.h>
#include <imgui_internal.h>
#include <cmath>
namespace hex::plugin::builtin {

View File

@@ -6,10 +6,12 @@
#include <hex/api/task_manager.hpp>
#include <hex/helpers/fmt.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/providers/provider.hpp>
#include <content/providers/view_provider.hpp>
#include <fonts/codicons_font.h>
#include <nlohmann/json.hpp>
#include <wolv/io/file.hpp>

View File

@@ -10,6 +10,8 @@
#include <filesystem>
#include <nlohmann/json.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewConstants::ViewConstants() : View::Window("hex.builtin.view.constants.name", ICON_VS_SYMBOL_CONSTANT) {

View File

@@ -7,6 +7,8 @@
#include <hex/api/achievement_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <fonts/codicons_font.h>
#include <pl/pattern_language.hpp>
#include <pl/patterns/pattern.hpp>

View File

@@ -5,6 +5,8 @@
#include <hex/providers/buffered_reader.hpp>
#include <fonts/codicons_font.h>
#include <array>
#include <ranges>
#include <regex>

View File

@@ -13,12 +13,12 @@
#include <wolv/math_eval/math_evaluator.hpp>
#include <content/providers/view_provider.hpp>
#include <fonts/codicons_font.h>
#include <popups/popup_file_chooser.hpp>
#include <imgui_internal.h>
#include <content/popups/popup_blocking_task.hpp>
#include "content/popups/hex_editor/popup_hex_editor_find.hpp"
#include <content/popups/hex_editor/popup_hex_editor_find.hpp>
using namespace std::literals::string_literals;

View File

@@ -4,6 +4,8 @@
#include <hex/api/project_file_manager.hpp>
#include <wolv/utils/guards.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
wolv::math_eval::MathEvaluator<i128> ViewHighlightRules::Rule::Expression::s_evaluator;

View File

@@ -3,6 +3,8 @@
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewLogs::ViewLogs() : View::Floating("hex.builtin.view.logs.name") {

View File

@@ -1,9 +1,10 @@
#include <content/views/view_pattern_data.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/providers/memory_provider.hpp>
#include <fonts/codicons_font.h>
#include <pl/patterns/pattern.hpp>
#include <wolv/utils/lock.hpp>

View File

@@ -6,6 +6,7 @@
#include <nlohmann/json.hpp>
#include <popups/popup_question.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {

View File

@@ -4,6 +4,7 @@
#include <hex/api/theme_manager.hpp>
#include <wolv/io/file.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {

View File

@@ -3,6 +3,8 @@
#include <hex/api/content_registry.hpp>
#include <fonts/codicons_font.h>
namespace hex::plugin::builtin {
ViewTools::ViewTools() : View::Window("hex.builtin.view.tools.name", ICON_VS_TOOLS) {

View File

@@ -3,6 +3,8 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/tutorial_manager.hpp>
#include <fonts/codicons_font.h>
#include <ranges>
namespace hex::plugin::builtin {

View File

@@ -0,0 +1,438 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/api/shortcut_manager.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/api/project_file_manager.hpp>
#include <hex/ui/view.hpp>
#include <hex/helpers/utils.hpp>
#include <imgui.h>
#include <imgui_internal.h>
#include <hex/ui/imgui_imhex_extensions.h>
#include <fonts/codicons_font.h>
#include <romfs/romfs.hpp>
#include <wolv/utils/guards.hpp>
namespace hex::plugin::builtin {
namespace {
std::string s_windowTitle, s_windowTitleFull;
u32 s_searchBarPosition = 0;
ImGuiExt::Texture s_logoTexture;
void createNestedMenu(std::span<const UnlocalizedString> menuItems, const char *icon, const Shortcut &shortcut, const ContentRegistry::Interface::impl::MenuCallback &callback, const ContentRegistry::Interface::impl::EnabledCallback &enabledCallback, const ContentRegistry::Interface::impl::SelectedCallback &selectedCallback) {
const auto &name = menuItems.front();
if (name.get() == ContentRegistry::Interface::impl::SeparatorValue) {
ImGui::Separator();
return;
}
if (name.get() == ContentRegistry::Interface::impl::SubMenuValue) {
callback();
} else if (menuItems.size() == 1) {
if (ImGui::MenuItemEx(Lang(name), icon, shortcut.toString().c_str(), selectedCallback(), enabledCallback()))
callback();
} else {
bool isSubmenu = (menuItems.begin() + 1)->get() == ContentRegistry::Interface::impl::SubMenuValue;
if (ImGui::BeginMenuEx(Lang(name), std::next(menuItems.begin())->get() == ContentRegistry::Interface::impl::SubMenuValue ? icon : nullptr, isSubmenu ? enabledCallback() : true)) {
createNestedMenu({ std::next(menuItems.begin()), menuItems.end() }, icon, shortcut, callback, enabledCallback, selectedCallback);
ImGui::EndMenu();
}
}
}
void drawFooter(ImDrawList *drawList, ImVec2 dockSpaceSize, float footerHeight) {
auto dockId = ImGui::DockSpace(ImGui::GetID("ImHexMainDock"), dockSpaceSize);
ImHexApi::System::impl::setMainDockSpaceId(dockId);
drawList->AddRectFilled(ImGui::GetWindowPos(), ImGui::GetWindowPos() + ImGui::GetWindowSize() - ImVec2(dockSpaceSize.x, footerHeight - ImGui::GetStyle().FramePadding.y - 1_scaled), ImGui::GetColorU32(ImGuiCol_MenuBarBg));
ImGui::Separator();
ImGui::SetCursorPosX(8);
for (const auto &callback : ContentRegistry::Interface::impl::getFooterItems()) {
auto prevIdx = drawList->_VtxCurrentIdx;
callback();
auto currIdx = drawList->_VtxCurrentIdx;
// Only draw separator if something was actually drawn
if (prevIdx != currIdx) {
ImGui::SameLine();
ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical);
ImGui::SameLine();
}
}
}
void drawSidebar(ImVec2 dockSpaceSize, ImVec2 sidebarPos, float sidebarWidth) {
static i32 openWindow = -1;
u32 index = 0;
ImGui::PushID("SideBarWindows");
for (const auto &[icon, callback, enabledCallback] : ContentRegistry::Interface::impl::getSidebarItems()) {
ImGui::SetCursorPosY(sidebarPos.y + sidebarWidth * index);
ImGui::PushStyleColor(ImGuiCol_Button, ImGui::GetColorU32(ImGuiCol_MenuBarBg));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImGui::GetColorU32(ImGuiCol_ScrollbarGrabActive));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImGui::GetColorU32(ImGuiCol_ScrollbarGrabHovered));
ImGui::BeginDisabled(!(ImHexApi::Provider::isValid() && enabledCallback()));
{
if (ImGui::Button(icon.c_str(), ImVec2(sidebarWidth, sidebarWidth))) {
if (static_cast<u32>(openWindow) == index)
openWindow = -1;
else
openWindow = index;
}
}
ImGui::EndDisabled();
ImGui::PopStyleColor(3);
auto sideBarFocused = ImGui::IsWindowFocused();
bool open = static_cast<u32>(openWindow) == index;
if (open) {
ImGui::SetNextWindowPos(ImGui::GetWindowPos() + sidebarPos + ImVec2(sidebarWidth - 1_scaled, -1_scaled));
ImGui::SetNextWindowSize(ImVec2(0, dockSpaceSize.y + 5_scaled));
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 1);
ImGui::PushStyleColor(ImGuiCol_WindowShadow, 0x00000000);
if (ImGui::Begin("SideBarWindow", &open, ImGuiWindowFlags_NoMove | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse)) {
if (ImGui::BeginChild("##Content", ImVec2(), ImGuiChildFlags_ResizeX)) {
callback();
}
ImGui::EndChild();
if (!ImGui::IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows) && !sideBarFocused) {
openWindow = -1;
}
}
ImGui::End();
ImGui::PopStyleVar();
ImGui::PopStyleColor();
}
ImGui::NewLine();
index++;
}
ImGui::PopID();
}
void drawTitleBar() {
auto titleBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
auto buttonSize = ImVec2(titleBarHeight * 1.5F, titleBarHeight - 1);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0));
ImGui::PushStyleColor(ImGuiCol_Button, ImGui::GetColorU32(ImGuiCol_MenuBarBg));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImGui::GetColorU32(ImGuiCol_ScrollbarGrabActive));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImGui::GetColorU32(ImGuiCol_ScrollbarGrabHovered));
const auto windowSize = ImHexApi::System::getMainWindowSize();
const auto searchBoxSize = ImVec2(windowSize.x / 2.5, titleBarHeight - 3_scaled);
const auto searchBoxPos = ImVec2((windowSize / 2 - searchBoxSize / 2).x, 3_scaled);
s_searchBarPosition = searchBoxPos.x;
// Custom titlebar buttons implementation for borderless window mode
auto &titleBarButtons = ContentRegistry::Interface::impl::getTitleBarButtons();
// Draw custom title bar buttons
if (!titleBarButtons.empty()) {
ImGui::SetCursorPosX(ImGui::GetWindowWidth() - buttonSize.x * float(4 + titleBarButtons.size()));
if (ImGui::GetCursorPosX() > (searchBoxPos.x + searchBoxSize.x)) {
for (const auto &[icon, tooltip, callback]: titleBarButtons) {
if (ImGuiExt::TitleBarButton(icon.c_str(), buttonSize)) {
callback();
}
ImGuiExt::InfoTooltip(Lang(tooltip));
}
}
}
auto window = ImHexApi::System::getMainWindowHandle();
if (ImHexApi::System::isBorderlessWindowModeEnabled() && glfwGetWindowMonitor(window) == nullptr) {
// Draw minimize, restore and maximize buttons
ImGui::SetCursorPosX(ImGui::GetWindowWidth() - buttonSize.x * 3);
if (ImGuiExt::TitleBarButton(ICON_VS_CHROME_MINIMIZE, buttonSize))
glfwIconifyWindow(window);
if (glfwGetWindowAttrib(window, GLFW_MAXIMIZED)) {
if (ImGuiExt::TitleBarButton(ICON_VS_CHROME_RESTORE, buttonSize))
glfwRestoreWindow(window);
} else {
if (ImGuiExt::TitleBarButton(ICON_VS_CHROME_MAXIMIZE, buttonSize))
glfwMaximizeWindow(window);
}
ImGui::PushStyleColor(ImGuiCol_ButtonActive, 0xFF7A70F1);
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, 0xFF2311E8);
// Draw close button
if (ImGuiExt::TitleBarButton(ICON_VS_CHROME_CLOSE, buttonSize)) {
ImHexApi::System::closeImHex();
}
ImGui::PopStyleColor(2);
}
ImGui::PopStyleColor(3);
ImGui::PopStyleVar();
{
const auto buttonColor = [](float alpha) {
return ImU32(ImColor(ImGui::GetStyleColorVec4(ImGuiCol_DockingEmptyBg) * ImVec4(1, 1, 1, alpha)));
};
ImGui::PushStyleColor(ImGuiCol_Button, buttonColor(0.5F));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, buttonColor(0.7F));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, buttonColor(0.9F));
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize, 1.0_scaled);
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 4_scaled);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, scaled({ 1, 1 }));
ImGui::SetCursorPos(searchBoxPos);
if (ImGui::Button(s_windowTitle.c_str(), searchBoxSize)) {
EventSearchBoxClicked::post(ImGuiMouseButton_Left);
}
if (ImGui::IsItemClicked(ImGuiMouseButton_Right))
EventSearchBoxClicked::post(ImGuiMouseButton_Right);
ImGui::PushTextWrapPos(300_scaled);
if (!s_windowTitleFull.empty())
ImGui::SetItemTooltip("%s", s_windowTitleFull.c_str());
ImGui::PopTextWrapPos();
ImGui::PopStyleVar(3);
ImGui::PopStyleColor(3);
}
}
void drawMainMenu(float menuBarHeight) {
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0.0F);
ImGui::SetNextWindowScroll(ImVec2(0, 0));
if (ImGui::BeginMainMenuBar()) {
if (ImHexApi::System::isBorderlessWindowModeEnabled()) {
ImGui::SetCursorPosX(5);
ImGui::Image(s_logoTexture, ImVec2(menuBarHeight, menuBarHeight));
ImGui::SetCursorPosX(5);
ImGui::InvisibleButton("##logo", ImVec2(menuBarHeight, menuBarHeight));
ImGui::OpenPopupOnItemClick("WindowingMenu", ImGuiPopupFlags_MouseButtonLeft);
}
if (ImGui::BeginPopup("WindowingMenu")) {
auto window = ImHexApi::System::getMainWindowHandle();
bool maximized = glfwGetWindowAttrib(window, GLFW_MAXIMIZED);
ImGui::BeginDisabled(!maximized);
if (ImGui::MenuItem(ICON_VS_CHROME_RESTORE " Restore")) glfwRestoreWindow(window);
ImGui::EndDisabled();
if (ImGui::MenuItem(ICON_VS_CHROME_MINIMIZE " Minimize")) glfwIconifyWindow(window);
ImGui::BeginDisabled(maximized);
if (ImGui::MenuItem(ICON_VS_CHROME_MAXIMIZE " Maximize")) glfwMaximizeWindow(window);
ImGui::EndDisabled();
ImGui::Separator();
if (ImGui::MenuItem(ICON_VS_CHROME_CLOSE " Close")) ImHexApi::System::closeImHex();
ImGui::EndPopup();
}
const static auto drawMenu = [] {
for (const auto &[priority, menuItem] : ContentRegistry::Interface::impl::getMainMenuItems()) {
ImGui::GetStyle().TouchExtraPadding = scaled(ImVec2(0, 2));
if (ImGui::BeginMenu(Lang(menuItem.unlocalizedName))) {
ImGui::EndMenu();
}
ImGui::GetStyle().TouchExtraPadding = ImVec2(0, 0);
}
for (auto &[priority, menuItem] : ContentRegistry::Interface::impl::getMenuItems()) {
const auto &[unlocalizedNames, icon, shortcut, view, callback, enabledCallback, selectedCallack, toolbarIndex] = menuItem;
createNestedMenu(unlocalizedNames, icon.glyph.c_str(), *shortcut, callback, enabledCallback, selectedCallack);
}
};
if (ImHexApi::System::getLastFrameTime() > 0) {
static u32 menuEndPos = 0;
if (menuEndPos < s_searchBarPosition) {
drawMenu();
menuEndPos = ImGui::GetCursorPosX();
} else {
if (ImGui::BeginMenu(ICON_VS_MENU)) {
drawMenu();
ImGui::EndMenu();
}
}
}
drawTitleBar();
ImGui::EndMainMenuBar();
}
ImGui::PopStyleVar();
}
void drawToolbar() {
if (ImGui::BeginMenuBar()) {
for (const auto &callback : ContentRegistry::Interface::impl::getToolbarItems()) {
callback();
ImGui::SameLine();
}
if (auto provider = ImHexApi::Provider::get(); provider != nullptr) {
ImGui::BeginDisabled(TaskManager::getRunningTaskCount() > 0);
if (ImGui::CloseButton(ImGui::GetID("ProviderCloseButton"), ImGui::GetCursorScreenPos() + ImVec2(ImGui::GetContentRegionAvail().x - 17_scaled, 3_scaled))) {
ImHexApi::Provider::remove(provider);
}
ImGui::EndDisabled();
}
ImGui::EndMenuBar();
}
}
bool anySidebarItemsAvailable() {
if (const auto &items = ContentRegistry::Interface::impl::getSidebarItems(); items.empty()) {
return false;
} else {
return std::any_of(items.begin(), items.end(), [](const auto &item) {
return item.enabledCallback();
});
}
}
bool isAnyViewOpen() {
const auto &views = ContentRegistry::Views::impl::getEntries();
return std::any_of(views.begin(), views.end(),
[](const auto &entry) {
return entry.second->getWindowOpenState();
});
}
}
void addWindowDecoration() {
EventFrameBegin::subscribe([]{
AT_FIRST_TIME {
s_logoTexture = ImGuiExt::Texture(romfs::get("assets/common/icon.png").span(), ImGuiExt::Texture::Filter::Nearest);
};
constexpr static ImGuiWindowFlags windowFlags = ImGuiWindowFlags_MenuBar | ImGuiWindowFlags_NoDocking | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoNavFocus | ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse;
// Handle all undocked floating windows
ImGuiViewport *viewport = ImGui::GetMainViewport();
ImGui::SetNextWindowPos(viewport->WorkPos);
ImGui::SetNextWindowSize(ImHexApi::System::getMainWindowSize() - ImVec2(0, ImGui::GetTextLineHeightWithSpacing()));
ImGui::SetNextWindowViewport(viewport->ID);
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 0.0F);
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0.0F);
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0, 0));
// Draw main window decoration
if (ImGui::Begin("ImHexDockSpace", nullptr, windowFlags)) {
ImGui::PopStyleVar();
const auto drawList = ImGui::GetWindowDrawList();
const auto shouldDrawSidebar = anySidebarItemsAvailable();
const auto menuBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
const auto sidebarPos = ImGui::GetCursorPos();
const auto sidebarWidth = shouldDrawSidebar ? 20_scaled : 0;
const auto footerHeight = ImGui::GetTextLineHeightWithSpacing() + ImGui::GetStyle().FramePadding.y * 2 + 1_scaled;
const auto dockSpaceSize = ImVec2(ImHexApi::System::getMainWindowSize().x - sidebarWidth, ImGui::GetContentRegionAvail().y - footerHeight);
ImGui::SetCursorPosX(sidebarWidth);
drawFooter(drawList, dockSpaceSize, footerHeight);
if (shouldDrawSidebar) {
ImGui::SetCursorPos(sidebarPos);
drawSidebar(dockSpaceSize, sidebarPos, sidebarWidth);
}
drawMainMenu(menuBarHeight);
drawToolbar();
if (ImHexApi::Provider::isValid() && isAnyViewOpen()) {
drawList->AddLine(
ImGui::GetWindowPos() + sidebarPos + ImVec2(sidebarWidth - 1_scaled, -2_scaled),
ImGui::GetWindowPos() + sidebarPos + ImGui::GetWindowSize() - ImVec2(dockSpaceSize.x + 1_scaled, footerHeight - ImGui::GetStyle().FramePadding.y - 1_scaled + menuBarHeight),
ImGui::GetColorU32(ImGuiCol_Separator));
}
} else {
ImGui::PopStyleVar();
}
ImGui::End();
ImGui::PopStyleVar(2);
// Draw main menu popups
for (auto &[priority, menuItem] : ContentRegistry::Interface::impl::getMenuItems()) {
const auto &[unlocalizedNames, icon, shortcut, view, callback, enabledCallback, selectedCallback, toolbarIndex] = menuItem;
if (ImGui::BeginPopup(unlocalizedNames.front().get().c_str())) {
createNestedMenu({ unlocalizedNames.begin() + 1, unlocalizedNames.end() }, icon.glyph.c_str(), *shortcut, callback, enabledCallback, selectedCallback);
ImGui::EndPopup();
}
}
});
constexpr static auto ImHexTitle = "ImHex";
s_windowTitle = ImHexTitle;
// Handle updating the window title
RequestUpdateWindowTitle::subscribe([] {
std::string prefix, postfix;
std::string title = ImHexTitle;
if (ProjectFile::hasPath()) {
// If a project is open, show the project name instead of the file name
prefix = "Project ";
title = ProjectFile::getPath().stem().string();
if (ImHexApi::Provider::isDirty())
postfix += " (*)";
} else if (ImHexApi::Provider::isValid()) {
auto provider = ImHexApi::Provider::get();
if (provider != nullptr) {
title = provider->getName();
if (provider->isDirty())
postfix += " (*)";
if (!provider->isWritable() && provider->getActualSize() != 0)
postfix += " (Read Only)";
}
}
s_windowTitle = prefix + hex::limitStringLength(title, 32) + postfix;
s_windowTitleFull = prefix + title + postfix;
auto window = ImHexApi::System::getMainWindowHandle();
if (window != nullptr) {
if (title != ImHexTitle)
title = std::string(ImHexTitle) + " - " + title;
glfwSetWindowTitle(window, title.c_str());
}
});
}
}

View File

@@ -1,6 +1,7 @@
#include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/api/task_manager.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
@@ -41,12 +42,12 @@ namespace hex::plugin::builtin {
void registerTutorials();
void loadWorkspaces();
void addWindowDecoration();
void addFooterItems();
void addTitleBarButtons();
void addToolbarItems();
void addGlobalUIItems();
void addInitTasks();
void loadFonts();
void handleBorderlessWindowMode();
void setupOutOfBoxExperience();
@@ -80,7 +81,6 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));
addInitTasks();
loadFonts();
extractBundledFiles();
registerMainMenuEntries();
@@ -100,7 +100,6 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
registerDataProcessorNodes();
registerProviders();
registerDataFormatters();
createWelcomeScreen();
registerViews();
registerThemeHandlers();
registerStyleHandlers();
@@ -113,6 +112,8 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
registerReportGenerators();
registerTutorials();
loadWorkspaces();
addWindowDecoration();
createWelcomeScreen();
addFooterItems();
addTitleBarButtons();

View File

@@ -25,6 +25,7 @@ add_imhex_plugin(
include
LIBRARIES
ui
fonts
FEATURES
ZLIB
BZIP2

View File

@@ -24,5 +24,6 @@ add_imhex_plugin(
include
LIBRARIES
ui
fonts
edlib
)

View File

@@ -4,6 +4,8 @@
#include <hex/helpers/fmt.hpp>
#include <hex/providers/buffered_reader.hpp>
#include <fonts/codicons_font.h>
#include <wolv/utils/guards.hpp>
namespace hex::plugin::diffing {

View File

@@ -28,6 +28,7 @@ add_imhex_plugin(
include
${CAPSTONE_INCLUDE_DIR}
LIBRARIES
${CAPSTONE_LIBRARY}
ui
fonts
${CAPSTONE_LIBRARY}
)

View File

@@ -3,6 +3,8 @@
#include <hex/providers/provider.hpp>
#include <hex/helpers/fmt.hpp>
#include <fonts/codicons_font.h>
#include <cstring>
using namespace std::literals::string_literals;

View File

@@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 3.16)
include(ImHexPlugin)
add_imhex_plugin(
NAME
fonts
SOURCES
source/library_fonts.cpp
source/fonts.cpp
INCLUDES
include
LIBRARY_PLUGIN
)

502
plugins/fonts/LICENSE Normal file
View File

@@ -0,0 +1,502 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

View File

@@ -0,0 +1,20 @@
#pragma once
// Generated: 2023-11-12 08:44:48.641532
extern const unsigned int blendericons_compressed_size;
extern const unsigned int blendericons_compressed_data[];
#define ICON_MIN_BI 0xea00
#define ICON_MAX_BI 0xea09
#define ICON_BI_CUBE "\xee\xa8\x80" //< U+ea00
#define ICON_BI_DATA_TRANSFER_BOTH "\xee\xa8\x81" //< U+ea01
#define ICON_BI_EMPTY_ARROWS "\xee\xa8\x82" //< U+ea02
#define ICON_BI_GRID "\xee\xa8\x83" //< U+ea03
#define ICON_BI_MESH_GRID "\xee\xa8\x84" //< U+ea04
#define ICON_BI_MOD_SOLIDIFY "\xee\xa8\x85" //< U+ea05
#define ICON_BI_ORIENTATION_GLOBAL "\xee\xa8\x86" //< U+ea06
#define ICON_BI_ORIENTATION_LOCAL "\xee\xa8\x87" //< U+ea07
#define ICON_BI_VIEW_ORTHO "\xee\xa8\x88" //< U+ea08
#define ICON_BI_VIEW_PERSPECTIVE "\xee\xa8\x89" //< U+ea09

View File

@@ -0,0 +1,558 @@
// Generated by https://github.com/juliettef/IconFontCppHeaders script GenerateIconFontCppHeaders.py for languages C and C++
// from https://raw.githubusercontent.com/microsoft/vscode-codicons/main/dist/codicon.css
// for use with https://github.com/microsoft/vscode-codicons/blob/main/dist/codicon.ttf
#pragma once
#define FONT_ICON_FILE_NAME_VS "codicon.ttf"
#define ICON_MIN_VS 0xea60
#define ICON_MAX_16_VS 0xec25
#define ICON_MAX_VS 0xec25
#define ICON_VS_ADD "\xee\xa9\xa0" // U+ea60
#define ICON_VS_PLUS "\xee\xa9\xa0" // U+ea60
#define ICON_VS_GIST_NEW "\xee\xa9\xa0" // U+ea60
#define ICON_VS_REPO_CREATE "\xee\xa9\xa0" // U+ea60
#define ICON_VS_LIGHTBULB "\xee\xa9\xa1" // U+ea61
#define ICON_VS_LIGHT_BULB "\xee\xa9\xa1" // U+ea61
#define ICON_VS_REPO "\xee\xa9\xa2" // U+ea62
#define ICON_VS_REPO_DELETE "\xee\xa9\xa2" // U+ea62
#define ICON_VS_GIST_FORK "\xee\xa9\xa3" // U+ea63
#define ICON_VS_REPO_FORKED "\xee\xa9\xa3" // U+ea63
#define ICON_VS_GIT_PULL_REQUEST "\xee\xa9\xa4" // U+ea64
#define ICON_VS_GIT_PULL_REQUEST_ABANDONED "\xee\xa9\xa4" // U+ea64
#define ICON_VS_RECORD_KEYS "\xee\xa9\xa5" // U+ea65
#define ICON_VS_KEYBOARD "\xee\xa9\xa5" // U+ea65
#define ICON_VS_TAG "\xee\xa9\xa6" // U+ea66
#define ICON_VS_GIT_PULL_REQUEST_LABEL "\xee\xa9\xa6" // U+ea66
#define ICON_VS_TAG_ADD "\xee\xa9\xa6" // U+ea66
#define ICON_VS_TAG_REMOVE "\xee\xa9\xa6" // U+ea66
#define ICON_VS_PERSON "\xee\xa9\xa7" // U+ea67
#define ICON_VS_PERSON_FOLLOW "\xee\xa9\xa7" // U+ea67
#define ICON_VS_PERSON_OUTLINE "\xee\xa9\xa7" // U+ea67
#define ICON_VS_PERSON_FILLED "\xee\xa9\xa7" // U+ea67
#define ICON_VS_GIT_BRANCH "\xee\xa9\xa8" // U+ea68
#define ICON_VS_GIT_BRANCH_CREATE "\xee\xa9\xa8" // U+ea68
#define ICON_VS_GIT_BRANCH_DELETE "\xee\xa9\xa8" // U+ea68
#define ICON_VS_SOURCE_CONTROL "\xee\xa9\xa8" // U+ea68
#define ICON_VS_MIRROR "\xee\xa9\xa9" // U+ea69
#define ICON_VS_MIRROR_PUBLIC "\xee\xa9\xa9" // U+ea69
#define ICON_VS_STAR "\xee\xa9\xaa" // U+ea6a
#define ICON_VS_STAR_ADD "\xee\xa9\xaa" // U+ea6a
#define ICON_VS_STAR_DELETE "\xee\xa9\xaa" // U+ea6a
#define ICON_VS_STAR_EMPTY "\xee\xa9\xaa" // U+ea6a
#define ICON_VS_COMMENT "\xee\xa9\xab" // U+ea6b
#define ICON_VS_COMMENT_ADD "\xee\xa9\xab" // U+ea6b
#define ICON_VS_ALERT "\xee\xa9\xac" // U+ea6c
#define ICON_VS_WARNING "\xee\xa9\xac" // U+ea6c
#define ICON_VS_SEARCH "\xee\xa9\xad" // U+ea6d
#define ICON_VS_SEARCH_SAVE "\xee\xa9\xad" // U+ea6d
#define ICON_VS_LOG_OUT "\xee\xa9\xae" // U+ea6e
#define ICON_VS_SIGN_OUT "\xee\xa9\xae" // U+ea6e
#define ICON_VS_LOG_IN "\xee\xa9\xaf" // U+ea6f
#define ICON_VS_SIGN_IN "\xee\xa9\xaf" // U+ea6f
#define ICON_VS_EYE "\xee\xa9\xb0" // U+ea70
#define ICON_VS_EYE_UNWATCH "\xee\xa9\xb0" // U+ea70
#define ICON_VS_EYE_WATCH "\xee\xa9\xb0" // U+ea70
#define ICON_VS_CIRCLE_FILLED "\xee\xa9\xb1" // U+ea71
#define ICON_VS_PRIMITIVE_DOT "\xee\xa9\xb1" // U+ea71
#define ICON_VS_CLOSE_DIRTY "\xee\xa9\xb1" // U+ea71
#define ICON_VS_DEBUG_BREAKPOINT "\xee\xa9\xb1" // U+ea71
#define ICON_VS_DEBUG_BREAKPOINT_DISABLED "\xee\xa9\xb1" // U+ea71
#define ICON_VS_DEBUG_HINT "\xee\xa9\xb1" // U+ea71
#define ICON_VS_TERMINAL_DECORATION_SUCCESS "\xee\xa9\xb1" // U+ea71
#define ICON_VS_PRIMITIVE_SQUARE "\xee\xa9\xb2" // U+ea72
#define ICON_VS_EDIT "\xee\xa9\xb3" // U+ea73
#define ICON_VS_PENCIL "\xee\xa9\xb3" // U+ea73
#define ICON_VS_INFO "\xee\xa9\xb4" // U+ea74
#define ICON_VS_ISSUE_OPENED "\xee\xa9\xb4" // U+ea74
#define ICON_VS_GIST_PRIVATE "\xee\xa9\xb5" // U+ea75
#define ICON_VS_GIT_FORK_PRIVATE "\xee\xa9\xb5" // U+ea75
#define ICON_VS_LOCK "\xee\xa9\xb5" // U+ea75
#define ICON_VS_MIRROR_PRIVATE "\xee\xa9\xb5" // U+ea75
#define ICON_VS_CLOSE "\xee\xa9\xb6" // U+ea76
#define ICON_VS_REMOVE_CLOSE "\xee\xa9\xb6" // U+ea76
#define ICON_VS_X "\xee\xa9\xb6" // U+ea76
#define ICON_VS_REPO_SYNC "\xee\xa9\xb7" // U+ea77
#define ICON_VS_SYNC "\xee\xa9\xb7" // U+ea77
#define ICON_VS_CLONE "\xee\xa9\xb8" // U+ea78
#define ICON_VS_DESKTOP_DOWNLOAD "\xee\xa9\xb8" // U+ea78
#define ICON_VS_BEAKER "\xee\xa9\xb9" // U+ea79
#define ICON_VS_MICROSCOPE "\xee\xa9\xb9" // U+ea79
#define ICON_VS_VM "\xee\xa9\xba" // U+ea7a
#define ICON_VS_DEVICE_DESKTOP "\xee\xa9\xba" // U+ea7a
#define ICON_VS_FILE "\xee\xa9\xbb" // U+ea7b
#define ICON_VS_FILE_TEXT "\xee\xa9\xbb" // U+ea7b
#define ICON_VS_MORE "\xee\xa9\xbc" // U+ea7c
#define ICON_VS_ELLIPSIS "\xee\xa9\xbc" // U+ea7c
#define ICON_VS_KEBAB_HORIZONTAL "\xee\xa9\xbc" // U+ea7c
#define ICON_VS_MAIL_REPLY "\xee\xa9\xbd" // U+ea7d
#define ICON_VS_REPLY "\xee\xa9\xbd" // U+ea7d
#define ICON_VS_ORGANIZATION "\xee\xa9\xbe" // U+ea7e
#define ICON_VS_ORGANIZATION_FILLED "\xee\xa9\xbe" // U+ea7e
#define ICON_VS_ORGANIZATION_OUTLINE "\xee\xa9\xbe" // U+ea7e
#define ICON_VS_NEW_FILE "\xee\xa9\xbf" // U+ea7f
#define ICON_VS_FILE_ADD "\xee\xa9\xbf" // U+ea7f
#define ICON_VS_NEW_FOLDER "\xee\xaa\x80" // U+ea80
#define ICON_VS_FILE_DIRECTORY_CREATE "\xee\xaa\x80" // U+ea80
#define ICON_VS_TRASH "\xee\xaa\x81" // U+ea81
#define ICON_VS_TRASHCAN "\xee\xaa\x81" // U+ea81
#define ICON_VS_HISTORY "\xee\xaa\x82" // U+ea82
#define ICON_VS_CLOCK "\xee\xaa\x82" // U+ea82
#define ICON_VS_FOLDER "\xee\xaa\x83" // U+ea83
#define ICON_VS_FILE_DIRECTORY "\xee\xaa\x83" // U+ea83
#define ICON_VS_SYMBOL_FOLDER "\xee\xaa\x83" // U+ea83
#define ICON_VS_LOGO_GITHUB "\xee\xaa\x84" // U+ea84
#define ICON_VS_MARK_GITHUB "\xee\xaa\x84" // U+ea84
#define ICON_VS_GITHUB "\xee\xaa\x84" // U+ea84
#define ICON_VS_TERMINAL "\xee\xaa\x85" // U+ea85
#define ICON_VS_CONSOLE "\xee\xaa\x85" // U+ea85
#define ICON_VS_REPL "\xee\xaa\x85" // U+ea85
#define ICON_VS_ZAP "\xee\xaa\x86" // U+ea86
#define ICON_VS_SYMBOL_EVENT "\xee\xaa\x86" // U+ea86
#define ICON_VS_ERROR "\xee\xaa\x87" // U+ea87
#define ICON_VS_STOP "\xee\xaa\x87" // U+ea87
#define ICON_VS_VARIABLE "\xee\xaa\x88" // U+ea88
#define ICON_VS_SYMBOL_VARIABLE "\xee\xaa\x88" // U+ea88
#define ICON_VS_ARRAY "\xee\xaa\x8a" // U+ea8a
#define ICON_VS_SYMBOL_ARRAY "\xee\xaa\x8a" // U+ea8a
#define ICON_VS_SYMBOL_MODULE "\xee\xaa\x8b" // U+ea8b
#define ICON_VS_SYMBOL_PACKAGE "\xee\xaa\x8b" // U+ea8b
#define ICON_VS_SYMBOL_NAMESPACE "\xee\xaa\x8b" // U+ea8b
#define ICON_VS_SYMBOL_OBJECT "\xee\xaa\x8b" // U+ea8b
#define ICON_VS_SYMBOL_METHOD "\xee\xaa\x8c" // U+ea8c
#define ICON_VS_SYMBOL_FUNCTION "\xee\xaa\x8c" // U+ea8c
#define ICON_VS_SYMBOL_CONSTRUCTOR "\xee\xaa\x8c" // U+ea8c
#define ICON_VS_SYMBOL_BOOLEAN "\xee\xaa\x8f" // U+ea8f
#define ICON_VS_SYMBOL_NULL "\xee\xaa\x8f" // U+ea8f
#define ICON_VS_SYMBOL_NUMERIC "\xee\xaa\x90" // U+ea90
#define ICON_VS_SYMBOL_NUMBER "\xee\xaa\x90" // U+ea90
#define ICON_VS_SYMBOL_STRUCTURE "\xee\xaa\x91" // U+ea91
#define ICON_VS_SYMBOL_STRUCT "\xee\xaa\x91" // U+ea91
#define ICON_VS_SYMBOL_PARAMETER "\xee\xaa\x92" // U+ea92
#define ICON_VS_SYMBOL_TYPE_PARAMETER "\xee\xaa\x92" // U+ea92
#define ICON_VS_SYMBOL_KEY "\xee\xaa\x93" // U+ea93
#define ICON_VS_SYMBOL_TEXT "\xee\xaa\x93" // U+ea93
#define ICON_VS_SYMBOL_REFERENCE "\xee\xaa\x94" // U+ea94
#define ICON_VS_GO_TO_FILE "\xee\xaa\x94" // U+ea94
#define ICON_VS_SYMBOL_ENUM "\xee\xaa\x95" // U+ea95
#define ICON_VS_SYMBOL_VALUE "\xee\xaa\x95" // U+ea95
#define ICON_VS_SYMBOL_RULER "\xee\xaa\x96" // U+ea96
#define ICON_VS_SYMBOL_UNIT "\xee\xaa\x96" // U+ea96
#define ICON_VS_ACTIVATE_BREAKPOINTS "\xee\xaa\x97" // U+ea97
#define ICON_VS_ARCHIVE "\xee\xaa\x98" // U+ea98
#define ICON_VS_ARROW_BOTH "\xee\xaa\x99" // U+ea99
#define ICON_VS_ARROW_DOWN "\xee\xaa\x9a" // U+ea9a
#define ICON_VS_ARROW_LEFT "\xee\xaa\x9b" // U+ea9b
#define ICON_VS_ARROW_RIGHT "\xee\xaa\x9c" // U+ea9c
#define ICON_VS_ARROW_SMALL_DOWN "\xee\xaa\x9d" // U+ea9d
#define ICON_VS_ARROW_SMALL_LEFT "\xee\xaa\x9e" // U+ea9e
#define ICON_VS_ARROW_SMALL_RIGHT "\xee\xaa\x9f" // U+ea9f
#define ICON_VS_ARROW_SMALL_UP "\xee\xaa\xa0" // U+eaa0
#define ICON_VS_ARROW_UP "\xee\xaa\xa1" // U+eaa1
#define ICON_VS_BELL "\xee\xaa\xa2" // U+eaa2
#define ICON_VS_BOLD "\xee\xaa\xa3" // U+eaa3
#define ICON_VS_BOOK "\xee\xaa\xa4" // U+eaa4
#define ICON_VS_BOOKMARK "\xee\xaa\xa5" // U+eaa5
#define ICON_VS_DEBUG_BREAKPOINT_CONDITIONAL_UNVERIFIED "\xee\xaa\xa6" // U+eaa6
#define ICON_VS_DEBUG_BREAKPOINT_CONDITIONAL "\xee\xaa\xa7" // U+eaa7
#define ICON_VS_DEBUG_BREAKPOINT_CONDITIONAL_DISABLED "\xee\xaa\xa7" // U+eaa7
#define ICON_VS_DEBUG_BREAKPOINT_DATA_UNVERIFIED "\xee\xaa\xa8" // U+eaa8
#define ICON_VS_DEBUG_BREAKPOINT_DATA "\xee\xaa\xa9" // U+eaa9
#define ICON_VS_DEBUG_BREAKPOINT_DATA_DISABLED "\xee\xaa\xa9" // U+eaa9
#define ICON_VS_DEBUG_BREAKPOINT_LOG_UNVERIFIED "\xee\xaa\xaa" // U+eaaa
#define ICON_VS_DEBUG_BREAKPOINT_LOG "\xee\xaa\xab" // U+eaab
#define ICON_VS_DEBUG_BREAKPOINT_LOG_DISABLED "\xee\xaa\xab" // U+eaab
#define ICON_VS_BRIEFCASE "\xee\xaa\xac" // U+eaac
#define ICON_VS_BROADCAST "\xee\xaa\xad" // U+eaad
#define ICON_VS_BROWSER "\xee\xaa\xae" // U+eaae
#define ICON_VS_BUG "\xee\xaa\xaf" // U+eaaf
#define ICON_VS_CALENDAR "\xee\xaa\xb0" // U+eab0
#define ICON_VS_CASE_SENSITIVE "\xee\xaa\xb1" // U+eab1
#define ICON_VS_CHECK "\xee\xaa\xb2" // U+eab2
#define ICON_VS_CHECKLIST "\xee\xaa\xb3" // U+eab3
#define ICON_VS_CHEVRON_DOWN "\xee\xaa\xb4" // U+eab4
#define ICON_VS_CHEVRON_LEFT "\xee\xaa\xb5" // U+eab5
#define ICON_VS_CHEVRON_RIGHT "\xee\xaa\xb6" // U+eab6
#define ICON_VS_CHEVRON_UP "\xee\xaa\xb7" // U+eab7
#define ICON_VS_CHROME_CLOSE "\xee\xaa\xb8" // U+eab8
#define ICON_VS_CHROME_MAXIMIZE "\xee\xaa\xb9" // U+eab9
#define ICON_VS_CHROME_MINIMIZE "\xee\xaa\xba" // U+eaba
#define ICON_VS_CHROME_RESTORE "\xee\xaa\xbb" // U+eabb
#define ICON_VS_CIRCLE_OUTLINE "\xee\xaa\xbc" // U+eabc
#define ICON_VS_CIRCLE "\xee\xaa\xbc" // U+eabc
#define ICON_VS_DEBUG_BREAKPOINT_UNVERIFIED "\xee\xaa\xbc" // U+eabc
#define ICON_VS_TERMINAL_DECORATION_INCOMPLETE "\xee\xaa\xbc" // U+eabc
#define ICON_VS_CIRCLE_SLASH "\xee\xaa\xbd" // U+eabd
#define ICON_VS_CIRCUIT_BOARD "\xee\xaa\xbe" // U+eabe
#define ICON_VS_CLEAR_ALL "\xee\xaa\xbf" // U+eabf
#define ICON_VS_CLIPPY "\xee\xab\x80" // U+eac0
#define ICON_VS_CLOSE_ALL "\xee\xab\x81" // U+eac1
#define ICON_VS_CLOUD_DOWNLOAD "\xee\xab\x82" // U+eac2
#define ICON_VS_CLOUD_UPLOAD "\xee\xab\x83" // U+eac3
#define ICON_VS_CODE "\xee\xab\x84" // U+eac4
#define ICON_VS_COLLAPSE_ALL "\xee\xab\x85" // U+eac5
#define ICON_VS_COLOR_MODE "\xee\xab\x86" // U+eac6
#define ICON_VS_COMMENT_DISCUSSION "\xee\xab\x87" // U+eac7
#define ICON_VS_CREDIT_CARD "\xee\xab\x89" // U+eac9
#define ICON_VS_DASH "\xee\xab\x8c" // U+eacc
#define ICON_VS_DASHBOARD "\xee\xab\x8d" // U+eacd
#define ICON_VS_DATABASE "\xee\xab\x8e" // U+eace
#define ICON_VS_DEBUG_CONTINUE "\xee\xab\x8f" // U+eacf
#define ICON_VS_DEBUG_DISCONNECT "\xee\xab\x90" // U+ead0
#define ICON_VS_DEBUG_PAUSE "\xee\xab\x91" // U+ead1
#define ICON_VS_DEBUG_RESTART "\xee\xab\x92" // U+ead2
#define ICON_VS_DEBUG_START "\xee\xab\x93" // U+ead3
#define ICON_VS_DEBUG_STEP_INTO "\xee\xab\x94" // U+ead4
#define ICON_VS_DEBUG_STEP_OUT "\xee\xab\x95" // U+ead5
#define ICON_VS_DEBUG_STEP_OVER "\xee\xab\x96" // U+ead6
#define ICON_VS_DEBUG_STOP "\xee\xab\x97" // U+ead7
#define ICON_VS_DEBUG "\xee\xab\x98" // U+ead8
#define ICON_VS_DEVICE_CAMERA_VIDEO "\xee\xab\x99" // U+ead9
#define ICON_VS_DEVICE_CAMERA "\xee\xab\x9a" // U+eada
#define ICON_VS_DEVICE_MOBILE "\xee\xab\x9b" // U+eadb
#define ICON_VS_DIFF_ADDED "\xee\xab\x9c" // U+eadc
#define ICON_VS_DIFF_IGNORED "\xee\xab\x9d" // U+eadd
#define ICON_VS_DIFF_MODIFIED "\xee\xab\x9e" // U+eade
#define ICON_VS_DIFF_REMOVED "\xee\xab\x9f" // U+eadf
#define ICON_VS_DIFF_RENAMED "\xee\xab\xa0" // U+eae0
#define ICON_VS_DIFF "\xee\xab\xa1" // U+eae1
#define ICON_VS_DIFF_SIDEBYSIDE "\xee\xab\xa1" // U+eae1
#define ICON_VS_DISCARD "\xee\xab\xa2" // U+eae2
#define ICON_VS_EDITOR_LAYOUT "\xee\xab\xa3" // U+eae3
#define ICON_VS_EMPTY_WINDOW "\xee\xab\xa4" // U+eae4
#define ICON_VS_EXCLUDE "\xee\xab\xa5" // U+eae5
#define ICON_VS_EXTENSIONS "\xee\xab\xa6" // U+eae6
#define ICON_VS_EYE_CLOSED "\xee\xab\xa7" // U+eae7
#define ICON_VS_FILE_BINARY "\xee\xab\xa8" // U+eae8
#define ICON_VS_FILE_CODE "\xee\xab\xa9" // U+eae9
#define ICON_VS_FILE_MEDIA "\xee\xab\xaa" // U+eaea
#define ICON_VS_FILE_PDF "\xee\xab\xab" // U+eaeb
#define ICON_VS_FILE_SUBMODULE "\xee\xab\xac" // U+eaec
#define ICON_VS_FILE_SYMLINK_DIRECTORY "\xee\xab\xad" // U+eaed
#define ICON_VS_FILE_SYMLINK_FILE "\xee\xab\xae" // U+eaee
#define ICON_VS_FILE_ZIP "\xee\xab\xaf" // U+eaef
#define ICON_VS_FILES "\xee\xab\xb0" // U+eaf0
#define ICON_VS_FILTER "\xee\xab\xb1" // U+eaf1
#define ICON_VS_FLAME "\xee\xab\xb2" // U+eaf2
#define ICON_VS_FOLD_DOWN "\xee\xab\xb3" // U+eaf3
#define ICON_VS_FOLD_UP "\xee\xab\xb4" // U+eaf4
#define ICON_VS_FOLD "\xee\xab\xb5" // U+eaf5
#define ICON_VS_FOLDER_ACTIVE "\xee\xab\xb6" // U+eaf6
#define ICON_VS_FOLDER_OPENED "\xee\xab\xb7" // U+eaf7
#define ICON_VS_GEAR "\xee\xab\xb8" // U+eaf8
#define ICON_VS_GIFT "\xee\xab\xb9" // U+eaf9
#define ICON_VS_GIST_SECRET "\xee\xab\xba" // U+eafa
#define ICON_VS_GIST "\xee\xab\xbb" // U+eafb
#define ICON_VS_GIT_COMMIT "\xee\xab\xbc" // U+eafc
#define ICON_VS_GIT_COMPARE "\xee\xab\xbd" // U+eafd
#define ICON_VS_COMPARE_CHANGES "\xee\xab\xbd" // U+eafd
#define ICON_VS_GIT_MERGE "\xee\xab\xbe" // U+eafe
#define ICON_VS_GITHUB_ACTION "\xee\xab\xbf" // U+eaff
#define ICON_VS_GITHUB_ALT "\xee\xac\x80" // U+eb00
#define ICON_VS_GLOBE "\xee\xac\x81" // U+eb01
#define ICON_VS_GRABBER "\xee\xac\x82" // U+eb02
#define ICON_VS_GRAPH "\xee\xac\x83" // U+eb03
#define ICON_VS_GRIPPER "\xee\xac\x84" // U+eb04
#define ICON_VS_HEART "\xee\xac\x85" // U+eb05
#define ICON_VS_HOME "\xee\xac\x86" // U+eb06
#define ICON_VS_HORIZONTAL_RULE "\xee\xac\x87" // U+eb07
#define ICON_VS_HUBOT "\xee\xac\x88" // U+eb08
#define ICON_VS_INBOX "\xee\xac\x89" // U+eb09
#define ICON_VS_ISSUE_REOPENED "\xee\xac\x8b" // U+eb0b
#define ICON_VS_ISSUES "\xee\xac\x8c" // U+eb0c
#define ICON_VS_ITALIC "\xee\xac\x8d" // U+eb0d
#define ICON_VS_JERSEY "\xee\xac\x8e" // U+eb0e
#define ICON_VS_JSON "\xee\xac\x8f" // U+eb0f
#define ICON_VS_KEBAB_VERTICAL "\xee\xac\x90" // U+eb10
#define ICON_VS_KEY "\xee\xac\x91" // U+eb11
#define ICON_VS_LAW "\xee\xac\x92" // U+eb12
#define ICON_VS_LIGHTBULB_AUTOFIX "\xee\xac\x93" // U+eb13
#define ICON_VS_LINK_EXTERNAL "\xee\xac\x94" // U+eb14
#define ICON_VS_LINK "\xee\xac\x95" // U+eb15
#define ICON_VS_LIST_ORDERED "\xee\xac\x96" // U+eb16
#define ICON_VS_LIST_UNORDERED "\xee\xac\x97" // U+eb17
#define ICON_VS_LIVE_SHARE "\xee\xac\x98" // U+eb18
#define ICON_VS_LOADING "\xee\xac\x99" // U+eb19
#define ICON_VS_LOCATION "\xee\xac\x9a" // U+eb1a
#define ICON_VS_MAIL_READ "\xee\xac\x9b" // U+eb1b
#define ICON_VS_MAIL "\xee\xac\x9c" // U+eb1c
#define ICON_VS_MARKDOWN "\xee\xac\x9d" // U+eb1d
#define ICON_VS_MEGAPHONE "\xee\xac\x9e" // U+eb1e
#define ICON_VS_MENTION "\xee\xac\x9f" // U+eb1f
#define ICON_VS_MILESTONE "\xee\xac\xa0" // U+eb20
#define ICON_VS_GIT_PULL_REQUEST_MILESTONE "\xee\xac\xa0" // U+eb20
#define ICON_VS_MORTAR_BOARD "\xee\xac\xa1" // U+eb21
#define ICON_VS_MOVE "\xee\xac\xa2" // U+eb22
#define ICON_VS_MULTIPLE_WINDOWS "\xee\xac\xa3" // U+eb23
#define ICON_VS_MUTE "\xee\xac\xa4" // U+eb24
#define ICON_VS_NO_NEWLINE "\xee\xac\xa5" // U+eb25
#define ICON_VS_NOTE "\xee\xac\xa6" // U+eb26
#define ICON_VS_OCTOFACE "\xee\xac\xa7" // U+eb27
#define ICON_VS_OPEN_PREVIEW "\xee\xac\xa8" // U+eb28
#define ICON_VS_PACKAGE "\xee\xac\xa9" // U+eb29
#define ICON_VS_PAINTCAN "\xee\xac\xaa" // U+eb2a
#define ICON_VS_PIN "\xee\xac\xab" // U+eb2b
#define ICON_VS_PLAY "\xee\xac\xac" // U+eb2c
#define ICON_VS_RUN "\xee\xac\xac" // U+eb2c
#define ICON_VS_PLUG "\xee\xac\xad" // U+eb2d
#define ICON_VS_PRESERVE_CASE "\xee\xac\xae" // U+eb2e
#define ICON_VS_PREVIEW "\xee\xac\xaf" // U+eb2f
#define ICON_VS_PROJECT "\xee\xac\xb0" // U+eb30
#define ICON_VS_PULSE "\xee\xac\xb1" // U+eb31
#define ICON_VS_QUESTION "\xee\xac\xb2" // U+eb32
#define ICON_VS_QUOTE "\xee\xac\xb3" // U+eb33
#define ICON_VS_RADIO_TOWER "\xee\xac\xb4" // U+eb34
#define ICON_VS_REACTIONS "\xee\xac\xb5" // U+eb35
#define ICON_VS_REFERENCES "\xee\xac\xb6" // U+eb36
#define ICON_VS_REFRESH "\xee\xac\xb7" // U+eb37
#define ICON_VS_REGEX "\xee\xac\xb8" // U+eb38
#define ICON_VS_REMOTE_EXPLORER "\xee\xac\xb9" // U+eb39
#define ICON_VS_REMOTE "\xee\xac\xba" // U+eb3a
#define ICON_VS_REMOVE "\xee\xac\xbb" // U+eb3b
#define ICON_VS_REPLACE_ALL "\xee\xac\xbc" // U+eb3c
#define ICON_VS_REPLACE "\xee\xac\xbd" // U+eb3d
#define ICON_VS_REPO_CLONE "\xee\xac\xbe" // U+eb3e
#define ICON_VS_REPO_FORCE_PUSH "\xee\xac\xbf" // U+eb3f
#define ICON_VS_REPO_PULL "\xee\xad\x80" // U+eb40
#define ICON_VS_REPO_PUSH "\xee\xad\x81" // U+eb41
#define ICON_VS_REPORT "\xee\xad\x82" // U+eb42
#define ICON_VS_REQUEST_CHANGES "\xee\xad\x83" // U+eb43
#define ICON_VS_ROCKET "\xee\xad\x84" // U+eb44
#define ICON_VS_ROOT_FOLDER_OPENED "\xee\xad\x85" // U+eb45
#define ICON_VS_ROOT_FOLDER "\xee\xad\x86" // U+eb46
#define ICON_VS_RSS "\xee\xad\x87" // U+eb47
#define ICON_VS_RUBY "\xee\xad\x88" // U+eb48
#define ICON_VS_SAVE_ALL "\xee\xad\x89" // U+eb49
#define ICON_VS_SAVE_AS "\xee\xad\x8a" // U+eb4a
#define ICON_VS_SAVE "\xee\xad\x8b" // U+eb4b
#define ICON_VS_SCREEN_FULL "\xee\xad\x8c" // U+eb4c
#define ICON_VS_SCREEN_NORMAL "\xee\xad\x8d" // U+eb4d
#define ICON_VS_SEARCH_STOP "\xee\xad\x8e" // U+eb4e
#define ICON_VS_SERVER "\xee\xad\x90" // U+eb50
#define ICON_VS_SETTINGS_GEAR "\xee\xad\x91" // U+eb51
#define ICON_VS_SETTINGS "\xee\xad\x92" // U+eb52
#define ICON_VS_SHIELD "\xee\xad\x93" // U+eb53
#define ICON_VS_SMILEY "\xee\xad\x94" // U+eb54
#define ICON_VS_SORT_PRECEDENCE "\xee\xad\x95" // U+eb55
#define ICON_VS_SPLIT_HORIZONTAL "\xee\xad\x96" // U+eb56
#define ICON_VS_SPLIT_VERTICAL "\xee\xad\x97" // U+eb57
#define ICON_VS_SQUIRREL "\xee\xad\x98" // U+eb58
#define ICON_VS_STAR_FULL "\xee\xad\x99" // U+eb59
#define ICON_VS_STAR_HALF "\xee\xad\x9a" // U+eb5a
#define ICON_VS_SYMBOL_CLASS "\xee\xad\x9b" // U+eb5b
#define ICON_VS_SYMBOL_COLOR "\xee\xad\x9c" // U+eb5c
#define ICON_VS_SYMBOL_CONSTANT "\xee\xad\x9d" // U+eb5d
#define ICON_VS_SYMBOL_ENUM_MEMBER "\xee\xad\x9e" // U+eb5e
#define ICON_VS_SYMBOL_FIELD "\xee\xad\x9f" // U+eb5f
#define ICON_VS_SYMBOL_FILE "\xee\xad\xa0" // U+eb60
#define ICON_VS_SYMBOL_INTERFACE "\xee\xad\xa1" // U+eb61
#define ICON_VS_SYMBOL_KEYWORD "\xee\xad\xa2" // U+eb62
#define ICON_VS_SYMBOL_MISC "\xee\xad\xa3" // U+eb63
#define ICON_VS_SYMBOL_OPERATOR "\xee\xad\xa4" // U+eb64
#define ICON_VS_SYMBOL_PROPERTY "\xee\xad\xa5" // U+eb65
#define ICON_VS_WRENCH "\xee\xad\xa5" // U+eb65
#define ICON_VS_WRENCH_SUBACTION "\xee\xad\xa5" // U+eb65
#define ICON_VS_SYMBOL_SNIPPET "\xee\xad\xa6" // U+eb66
#define ICON_VS_TASKLIST "\xee\xad\xa7" // U+eb67
#define ICON_VS_TELESCOPE "\xee\xad\xa8" // U+eb68
#define ICON_VS_TEXT_SIZE "\xee\xad\xa9" // U+eb69
#define ICON_VS_THREE_BARS "\xee\xad\xaa" // U+eb6a
#define ICON_VS_THUMBSDOWN "\xee\xad\xab" // U+eb6b
#define ICON_VS_THUMBSUP "\xee\xad\xac" // U+eb6c
#define ICON_VS_TOOLS "\xee\xad\xad" // U+eb6d
#define ICON_VS_TRIANGLE_DOWN "\xee\xad\xae" // U+eb6e
#define ICON_VS_TRIANGLE_LEFT "\xee\xad\xaf" // U+eb6f
#define ICON_VS_TRIANGLE_RIGHT "\xee\xad\xb0" // U+eb70
#define ICON_VS_TRIANGLE_UP "\xee\xad\xb1" // U+eb71
#define ICON_VS_TWITTER "\xee\xad\xb2" // U+eb72
#define ICON_VS_UNFOLD "\xee\xad\xb3" // U+eb73
#define ICON_VS_UNLOCK "\xee\xad\xb4" // U+eb74
#define ICON_VS_UNMUTE "\xee\xad\xb5" // U+eb75
#define ICON_VS_UNVERIFIED "\xee\xad\xb6" // U+eb76
#define ICON_VS_VERIFIED "\xee\xad\xb7" // U+eb77
#define ICON_VS_VERSIONS "\xee\xad\xb8" // U+eb78
#define ICON_VS_VM_ACTIVE "\xee\xad\xb9" // U+eb79
#define ICON_VS_VM_OUTLINE "\xee\xad\xba" // U+eb7a
#define ICON_VS_VM_RUNNING "\xee\xad\xbb" // U+eb7b
#define ICON_VS_WATCH "\xee\xad\xbc" // U+eb7c
#define ICON_VS_WHITESPACE "\xee\xad\xbd" // U+eb7d
#define ICON_VS_WHOLE_WORD "\xee\xad\xbe" // U+eb7e
#define ICON_VS_WINDOW "\xee\xad\xbf" // U+eb7f
#define ICON_VS_WORD_WRAP "\xee\xae\x80" // U+eb80
#define ICON_VS_ZOOM_IN "\xee\xae\x81" // U+eb81
#define ICON_VS_ZOOM_OUT "\xee\xae\x82" // U+eb82
#define ICON_VS_LIST_FILTER "\xee\xae\x83" // U+eb83
#define ICON_VS_LIST_FLAT "\xee\xae\x84" // U+eb84
#define ICON_VS_LIST_SELECTION "\xee\xae\x85" // U+eb85
#define ICON_VS_SELECTION "\xee\xae\x85" // U+eb85
#define ICON_VS_LIST_TREE "\xee\xae\x86" // U+eb86
#define ICON_VS_DEBUG_BREAKPOINT_FUNCTION_UNVERIFIED "\xee\xae\x87" // U+eb87
#define ICON_VS_DEBUG_BREAKPOINT_FUNCTION "\xee\xae\x88" // U+eb88
#define ICON_VS_DEBUG_BREAKPOINT_FUNCTION_DISABLED "\xee\xae\x88" // U+eb88
#define ICON_VS_DEBUG_STACKFRAME_ACTIVE "\xee\xae\x89" // U+eb89
#define ICON_VS_CIRCLE_SMALL_FILLED "\xee\xae\x8a" // U+eb8a
#define ICON_VS_DEBUG_STACKFRAME_DOT "\xee\xae\x8a" // U+eb8a
#define ICON_VS_TERMINAL_DECORATION_MARK "\xee\xae\x8a" // U+eb8a
#define ICON_VS_DEBUG_STACKFRAME "\xee\xae\x8b" // U+eb8b
#define ICON_VS_DEBUG_STACKFRAME_FOCUSED "\xee\xae\x8b" // U+eb8b
#define ICON_VS_DEBUG_BREAKPOINT_UNSUPPORTED "\xee\xae\x8c" // U+eb8c
#define ICON_VS_SYMBOL_STRING "\xee\xae\x8d" // U+eb8d
#define ICON_VS_DEBUG_REVERSE_CONTINUE "\xee\xae\x8e" // U+eb8e
#define ICON_VS_DEBUG_STEP_BACK "\xee\xae\x8f" // U+eb8f
#define ICON_VS_DEBUG_RESTART_FRAME "\xee\xae\x90" // U+eb90
#define ICON_VS_DEBUG_ALT "\xee\xae\x91" // U+eb91
#define ICON_VS_CALL_INCOMING "\xee\xae\x92" // U+eb92
#define ICON_VS_CALL_OUTGOING "\xee\xae\x93" // U+eb93
#define ICON_VS_MENU "\xee\xae\x94" // U+eb94
#define ICON_VS_EXPAND_ALL "\xee\xae\x95" // U+eb95
#define ICON_VS_FEEDBACK "\xee\xae\x96" // U+eb96
#define ICON_VS_GIT_PULL_REQUEST_REVIEWER "\xee\xae\x96" // U+eb96
#define ICON_VS_GROUP_BY_REF_TYPE "\xee\xae\x97" // U+eb97
#define ICON_VS_UNGROUP_BY_REF_TYPE "\xee\xae\x98" // U+eb98
#define ICON_VS_ACCOUNT "\xee\xae\x99" // U+eb99
#define ICON_VS_GIT_PULL_REQUEST_ASSIGNEE "\xee\xae\x99" // U+eb99
#define ICON_VS_BELL_DOT "\xee\xae\x9a" // U+eb9a
#define ICON_VS_DEBUG_CONSOLE "\xee\xae\x9b" // U+eb9b
#define ICON_VS_LIBRARY "\xee\xae\x9c" // U+eb9c
#define ICON_VS_OUTPUT "\xee\xae\x9d" // U+eb9d
#define ICON_VS_RUN_ALL "\xee\xae\x9e" // U+eb9e
#define ICON_VS_SYNC_IGNORED "\xee\xae\x9f" // U+eb9f
#define ICON_VS_PINNED "\xee\xae\xa0" // U+eba0
#define ICON_VS_GITHUB_INVERTED "\xee\xae\xa1" // U+eba1
#define ICON_VS_SERVER_PROCESS "\xee\xae\xa2" // U+eba2
#define ICON_VS_SERVER_ENVIRONMENT "\xee\xae\xa3" // U+eba3
#define ICON_VS_PASS "\xee\xae\xa4" // U+eba4
#define ICON_VS_ISSUE_CLOSED "\xee\xae\xa4" // U+eba4
#define ICON_VS_STOP_CIRCLE "\xee\xae\xa5" // U+eba5
#define ICON_VS_PLAY_CIRCLE "\xee\xae\xa6" // U+eba6
#define ICON_VS_RECORD "\xee\xae\xa7" // U+eba7
#define ICON_VS_DEBUG_ALT_SMALL "\xee\xae\xa8" // U+eba8
#define ICON_VS_VM_CONNECT "\xee\xae\xa9" // U+eba9
#define ICON_VS_CLOUD "\xee\xae\xaa" // U+ebaa
#define ICON_VS_MERGE "\xee\xae\xab" // U+ebab
#define ICON_VS_EXPORT "\xee\xae\xac" // U+ebac
#define ICON_VS_GRAPH_LEFT "\xee\xae\xad" // U+ebad
#define ICON_VS_MAGNET "\xee\xae\xae" // U+ebae
#define ICON_VS_NOTEBOOK "\xee\xae\xaf" // U+ebaf
#define ICON_VS_REDO "\xee\xae\xb0" // U+ebb0
#define ICON_VS_CHECK_ALL "\xee\xae\xb1" // U+ebb1
#define ICON_VS_PINNED_DIRTY "\xee\xae\xb2" // U+ebb2
#define ICON_VS_PASS_FILLED "\xee\xae\xb3" // U+ebb3
#define ICON_VS_CIRCLE_LARGE_FILLED "\xee\xae\xb4" // U+ebb4
#define ICON_VS_CIRCLE_LARGE "\xee\xae\xb5" // U+ebb5
#define ICON_VS_CIRCLE_LARGE_OUTLINE "\xee\xae\xb5" // U+ebb5
#define ICON_VS_COMBINE "\xee\xae\xb6" // U+ebb6
#define ICON_VS_GATHER "\xee\xae\xb6" // U+ebb6
#define ICON_VS_TABLE "\xee\xae\xb7" // U+ebb7
#define ICON_VS_VARIABLE_GROUP "\xee\xae\xb8" // U+ebb8
#define ICON_VS_TYPE_HIERARCHY "\xee\xae\xb9" // U+ebb9
#define ICON_VS_TYPE_HIERARCHY_SUB "\xee\xae\xba" // U+ebba
#define ICON_VS_TYPE_HIERARCHY_SUPER "\xee\xae\xbb" // U+ebbb
#define ICON_VS_GIT_PULL_REQUEST_CREATE "\xee\xae\xbc" // U+ebbc
#define ICON_VS_RUN_ABOVE "\xee\xae\xbd" // U+ebbd
#define ICON_VS_RUN_BELOW "\xee\xae\xbe" // U+ebbe
#define ICON_VS_NOTEBOOK_TEMPLATE "\xee\xae\xbf" // U+ebbf
#define ICON_VS_DEBUG_RERUN "\xee\xaf\x80" // U+ebc0
#define ICON_VS_WORKSPACE_TRUSTED "\xee\xaf\x81" // U+ebc1
#define ICON_VS_WORKSPACE_UNTRUSTED "\xee\xaf\x82" // U+ebc2
#define ICON_VS_WORKSPACE_UNKNOWN "\xee\xaf\x83" // U+ebc3
#define ICON_VS_TERMINAL_CMD "\xee\xaf\x84" // U+ebc4
#define ICON_VS_TERMINAL_DEBIAN "\xee\xaf\x85" // U+ebc5
#define ICON_VS_TERMINAL_LINUX "\xee\xaf\x86" // U+ebc6
#define ICON_VS_TERMINAL_POWERSHELL "\xee\xaf\x87" // U+ebc7
#define ICON_VS_TERMINAL_TMUX "\xee\xaf\x88" // U+ebc8
#define ICON_VS_TERMINAL_UBUNTU "\xee\xaf\x89" // U+ebc9
#define ICON_VS_TERMINAL_BASH "\xee\xaf\x8a" // U+ebca
#define ICON_VS_ARROW_SWAP "\xee\xaf\x8b" // U+ebcb
#define ICON_VS_COPY "\xee\xaf\x8c" // U+ebcc
#define ICON_VS_PERSON_ADD "\xee\xaf\x8d" // U+ebcd
#define ICON_VS_FILTER_FILLED "\xee\xaf\x8e" // U+ebce
#define ICON_VS_WAND "\xee\xaf\x8f" // U+ebcf
#define ICON_VS_DEBUG_LINE_BY_LINE "\xee\xaf\x90" // U+ebd0
#define ICON_VS_INSPECT "\xee\xaf\x91" // U+ebd1
#define ICON_VS_LAYERS "\xee\xaf\x92" // U+ebd2
#define ICON_VS_LAYERS_DOT "\xee\xaf\x93" // U+ebd3
#define ICON_VS_LAYERS_ACTIVE "\xee\xaf\x94" // U+ebd4
#define ICON_VS_COMPASS "\xee\xaf\x95" // U+ebd5
#define ICON_VS_COMPASS_DOT "\xee\xaf\x96" // U+ebd6
#define ICON_VS_COMPASS_ACTIVE "\xee\xaf\x97" // U+ebd7
#define ICON_VS_AZURE "\xee\xaf\x98" // U+ebd8
#define ICON_VS_ISSUE_DRAFT "\xee\xaf\x99" // U+ebd9
#define ICON_VS_GIT_PULL_REQUEST_CLOSED "\xee\xaf\x9a" // U+ebda
#define ICON_VS_GIT_PULL_REQUEST_DRAFT "\xee\xaf\x9b" // U+ebdb
#define ICON_VS_DEBUG_ALL "\xee\xaf\x9c" // U+ebdc
#define ICON_VS_DEBUG_COVERAGE "\xee\xaf\x9d" // U+ebdd
#define ICON_VS_RUN_ERRORS "\xee\xaf\x9e" // U+ebde
#define ICON_VS_FOLDER_LIBRARY "\xee\xaf\x9f" // U+ebdf
#define ICON_VS_DEBUG_CONTINUE_SMALL "\xee\xaf\xa0" // U+ebe0
#define ICON_VS_BEAKER_STOP "\xee\xaf\xa1" // U+ebe1
#define ICON_VS_GRAPH_LINE "\xee\xaf\xa2" // U+ebe2
#define ICON_VS_GRAPH_SCATTER "\xee\xaf\xa3" // U+ebe3
#define ICON_VS_PIE_CHART "\xee\xaf\xa4" // U+ebe4
#define ICON_VS_BRACKET "\xee\xac\x8f" // U+eb0f
#define ICON_VS_BRACKET_DOT "\xee\xaf\xa5" // U+ebe5
#define ICON_VS_BRACKET_ERROR "\xee\xaf\xa6" // U+ebe6
#define ICON_VS_LOCK_SMALL "\xee\xaf\xa7" // U+ebe7
#define ICON_VS_AZURE_DEVOPS "\xee\xaf\xa8" // U+ebe8
#define ICON_VS_VERIFIED_FILLED "\xee\xaf\xa9" // U+ebe9
#define ICON_VS_NEWLINE "\xee\xaf\xaa" // U+ebea
#define ICON_VS_LAYOUT "\xee\xaf\xab" // U+ebeb
#define ICON_VS_LAYOUT_ACTIVITYBAR_LEFT "\xee\xaf\xac" // U+ebec
#define ICON_VS_LAYOUT_ACTIVITYBAR_RIGHT "\xee\xaf\xad" // U+ebed
#define ICON_VS_LAYOUT_PANEL_LEFT "\xee\xaf\xae" // U+ebee
#define ICON_VS_LAYOUT_PANEL_CENTER "\xee\xaf\xaf" // U+ebef
#define ICON_VS_LAYOUT_PANEL_JUSTIFY "\xee\xaf\xb0" // U+ebf0
#define ICON_VS_LAYOUT_PANEL_RIGHT "\xee\xaf\xb1" // U+ebf1
#define ICON_VS_LAYOUT_PANEL "\xee\xaf\xb2" // U+ebf2
#define ICON_VS_LAYOUT_SIDEBAR_LEFT "\xee\xaf\xb3" // U+ebf3
#define ICON_VS_LAYOUT_SIDEBAR_RIGHT "\xee\xaf\xb4" // U+ebf4
#define ICON_VS_LAYOUT_STATUSBAR "\xee\xaf\xb5" // U+ebf5
#define ICON_VS_LAYOUT_MENUBAR "\xee\xaf\xb6" // U+ebf6
#define ICON_VS_LAYOUT_CENTERED "\xee\xaf\xb7" // U+ebf7
#define ICON_VS_TARGET "\xee\xaf\xb8" // U+ebf8
#define ICON_VS_INDENT "\xee\xaf\xb9" // U+ebf9
#define ICON_VS_RECORD_SMALL "\xee\xaf\xba" // U+ebfa
#define ICON_VS_ERROR_SMALL "\xee\xaf\xbb" // U+ebfb
#define ICON_VS_TERMINAL_DECORATION_ERROR "\xee\xaf\xbb" // U+ebfb
#define ICON_VS_ARROW_CIRCLE_DOWN "\xee\xaf\xbc" // U+ebfc
#define ICON_VS_ARROW_CIRCLE_LEFT "\xee\xaf\xbd" // U+ebfd
#define ICON_VS_ARROW_CIRCLE_RIGHT "\xee\xaf\xbe" // U+ebfe
#define ICON_VS_ARROW_CIRCLE_UP "\xee\xaf\xbf" // U+ebff
#define ICON_VS_LAYOUT_SIDEBAR_RIGHT_OFF "\xee\xb0\x80" // U+ec00
#define ICON_VS_LAYOUT_PANEL_OFF "\xee\xb0\x81" // U+ec01
#define ICON_VS_LAYOUT_SIDEBAR_LEFT_OFF "\xee\xb0\x82" // U+ec02
#define ICON_VS_BLANK "\xee\xb0\x83" // U+ec03
#define ICON_VS_HEART_FILLED "\xee\xb0\x84" // U+ec04
#define ICON_VS_MAP "\xee\xb0\x85" // U+ec05
#define ICON_VS_MAP_FILLED "\xee\xb0\x86" // U+ec06
#define ICON_VS_CIRCLE_SMALL "\xee\xb0\x87" // U+ec07
#define ICON_VS_BELL_SLASH "\xee\xb0\x88" // U+ec08
#define ICON_VS_BELL_SLASH_DOT "\xee\xb0\x89" // U+ec09
#define ICON_VS_COMMENT_UNRESOLVED "\xee\xb0\x8a" // U+ec0a
#define ICON_VS_GIT_PULL_REQUEST_GO_TO_CHANGES "\xee\xb0\x8b" // U+ec0b
#define ICON_VS_GIT_PULL_REQUEST_NEW_CHANGES "\xee\xb0\x8c" // U+ec0c
#define ICON_VS_SEARCH_FUZZY "\xee\xb0\x8d" // U+ec0d
#define ICON_VS_COMMENT_DRAFT "\xee\xb0\x8e" // U+ec0e
#define ICON_VS_SEND "\xee\xb0\x8f" // U+ec0f
#define ICON_VS_SPARKLE "\xee\xb0\x90" // U+ec10
#define ICON_VS_INSERT "\xee\xb0\x91" // U+ec11
#define ICON_VS_MIC "\xee\xb0\x92" // U+ec12
#define ICON_VS_THUMBSDOWN_FILLED "\xee\xb0\x93" // U+ec13
#define ICON_VS_THUMBSUP_FILLED "\xee\xb0\x94" // U+ec14
#define ICON_VS_COFFEE "\xee\xb0\x95" // U+ec15
#define ICON_VS_SNAKE "\xee\xb0\x96" // U+ec16
#define ICON_VS_GAME "\xee\xb0\x97" // U+ec17
#define ICON_VS_VR "\xee\xb0\x98" // U+ec18
#define ICON_VS_CHIP "\xee\xb0\x99" // U+ec19
#define ICON_VS_PIANO "\xee\xb0\x9a" // U+ec1a
#define ICON_VS_MUSIC "\xee\xb0\x9b" // U+ec1b
#define ICON_VS_MIC_FILLED "\xee\xb0\x9c" // U+ec1c
#define ICON_VS_GIT_FETCH "\xee\xb0\x9d" // U+ec1d
#define ICON_VS_COPILOT "\xee\xb0\x9e" // U+ec1e
#define ICON_VS_LIGHTBULB_SPARKLE "\xee\xb0\x9f" // U+ec1f
#define ICON_VS_ROBOT "\xee\xb0\xa0" // U+ec20
#define ICON_VS_SPARKLE_FILLED "\xee\xb0\xa1" // U+ec21
#define ICON_VS_DIFF_SINGLE "\xee\xb0\xa2" // U+ec22
#define ICON_VS_DIFF_MULTIPLE "\xee\xb0\xa3" // U+ec23
#define ICON_VS_SURROUND_WITH "\xee\xb0\xa4" // U+ec24
#define ICON_VS_SHARE "\xee\xb0\xa5" // U+ec25

View File

@@ -0,0 +1,6 @@
#pragma once
#define FONT_ICON_FILE_NAME_UNIFONT "unifont.ttf"
extern const unsigned int unifont_compressed_size;
extern const unsigned int unifont_compressed_data[52184/4];

View File

@@ -0,0 +1,90 @@
The SIL Open Font License version 1.1 is copied below, and is also
available with a FAQ at http://scripts.sil.org/OFL.
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -0,0 +1,395 @@
Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More_considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of
these terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the
Licensed Material available under these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

View File

@@ -7,7 +7,7 @@
#include <fonts/codicons_font.h>
#include <fonts/blendericons_font.h>
namespace hex::plugin::builtin {
namespace hex::fonts {
void loadFonts() {
using namespace ImHexApi::Fonts;

View File

@@ -0,0 +1,16 @@
#include <hex/plugin.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/helpers/logger.hpp>
#include <romfs/romfs.hpp>
namespace hex::fonts {
void loadFonts();
}
IMHEX_LIBRARY_SETUP("Fonts") {
hex::log::debug("Using romfs: '{}'", romfs::name());
hex::fonts::loadFonts();
}

View File

@@ -16,7 +16,7 @@ add_imhex_plugin(
source/content/views/view_hashes.cpp
INCLUDES
include
LIBRARIES
fonts
hashplus
)

View File

@@ -4,9 +4,11 @@
#include <hex/api/achievement_manager.hpp>
#include <hex/providers/memory_provider.hpp>
#include <hex/ui/popup.hpp>
#include <hex/helpers/crypto.hpp>
#include <hex/ui/popup.hpp>
#include <fonts/codicons_font.h>
#include <vector>
namespace hex::plugin::hashes {

View File

@@ -14,6 +14,7 @@ add_imhex_plugin(
include
LIBRARIES
fonts
ui
)

View File

@@ -14,5 +14,6 @@ add_imhex_plugin(
include
LIBRARIES
libpl-gen
fonts
LIBRARY_PLUGIN
)

View File

@@ -5,8 +5,11 @@
#include <hex/helpers/encoding_file.hpp>
#include <hex/helpers/utils.hpp>
#include <wolv/utils/guards.hpp>
#include <fonts/codicons_font.h>
namespace hex::ui {
/* Data Visualizer */

View File

@@ -33,4 +33,6 @@ add_imhex_plugin(
LIBRARIES
${JTHREAD_LIBRARIES}
${MINIAUDIO_LIBRARIES}
LIBRARIES
fonts
)

View File

@@ -17,6 +17,7 @@ if (WIN32)
include
LIBRARIES
ui
fonts
${JTHREAD_LIBRARIES}
)

View File

@@ -22,6 +22,7 @@ add_imhex_plugin(
${YARA_INCLUDE_DIRS}
LIBRARIES
ui
fonts
${JTHREAD_LIBRARIES}
${YARA_LIBRARIES}
)