mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
Code cleanup
This commit is contained in:
parent
8b023188a0
commit
83d8e1caf4
@ -1,5 +1,4 @@
|
|||||||
#include "ImGuiHelpers.h"
|
#include "ImGuiHelpers.h"
|
||||||
#include "Lib/ImGui/imgui_internal.h"
|
|
||||||
|
|
||||||
// Adds a text tooltip for the previous ImGui item
|
// Adds a text tooltip for the previous ImGui item
|
||||||
void SetLastItemHoverText(const std::string& text) {
|
void SetLastItemHoverText(const std::string& text) {
|
||||||
@ -22,7 +21,6 @@ void InsertHelpHoverText(const std::string& text) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PaddedSeparator(bool topPadding, bool bottomPadding, float x, float y) {
|
void PaddedSeparator(bool topPadding, bool bottomPadding, float x, float y) {
|
||||||
ImGuiWindow* window = ImGui::GetCurrentWindow();
|
|
||||||
if (topPadding) {
|
if (topPadding) {
|
||||||
ImGui::Dummy(ImVec2(x, y));
|
ImGui::Dummy(ImVec2(x, y));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user