srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/legacy-cpp/src/core/window.cc
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2025-08-24 00:44:00 +0200
committersrdusr <[email protected]>2025-08-24 00:44:00 +0200
commit72e787a706d372c9a92e424e9b13ece929cb2bce (patch)
tree237ea5559a63474c2539761b6ce1015fc31dc1da /legacy-cpp/src/core/window.cc
parent2a3fdcf2faf6cadb1fa49ed7c4b2963b554b0724 (diff)
downloadsrdwm-72e787a706d372c9a92e424e9b13ece929cb2bce.tar.gz
srdwm-72e787a706d372c9a92e424e9b13ece929cb2bce.zip
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.
Diffstat (limited to 'legacy-cpp/src/core/window.cc')
-rw-r--r--legacy-cpp/src/core/window.cc82
1 files changed, 0 insertions, 82 deletions
diff --git a/legacy-cpp/src/core/window.cc b/legacy-cpp/src/core/window.cc
deleted file mode 100644
index cefc131..0000000
--- a/legacy-cpp/src/core/window.cc
+++ /dev/null
@@ -1,82 +0,0 @@
-#include "window.h"
-
-SRDWindow::SRDWindow(int id, const std::string& title)
- : id_(id), title_(title), x_(0), y_(0), width_(0), height_(0), decorated_(true) {
-}
-
-int SRDWindow::getId() const {
- return id_;
-}
-
-const std::string& SRDWindow::getTitle() const {
- return title_;
-}
-
-int SRDWindow::getX() const {
- return x_;
-}
-
-int SRDWindow::getY() const {
- return y_;
-}
-
-int SRDWindow::getWidth() const {
- return width_;
-}
-
-int SRDWindow::getHeight() const {
- return height_;
-}
-
-bool SRDWindow::isDecorated() const {
- return decorated_;
-}
-
-void SRDWindow::setPosition(int x, int y) {
- x_ = x;
- y_ = y;
-}
-
-void SRDWindow::setSize(int width, int height) {
- width_ = width;
- height_ = height;
-}
-
-void SRDWindow::setGeometry(int x, int y, int width, int height) {
- x_ = x;
- y_ = y;
- width_ = width;
- height_ = height;
-}
-
-void SRDWindow::setDimensions(int x, int y, int width, int height) {
- x_ = x;
- y_ = y;
- width_ = width;
- height_ = height;
-}
-
-void SRDWindow::setDecorated(bool decorated) {
- decorated_ = decorated;
-}
-
-void SRDWindow::setId(int id) {
- id_ = id;
-}
-
-// Basic methods for managing window state (will be platform-specific)
-void SRDWindow::map() {
- // Platform-specific implementation to show the window
-}
-
-void SRDWindow::unmap() {
- // Platform-specific implementation to hide the window
-}
-
-void SRDWindow::focus() {
- // Platform-specific implementation to give focus to the window
-}
-
-void SRDWindow::close() {
- // Platform-specific implementation to close the window
-}