forked from pyrite-dev/milsko
borderless
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@303 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
9fd99d3ab2
commit
28250bbaab
16 changed files with 104 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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*) {};
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue