Step 142: add Emacs package browser

This commit is contained in:
Bill
2026-02-09 17:55:10 -07:00
parent f031004cab
commit beaec58073
8 changed files with 333 additions and 3 deletions

View File

@@ -308,6 +308,7 @@ int main(int, char**) {
ImGui::MenuItem("Dependencies", nullptr, &state.showDependencyPanel);
ImGui::MenuItem("Libraries", nullptr, &state.showLibraryBrowserPanel);
ImGui::MenuItem("Compose", nullptr, &state.showCompositionPanel);
ImGui::MenuItem("Emacs Packages", nullptr, &state.showEmacsPackagesPanel);
ImGui::MenuItem("Settings", nullptr, &state.showSettingsPanel);
ImGui::MenuItem("LSP Servers...", nullptr, &state.showLspSettings);
if (state.active()) {
@@ -610,6 +611,14 @@ int main(int, char**) {
ImGui::End();
}
if (state.showEmacsPackagesPanel) {
ImGui::Begin("Emacs Packages", &state.showEmacsPackagesPanel);
ImGui::PushFont(uiFont);
renderEmacsPackageBrowser(state.emacsPackages, state.emacs, state.outputLog);
ImGui::PopFont();
ImGui::End();
}
// ---------------------------------------------------------------
// Find / Replace bar (floating at top of editor)
// ---------------------------------------------------------------