Files
whetstone_DSL/editor/src/panels/HelpPanelWindow.h
2026-02-09 22:56:41 -07:00

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();
}