Add command runner window

This commit is contained in:
KK
2026-06-30 10:55:58 +02:00
parent 43a79535e8
commit fbeb32097e
3 changed files with 80 additions and 1 deletions

View File

@@ -81,6 +81,7 @@
#define PLUGIN_PROJECT_MANAGEMENT 1
#define PLUGIN_BASIC_COMMANDS 1
#define PLUGIN_COMMAND_WINDOW 1
#define PLUGIN_COMMAND_RUNNER_WINDOW 1
#define PLUGIN_SEARCH_WINDOW 1
#define PLUGIN_STATUS_WINDOW 1
#define PLUGIN_BUILD_WINDOW 1
@@ -118,6 +119,7 @@
#include "plugin_window_management.cpp"
#include "plugin_directory_navigation.cpp"
#include "plugin_search_open_buffers.cpp"
#include "plugin_command_runner_window.cpp"
#include "plugin_project_management.cpp"
#include "plugin_basic_commands.cpp"
#include "plugin_command_window.cpp"
@@ -674,6 +676,10 @@ void LayoutWindows(int16_t wx, int16_t wy) {
LayoutCommandWindow(&screen_rect, wx, wy);
#endif
#if PLUGIN_COMMAND_RUNNER_WINDOW
LayoutCommandRunnerWindow(&screen_rect, wx, wy);
#endif
#if PLUGIN_DEBUG_WINDOW
LayoutDebugWindow(&screen_rect, wx, wy);
#endif
@@ -824,6 +830,9 @@ void Update(Event event) {
#endif
#if PLUGIN_SEARCH_WINDOW
SearchWindowID,
#endif
#if PLUGIN_COMMAND_RUNNER_WINDOW
CommandRunnerWindowID,
#endif
};
for (int i = 1; i < Lengthof(id); i += 1) {
@@ -1140,6 +1149,10 @@ int main(int argc, char **argv, char **envp)
InitCommandWindow();
#endif
#if PLUGIN_COMMAND_RUNNER_WINDOW
InitCommandRunnerWindow();
#endif
#if PLUGIN_DEBUG_WINDOW
InitDebugWindow();
#endif