style refactor

This commit is contained in:
Ivan I. Ovchinnikov
2026-07-27 21:29:50 +03:00
parent 47b1e70663
commit 5a702fe0f8
9 changed files with 119 additions and 119 deletions
+3 -3
View File
@@ -2,13 +2,13 @@
#include "../include/ConnectionWindow.h"
#include "imgui.h"
void LogWindow::Render(bool* p_open, ConnectionWindow& conn_win) {
if (!ImGui::Begin("Transaction Log", p_open)) {
void LogWindow::render(bool* paramOpen, ConnectionWindow& connectionWindow) {
if (!ImGui::Begin("Transaction Log", paramOpen)) {
ImGui::End();
return;
}
std::string& log_ref = conn_win.GetSharedLog();
std::string& log_ref = connectionWindow.getSharedLog();
ImGui::BeginChild("ScrollingRegion", ImVec2(0, -ImGui::GetFrameHeightWithSpacing()), true, ImGuiWindowFlags_HorizontalScrollbar);
ImGui::TextUnformatted(log_ref.c_str());