mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-15 15:43:12 +08:00
Add help for used colors of support points
This commit is contained in:
parent
8f9bc6ddbe
commit
f66a50b785
12
resources/icons/sphere_blueish.svg
Normal file
12
resources/icons/sphere_blueish.svg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="500" height="500">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient">
|
||||||
|
<stop style="stop-color:#bbbbff;stop-opacity:1" offset="0" />
|
||||||
|
<stop style="stop-color:#8f8fff;stop-opacity:1" offset="0.7" />
|
||||||
|
<stop style="stop-color:#6666cd;stop-opacity:1" offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient cx="170" cy="200" r="200" fx="170" fy="200" id="radialGradient"
|
||||||
|
xlink:href="#linearGradient" gradientUnits="userSpaceOnUse" />
|
||||||
|
</defs>
|
||||||
|
<circle cx="250" cy="250" r="200" style="fill:url(#radialGradient)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 602 B |
12
resources/icons/sphere_cyan.svg
Normal file
12
resources/icons/sphere_cyan.svg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="500" height="500">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient">
|
||||||
|
<stop style="stop-color:#d4ffff;stop-opacity:1;" offset="0" />
|
||||||
|
<stop style="stop-color:#00ffff;stop-opacity:1" offset="0.7" />
|
||||||
|
<stop style="stop-color:#00b1b1;stop-opacity:1;" offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient cx="170" cy="200" r="200" fx="170" fy="200" id="radialGradient"
|
||||||
|
xlink:href="#linearGradient" gradientUnits="userSpaceOnUse" />
|
||||||
|
</defs>
|
||||||
|
<circle cx="250" cy="250" r="200" style="fill:url(#radialGradient)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 605 B |
12
resources/icons/sphere_lightgray.svg
Normal file
12
resources/icons/sphere_lightgray.svg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="500" height="500">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient">
|
||||||
|
<stop style="stop-color:#ffffff;stop-opacity:1;" offset="0" />
|
||||||
|
<stop style="stop-color:#bcbcbc;stop-opacity:1;" offset="0.5" />
|
||||||
|
<stop style="stop-color:#737373;stop-opacity:1;" offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient cx="170" cy="200" r="200" fx="170" fy="200" id="radialGradient"
|
||||||
|
xlink:href="#linearGradient" gradientUnits="userSpaceOnUse" />
|
||||||
|
</defs>
|
||||||
|
<circle cx="250" cy="250" r="200" style="fill:url(#radialGradient)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 605 B |
12
resources/icons/sphere_orange.svg
Normal file
12
resources/icons/sphere_orange.svg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="500" height="500">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient">
|
||||||
|
<stop style="stop-color:#ffc887;stop-opacity:1;" offset="0" />
|
||||||
|
<stop style="stop-color:#fe8d4a;stop-opacity:1" offset="0.6" />
|
||||||
|
<stop style="stop-color:#be5c28;stop-opacity:1;" offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient cx="170" cy="200" r="200" fx="170" fy="200" id="radialGradient"
|
||||||
|
xlink:href="#linearGradient" gradientUnits="userSpaceOnUse" />
|
||||||
|
</defs>
|
||||||
|
<circle cx="250" cy="250" r="200" style="fill:url(#radialGradient)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 605 B |
12
resources/icons/sphere_redish.svg
Normal file
12
resources/icons/sphere_redish.svg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="500" height="500">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient">
|
||||||
|
<stop style="stop-color:#ffffff;stop-opacity:1;" offset="0" />
|
||||||
|
<stop style="stop-color:#ffa2a2;stop-opacity:1" offset="0.7" />
|
||||||
|
<stop style="stop-color:#e87474;stop-opacity:1" offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<radialGradient cx="170" cy="200" r="200" fx="170" fy="200" id="radialGradient"
|
||||||
|
xlink:href="#linearGradient" gradientUnits="userSpaceOnUse" />
|
||||||
|
</defs>
|
||||||
|
<circle cx="250" cy="250" r="200" style="fill:url(#radialGradient)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 605 B |
@ -1525,6 +1525,20 @@ SlaGizmoHelpDialog::SlaGizmoHelpDialog()
|
|||||||
gridsizer->Add(desc, -1, wxALIGN_CENTRE_VERTICAL);
|
gridsizer->Add(desc, -1, wxALIGN_CENTRE_VERTICAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<std::pair<std::string, wxString>> point_types;
|
||||||
|
point_types.push_back(std::make_pair("sphere_lightgray",_L("Generated point")));
|
||||||
|
point_types.push_back(std::make_pair("sphere_redish", _L("Selected support point")));
|
||||||
|
point_types.push_back(std::make_pair("sphere_orange", _L("User edited point")));
|
||||||
|
point_types.push_back(std::make_pair("sphere_blueish", _L("Island support point")));
|
||||||
|
point_types.push_back(std::make_pair("sphere_cyan", _L("Mouse hovered point")));
|
||||||
|
for (const auto &[icon_name, description] : point_types) {
|
||||||
|
auto desc = new wxStaticText(this, wxID_ANY, description);
|
||||||
|
desc->SetFont(font);
|
||||||
|
gridsizer->Add(new wxStaticBitmap(this, wxID_ANY, ScalableBitmap(this, icon_name).bmp()),
|
||||||
|
-1, wxALIGN_CENTRE_VERTICAL);
|
||||||
|
gridsizer->Add(desc, -1, wxALIGN_CENTRE_VERTICAL);
|
||||||
|
}
|
||||||
|
|
||||||
SetSizer(hsizer);
|
SetSizer(hsizer);
|
||||||
hsizer->SetSizeHints(this);
|
hsizer->SetSizeHints(this);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user