Imgui dialogs for undo/redo centered on their toolbar item icon

This commit is contained in:
Enrico Turri 2019-07-10 13:45:25 +02:00
parent 40a1f31e84
commit 14dad5039a
3 changed files with 6 additions and 7 deletions

View file

@ -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);