Step 142: add Emacs package browser
This commit is contained in:
@@ -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)
|
||||
// ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user