From 359948176de3b6967c16a7cf12e2d8364493bbad Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sun, 21 Dec 2025 16:05:51 +0900 Subject: [PATCH] add dummy taskbar --- mpanel/CMakeLists.txt | 1 + mpanel/mpanelrc.in | 3 +++ mpanel/taskbar/CMakeLists.txt | 6 ++++++ mpanel/taskbar/module.c | 6 ++++++ 4 files changed, 16 insertions(+) create mode 100644 mpanel/taskbar/CMakeLists.txt create mode 100644 mpanel/taskbar/module.c diff --git a/mpanel/CMakeLists.txt b/mpanel/CMakeLists.txt index 5e50e8a..01cfd0a 100644 --- a/mpanel/CMakeLists.txt +++ b/mpanel/CMakeLists.txt @@ -15,6 +15,7 @@ endif() add_subdirectory(separator) add_subdirectory(startbutton) add_subdirectory(time) +add_subdirectory(taskbar) include(GNUInstallDirs) configure_file(mpanelrc.in mpanelrc) diff --git a/mpanel/mpanelrc.in b/mpanel/mpanelrc.in index 752db92..c4637d2 100644 --- a/mpanel/mpanelrc.in +++ b/mpanel/mpanelrc.in @@ -5,6 +5,9 @@ Modules: ( { Type = "Separator"; }, + { + Type = "TaskBar"; + }, { Type = "Separator"; }, diff --git a/mpanel/taskbar/CMakeLists.txt b/mpanel/taskbar/CMakeLists.txt new file mode 100644 index 0000000..db443f6 --- /dev/null +++ b/mpanel/taskbar/CMakeLists.txt @@ -0,0 +1,6 @@ +include(MDEBase) +include(MDEPkgConfig) +mde_setup_library(TaskBarModule ${CMAKE_INSTALL_LIBDIR}/mpanel) + +mde_pkg_config_add(TaskBarModule libconfig) + diff --git a/mpanel/taskbar/module.c b/mpanel/taskbar/module.c new file mode 100644 index 0000000..41bb3f6 --- /dev/null +++ b/mpanel/taskbar/module.c @@ -0,0 +1,6 @@ +#include +#include + +void module(MwWidget box, config_setting_t* setting) { + MwWidget b = MwCreateWidget(MwFrameClass, "taskbar", box, 0, 0, 0, 0); +}