mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Various build issues
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
#include <hex.hpp>
|
||||
#include <hex/api/localization_manager.hpp>
|
||||
|
||||
#include <cstdio>
|
||||
#include <functional>
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include <list>
|
||||
#include <condition_variable>
|
||||
#include <source_location>
|
||||
#include <thread>
|
||||
|
||||
EXPORT_MODULE namespace hex {
|
||||
|
||||
|
||||
@@ -74,8 +74,6 @@ namespace hex::fonts {
|
||||
AntialiasPicker m_antiAliased;
|
||||
|
||||
bool m_bold, m_italic;
|
||||
|
||||
bool m_applyEnabled = false;
|
||||
};
|
||||
|
||||
ContentRegistry::Settings::Widgets::Widget::Interface& addFontSettingsWidget(UnlocalizedString name);
|
||||
|
||||
@@ -229,13 +229,13 @@ namespace hex::fonts {
|
||||
|
||||
if (ImGuiExt::DimmedIconToggle(ICON_VS_BOLD, &m_bold))
|
||||
changed = true;
|
||||
ImGui::SetItemTooltip("hex.fonts.setting.font.font_bold"_lang);
|
||||
ImGui::SetItemTooltip("%s", "hex.fonts.setting.font.font_bold"_lang.get());
|
||||
|
||||
ImGui::SameLine();
|
||||
|
||||
if (ImGuiExt::DimmedIconToggle(ICON_VS_ITALIC, &m_italic))
|
||||
changed = true;
|
||||
ImGui::SetItemTooltip("hex.fonts.setting.font.font_italic"_lang);
|
||||
ImGui::SetItemTooltip("%s", "hex.fonts.setting.font.font_italic"_lang.get());
|
||||
|
||||
if (m_antiAliased.draw("hex.fonts.setting.font.font_antialias"_lang))
|
||||
changed = true;
|
||||
|
||||
Reference in New Issue
Block a user