13 lines
352 B
C
13 lines
352 B
C
#pragma once
|
|
|
|
#include "../EditorState.h"
|
|
|
|
static void renderHelpPanelWindow(EditorState& state) {
|
|
if (!state.ui.showHelpPanel) return;
|
|
ImGui::Begin("Documentation", &state.ui.showHelpPanel);
|
|
ImGui::PushFont(state.uiFont);
|
|
renderHelpPanel(state.helpPanel, state.workspaceRoot, state.monoFont);
|
|
ImGui::PopFont();
|
|
ImGui::End();
|
|
}
|