Add TextWithSeparators gui function

This commit is contained in:
scawful
2023-07-31 21:25:19 -04:00
parent 99bebeca10
commit 2bf6c5c773
3 changed files with 13 additions and 1 deletions

View File

@@ -6,6 +6,12 @@
namespace yaze {
namespace gui {
void TextWithSeparators(const absl::string_view &text) {
ImGui::Separator();
ImGui::Text("%s", text.data());
ImGui::Separator();
}
void ColorsYaze() {
ImGuiStyle *style = &ImGui::GetStyle();
ImVec4 *colors = style->Colors;