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
ImGui::Checkbox(std::format("Use Global {}", optionName).c_str(), &useGlobal);
27
-
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
27
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip(std::format("Use the global setting for {} or customise it per waypoint", optionName).c_str()); }
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
33
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip(std::format("What colour should {} for this waypoint be?", optionName).c_str()); }
34
34
35
35
ImGui::EndDisabled();
36
36
}
@@ -39,14 +39,14 @@ class EditOrAddWaypointDialog : public IModalDialogReturner<std::optional<Waypoi
ImGui::Checkbox(std::format("Use Global {}", optionName).c_str(), &useGlobal);
42
-
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
42
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip(std::format("Use the global setting for {} or customise it per waypoint", optionName).c_str()); }
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
49
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip(std::format("What scale (size) should {} for this waypoint be?", optionName).c_str()); }
50
50
51
51
ImGui::EndDisabled();
52
52
}
@@ -55,14 +55,14 @@ class EditOrAddWaypointDialog : public IModalDialogReturner<std::optional<Waypoi
55
55
voidrenderGlobalOption(bool& useGlobal, int customPrecision, std::string optionName)
56
56
{
57
57
ImGui::Checkbox(std::format("Use Global {}", optionName).c_str(), &useGlobal);
58
-
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
58
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip(std::format("Use the global setting for {} or customise it per waypoint", optionName).c_str()); }
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
65
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("How precise (ie how many decimal points) should the decimal digit be?"); }
66
66
67
67
ImGui::EndDisabled();
68
68
}
@@ -81,15 +81,12 @@ class EditOrAddWaypointDialog : public IModalDialogReturner<std::optional<Waypoi
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("todo"); }
128
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("Whether to show the distance measurement between the player and the waypoint"); }
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("Open the edit dialog with more settings for this specific waypoint"); }
192
+
188
193
189
194
// draw delete button
190
195
ImGui::SameLine();
@@ -202,6 +207,8 @@ class GUIWaypointList : public IGUIElement {
202
207
newThread.detach();
203
208
204
209
}
210
+
if (ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) { ImGui::SetTooltip("Deletes this waypoint from the waypoint list"); }
0 commit comments