style refactor
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user