Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-07-10 14:45:25 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-07-10 14:45:25 +0300
commit14dad5039a316b9a9224cc638f3bd0b783a1293b (patch)
tree26c0be068d63d59ec5b9536a4f23b1aa749c789c /src/slic3r/GUI/ImGuiWrapper.hpp
parent40a1f31e847e8613c7b588e6a026b1dcdec317ad (diff)
Imgui dialogs for undo/redo centered on their toolbar item icon
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.hpp')
-rw-r--r--src/slic3r/GUI/ImGuiWrapper.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/ImGuiWrapper.hpp b/src/slic3r/GUI/ImGuiWrapper.hpp
index a18b15184..c6550351e 100644
--- a/src/slic3r/GUI/ImGuiWrapper.hpp
+++ b/src/slic3r/GUI/ImGuiWrapper.hpp
@@ -51,7 +51,7 @@ public:
ImVec2 scaled(float x, float y) const { return ImVec2(x * m_font_size, y * m_font_size); }
ImVec2 calc_text_size(const wxString &text);
- void set_next_window_pos(float x, float y, int flag);
+ void set_next_window_pos(float x, float y, int flag, float pivot_x = 0.0f, float pivot_y = 0.0f);
void set_next_window_bg_alpha(float alpha);
bool begin(const std::string &name, int flags = 0);