From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Wasabi/api/wnd/wndclass/oswnd.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Src/Wasabi/api/wnd/wndclass/oswnd.h (limited to 'Src/Wasabi/api/wnd/wndclass/oswnd.h') diff --git a/Src/Wasabi/api/wnd/wndclass/oswnd.h b/Src/Wasabi/api/wnd/wndclass/oswnd.h new file mode 100644 index 00000000..7093dd6e --- /dev/null +++ b/Src/Wasabi/api/wnd/wndclass/oswnd.h @@ -0,0 +1,19 @@ +#ifndef __OSWND_H +#define __OSWND_H + +#include + +#define OSWND_PARENT GuiObjectWnd + +class OSWnd : public OSWND_PARENT +{ +public: + virtual int onInit(); + virtual void onSetVisible(int show); + virtual int onResize(); + virtual int handleRatio() { return 0; } + + virtual HWND getOSHandle() = 0; +}; + +#endif -- cgit