borderless

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@303 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
Nishi 2025-10-13 06:30:36 +00:00
commit 28250bbaab
16 changed files with 104 additions and 2 deletions

View file

@ -110,6 +110,7 @@ MWDECL void MwLLShow(MwLL handle, int show);
MWDECL void MwLLMakePopup(MwLL handle, MwLL parent);
MWDECL void MwLLSetSizeHints(MwLL handle, int minx, int miny, int maxx, int maxy);
MWDECL void MwLLMakeBorderless(MwLL handle, int toggle);
#ifdef __cplusplus
}

View file

@ -19,6 +19,13 @@ extern "C" {
*/
MWDECL MwClass MwWindowClass;
/*!
* %brief Makes window borderless
* %param handle Widget
* %param toggle Toggle
*/
MWDECL void MwWindowMakeBorderless(MwWidget handle, int toggle);
#ifdef __cplusplus
}
#endif

View file

@ -36,6 +36,7 @@ class Base {
virtual void OnMenu(void*) {};
virtual void OnMouseDownHandler(void*) {};
virtual void OnMouseUpHandler(void*) {};
virtual void OnMouseMoveHandler(void*) {};
virtual void OnChangedHandler(void*) {};
virtual void OnKeyHandler(void*) {};
virtual void OnKeyReleaseHandler(void*) {};

View file

@ -8,6 +8,7 @@ namespace MwOO {
class Window : public MwOO::Base {
public:
Window(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
void MakeBorderless(int toggle);
void SetTitle(const char* value);
const char* GetTitle(void);
void SetBackground(const char* value);