Measure: Update measure gizmo tooltip

This commit is contained in:
Noisyfox 2023-10-31 16:27:44 +08:00
parent d25780ae4a
commit 2c00408d08
2 changed files with 68 additions and 164 deletions

View file

@ -182,6 +182,14 @@ protected:
void remove_selected_sphere_raycaster(int id);
void update_measurement_result();
// Orca
void show_tooltip_information(float caption_max, float x, float y);
private:
// This map holds all translated description texts, so they can be easily referenced during layout calculations
// etc. When language changes, GUI is recreated and this class constructed again, so the change takes effect.
std::map<std::string, wxString> m_desc;
};
} // namespace GUI