mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-20 08:44:27 +08:00
Fix linux
This commit is contained in:
parent
9998ae5105
commit
b359c0797c
@ -613,11 +613,10 @@ void GLGizmoEmboss::draw_advanced() {
|
|||||||
if (m_font.has_value()) m_font->cache.clear();
|
if (m_font.has_value()) m_font->cache.clear();
|
||||||
process();
|
process();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::InputFloat(_u8L("Emboss[in mm]").c_str(), &m_font_prop.emboss)) process();
|
if (ImGui::InputFloat(_u8L("Emboss[in mm]").c_str(), &m_font_prop.emboss)) process();
|
||||||
if (ImGui::InputInt(_u8L("CharGap[in font points]").c_str(), &m_font_prop.char_gap))
|
if (ImGui::InputInt(_u8L("CharGap[in font points]").c_str(), &m_font_prop.char_gap)) process();
|
||||||
process();
|
if (ImGui::InputInt(_u8L("LineGap[in font points]").c_str(), &m_font_prop.line_gap)) process();
|
||||||
if (ImGui::InputInt(_u8L("LineGap[in font points]").c_str(), &m_font_prop.line_gap))
|
|
||||||
process();
|
|
||||||
|
|
||||||
// when more collection add selector
|
// when more collection add selector
|
||||||
if (m_font.has_value() && m_font->count > 1) {
|
if (m_font.has_value() && m_font->count > 1) {
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#include <imgui/imgui.h>
|
#include <imgui/imgui.h>
|
||||||
|
|
||||||
|
class wxFont;
|
||||||
namespace Slic3r{class AppConfig;}
|
namespace Slic3r{class AppConfig;}
|
||||||
namespace Slic3r::GUI {
|
namespace Slic3r::GUI {
|
||||||
class GLGizmoEmboss : public GLGizmoBase
|
class GLGizmoEmboss : public GLGizmoBase
|
||||||
@ -72,8 +73,6 @@ private:
|
|||||||
bool load_configuration(ModelVolume *volume);
|
bool load_configuration(ModelVolume *volume);
|
||||||
|
|
||||||
// Create notification when unknown font type is used
|
// Create notification when unknown font type is used
|
||||||
bool notify_unknown_font_type(ModelVolume *volume);
|
|
||||||
|
|
||||||
bool m_exist_notification;
|
bool m_exist_notification;
|
||||||
void create_notification_not_valid_font(const TextConfiguration& tc);
|
void create_notification_not_valid_font(const TextConfiguration& tc);
|
||||||
void remove_notification_not_valid_font();
|
void remove_notification_not_valid_font();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user