aboutsummaryrefslogtreecommitdiff
path: root/src/ui/window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.hpp')
-rw-r--r--src/ui/window.hpp28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/ui/window.hpp b/src/ui/window.hpp
index e96d4d92..d3374684 100644
--- a/src/ui/window.hpp
+++ b/src/ui/window.hpp
@@ -17,32 +17,6 @@ namespace cru::graph
namespace cru::ui
{
- class WindowClass : public Object
- {
- public:
- WindowClass(const String& name, WNDPROC window_proc, HINSTANCE h_instance);
- WindowClass(const WindowClass& other) = delete;
- WindowClass(WindowClass&& other) = delete;
- WindowClass& operator=(const WindowClass& other) = delete;
- WindowClass& operator=(WindowClass&& other) = delete;
- ~WindowClass() override = default;
-
-
- const wchar_t* GetName() const
- {
- return name_.c_str();
- }
-
- ATOM GetAtom() const
- {
- return atom_;
- }
-
- private:
- String name_;
- ATOM atom_;
- };
-
class WindowManager : public Object
{
public:
@@ -85,7 +59,7 @@ namespace cru::ui
- class Window final : public SingleChildControl
+ class Window final : public ContentControl
{
friend class WindowManager;
public: