diff options
| author | srdusr <[email protected]> | 2025-08-24 00:44:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2025-08-24 00:44:00 +0200 |
| commit | 72e787a706d372c9a92e424e9b13ece929cb2bce (patch) | |
| tree | 237ea5559a63474c2539761b6ce1015fc31dc1da /legacy-cpp/src/core/window.h | |
| parent | 2a3fdcf2faf6cadb1fa49ed7c4b2963b554b0724 (diff) | |
| download | srdwm-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.h')
| -rw-r--r-- | legacy-cpp/src/core/window.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/legacy-cpp/src/core/window.h b/legacy-cpp/src/core/window.h deleted file mode 100644 index 6d7405a..0000000 --- a/legacy-cpp/src/core/window.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef WINDOW_H -#define WINDOW_H - -#include <string> - -class SRDWindow { -public: - // Constructor - SRDWindow(int id, const std::string& title); - - // Getters - int getId() const; - const std::string& getTitle() const; - int getX() const; - int getY() const; - int getWidth() const; - int getHeight() const; - bool isDecorated() const; - - // Setters - void setTitle(const std::string& title); - void setPosition(int x, int y); - void setSize(int width, int height); - void setGeometry(int x, int y, int width, int height); - void setDimensions(int x, int y, int width, int height); - void setDecorated(bool decorated); - void setId(int id); - - // Window management methods - void map(); - void unmap(); - void focus(); - void close(); - - // Comparison operators for use in containers - bool operator<(const SRDWindow& other) const { return id_ < other.id_; } - bool operator==(const SRDWindow& other) const { return id_ == other.id_; } - -private: - int id_; - std::string title_; - int x_; - int y_; - int width_; - int height_; - bool decorated_; -}; - -#endif // WINDOW_H |