CutGizmo: Add info icons to the connector types
This commit is contained in:
parent
368461f5d7
commit
e4ef82d1c1
5 changed files with 42 additions and 1 deletions
|
@ -206,7 +206,16 @@ GLGizmoCut3D::GLGizmoCut3D(GLCanvas3D& parent, const std::string& icon_filename,
|
|||
};
|
||||
|
||||
m_connector_modes = { _u8L("Auto"), _u8L("Manual") };
|
||||
m_connector_types = { _u8L("Plug"), _u8L("Dowel") };
|
||||
|
||||
std::map<const wchar_t, std::string> connetor_types = {
|
||||
{ImGui::PlugMarker , _u8L("Plug") },
|
||||
{ImGui::DowelMarker, _u8L("Dowel") },
|
||||
};
|
||||
for (auto connector : connetor_types) {
|
||||
std::string type_label = " " + connector.second + " ";
|
||||
type_label += connector.first;
|
||||
m_connector_types.push_back(type_label);
|
||||
}
|
||||
|
||||
m_connector_styles = { _u8L("Prizm"), _u8L("Frustum")
|
||||
// , _u8L("Claw")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue