You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dll/common/PanelTab.hpp
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,52 @@ class PanelTab {
51
51
}
52
52
}
53
53
54
+
voidRenderPropStripperControls_() const {
55
+
if (!director_) {
56
+
return;
57
+
}
58
+
59
+
if (director_->IsPropStripping()) {
60
+
ImGui::SameLine();
61
+
if (ImGui::SmallButton("Stop stripping")) {
62
+
director_->StopPropStripping();
63
+
}
64
+
}
65
+
else {
66
+
ImGui::SameLine();
67
+
if (ImGui::SmallButton("Strip props")) {
68
+
ReleaseImGuiInputCapture_();
69
+
director_->StartPropStripping();
70
+
}
71
+
if (ImGui::IsItemHovered()) {
72
+
ImGui::SetTooltip("Click props in the city to remove them one by one.\nPress B to toggle brush mode.\nHold left mouse in brush mode to strip within the preview radius.\nCtrl+Z to undo, ESC to stop.");
73
+
}
74
+
}
75
+
}
76
+
77
+
voidRenderFloraStripperControls_() const {
78
+
if (!director_) {
79
+
return;
80
+
}
81
+
82
+
if (director_->IsFloraStripping()) {
83
+
ImGui::SameLine();
84
+
if (ImGui::SmallButton("Stop stripping")) {
85
+
director_->StopFloraStripping();
86
+
}
87
+
}
88
+
else {
89
+
ImGui::SameLine();
90
+
if (ImGui::SmallButton("Strip flora")) {
91
+
ReleaseImGuiInputCapture_();
92
+
director_->StartFloraStripping();
93
+
}
94
+
if (ImGui::IsItemHovered()) {
95
+
ImGui::SetTooltip("Click flora in the city to remove it one by one.\nPress B to toggle brush mode.\nHold left mouse in brush mode to strip within the preview radius.\nCtrl+Z to undo, ESC to stop.");
0 commit comments