From 72e787a706d372c9a92e424e9b13ece929cb2bce Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Sun, 24 Aug 2025 00:44:00 +0200 Subject: Remove the stale legacy-cpp implementation The Rust rewrite (crates/) has fully superseded it - keeping both around was actively misleading (main looked like it still shipped a C++ build), and nothing here still depends on it. --- legacy-cpp/src/layouts/dynamic_layout.cc | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 legacy-cpp/src/layouts/dynamic_layout.cc (limited to 'legacy-cpp/src/layouts/dynamic_layout.cc') diff --git a/legacy-cpp/src/layouts/dynamic_layout.cc b/legacy-cpp/src/layouts/dynamic_layout.cc deleted file mode 100644 index 7f10ac8..0000000 --- a/legacy-cpp/src/layouts/dynamic_layout.cc +++ /dev/null @@ -1,31 +0,0 @@ -#include "dynamic_layout.h" -#include "../core/window.h" -#include - -DynamicLayout::DynamicLayout() { - // Constructor implementation if needed -} - -DynamicLayout::~DynamicLayout() { - // Destructor implementation if needed -} - -void DynamicLayout::arrange_windows(const std::vector& windows, const Monitor& monitor) { - std::cout << "DynamicLayout::arrange_windows called for monitor (" << monitor.x << ", " << monitor.y << ", " << monitor.width << ", " << monitor.height << ")" << std::endl; - std::cout << "Arranging " << windows.size() << " windows dynamically." << std::endl; - - // Basic placeholder: In a real dynamic layout, you might not resize/reposition - // windows automatically here unless triggered by user interaction or specific rules. - // For now, just iterate through the windows and acknowledge them. - for (const auto& window : windows) { - std::cout << " - SRDWindow ID: " << window->getId() << ", Title: " << window->getTitle() << std::endl; - // In a real implementation, you might update window properties based on - // the dynamic layout logic, or simply leave their positions/sizes as they are - // unless a move/resize operation is in progress. - } - - // Future implementation would involve logic for: - // - Remembering window positions and sizes. - // - Handling user-initiated moves and resizes. - // - Potentially snapping windows to grid or other windows. -} -- cgit v1.2.3