updates
This commit is contained in:
parent
f999d41064
commit
db7238f1ed
43 changed files with 179 additions and 226 deletions
|
|
@ -6,7 +6,7 @@
|
|||
namespace MwCXX {
|
||||
MwCXX::Window* MessageBox(MwCXX::Base* handle, MwCXX::String text, MwCXX::String title, int flag);
|
||||
MwCXX::Button* MessageBoxGetChild(MwCXX::Window* handle, int child);
|
||||
void MessageBoxDestroy(MwCXX::Window* handle);
|
||||
void MessageBoxDestroy(MwCXX::Window* handle);
|
||||
}; // namespace MwCXX
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,41 +1,41 @@
|
|||
MwCXX::String GetBackground();
|
||||
void SetBackground(MwCXX::String value);
|
||||
MwLLPixmap GetBackgroundPixmap();
|
||||
void SetBackgroundPixmap(MwLLPixmap value);
|
||||
int GetBitmapFont();
|
||||
void SetBitmapFont(int value);
|
||||
int GetBorderWidth();
|
||||
void SetBorderWidth(int value);
|
||||
int GetDarkTheme();
|
||||
void SetDarkTheme(int value);
|
||||
int GetFixedSize();
|
||||
void SetFixedSize(int value);
|
||||
int GetForceInverted();
|
||||
void SetForceInverted(int value);
|
||||
void SetBackground(MwCXX::String value);
|
||||
MwLLPixmap GetBackgroundPixmap();
|
||||
void SetBackgroundPixmap(MwLLPixmap value);
|
||||
int GetBitmapFont();
|
||||
void SetBitmapFont(int value);
|
||||
int GetBorderWidth();
|
||||
void SetBorderWidth(int value);
|
||||
int GetDarkTheme();
|
||||
void SetDarkTheme(int value);
|
||||
int GetFixedSize();
|
||||
void SetFixedSize(int value);
|
||||
int GetForceInverted();
|
||||
void SetForceInverted(int value);
|
||||
MwCXX::String GetForeground();
|
||||
void SetForeground(MwCXX::String value);
|
||||
int GetHeight();
|
||||
void SetHeight(int value);
|
||||
int GetIsRounded();
|
||||
void SetIsRounded(int value);
|
||||
int GetModernLook();
|
||||
void SetModernLook(int value);
|
||||
int GetRatio();
|
||||
void SetRatio(int value);
|
||||
void SetForeground(MwCXX::String value);
|
||||
int GetHeight();
|
||||
void SetHeight(int value);
|
||||
int GetIsRounded();
|
||||
void SetIsRounded(int value);
|
||||
int GetModernLook();
|
||||
void SetModernLook(int value);
|
||||
int GetRatio();
|
||||
void SetRatio(int value);
|
||||
MwCXX::String GetSubBackground();
|
||||
void SetSubBackground(MwCXX::String value);
|
||||
void SetSubBackground(MwCXX::String value);
|
||||
MwCXX::String GetSubForeground();
|
||||
void SetSubForeground(MwCXX::String value);
|
||||
int GetUseMonospace();
|
||||
void SetUseMonospace(int value);
|
||||
int GetWaitMS();
|
||||
void SetWaitMS(int value);
|
||||
int GetWidth();
|
||||
void SetWidth(int value);
|
||||
int GetX();
|
||||
void SetX(int value);
|
||||
int GetY();
|
||||
void SetY(int value);
|
||||
void SetSubForeground(MwCXX::String value);
|
||||
int GetUseMonospace();
|
||||
void SetUseMonospace(int value);
|
||||
int GetWaitMS();
|
||||
void SetWaitMS(int value);
|
||||
int GetWidth();
|
||||
void SetWidth(int value);
|
||||
int GetX();
|
||||
void SetX(int value);
|
||||
int GetY();
|
||||
void SetY(int value);
|
||||
|
||||
virtual void OnClipboard(MwCXX::String value) {};
|
||||
virtual void OnDarkTheme(int value) {};
|
||||
|
|
|
|||
|
|
@ -15,15 +15,15 @@ namespace MwCXX {
|
|||
Box(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
Box(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetOrientation();
|
||||
int GetOrientation();
|
||||
void SetOrientation(int value);
|
||||
int GetMargin();
|
||||
int GetMargin();
|
||||
void SetMargin(int value);
|
||||
int GetPadding();
|
||||
int GetPadding();
|
||||
void SetPadding(int value);
|
||||
int GetHasBorder();
|
||||
int GetHasBorder();
|
||||
void SetHasBorder(int value);
|
||||
int GetInverted();
|
||||
int GetInverted();
|
||||
void SetInverted(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
|
|
|||
|
|
@ -15,16 +15,16 @@ namespace MwCXX {
|
|||
Button(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
Button(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
MwLLPixmap GetPixmap();
|
||||
void SetPixmap(MwLLPixmap value);
|
||||
MwLLPixmap GetPixmap();
|
||||
void SetPixmap(MwLLPixmap value);
|
||||
MwCXX::String GetText();
|
||||
void SetText(MwCXX::String value);
|
||||
int GetFlat();
|
||||
void SetFlat(int value);
|
||||
int GetPadding();
|
||||
void SetPadding(int value);
|
||||
int GetFillArea();
|
||||
void SetFillArea(int value);
|
||||
void SetText(MwCXX::String value);
|
||||
int GetFlat();
|
||||
void SetFlat(int value);
|
||||
int GetPadding();
|
||||
void SetPadding(int value);
|
||||
int GetFillArea();
|
||||
void SetFillArea(int value);
|
||||
|
||||
virtual void OnActivate() {};
|
||||
virtual void OnChanged() {};
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace MwCXX {
|
|||
CheckBox(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
CheckBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetChecked();
|
||||
int GetChecked();
|
||||
void SetChecked(int value);
|
||||
|
||||
virtual void OnChanged() {};
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ namespace MwCXX {
|
|||
ComboBox(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
ComboBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetAreaShown();
|
||||
int GetAreaShown();
|
||||
void SetAreaShown(int value);
|
||||
int GetValue();
|
||||
int GetValue();
|
||||
void SetValue(int value);
|
||||
|
||||
virtual void OnComboBoxChanged(int value) {};
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ namespace MwCXX {
|
|||
Entry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
MwCXX::String GetText();
|
||||
void SetText(MwCXX::String value);
|
||||
int GetHideInput();
|
||||
void SetHideInput(int value);
|
||||
void SetText(MwCXX::String value);
|
||||
int GetHideInput();
|
||||
void SetHideInput(int value);
|
||||
|
||||
virtual void OnActivate() {};
|
||||
virtual void OnChanged() {};
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ namespace MwCXX {
|
|||
Frame(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
Frame(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetHasBorder();
|
||||
int GetHasBorder();
|
||||
void SetHasBorder(int value);
|
||||
int GetInverted();
|
||||
int GetInverted();
|
||||
void SetInverted(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@ namespace MwCXX {
|
|||
Image(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
MwLLPixmap GetPixmap();
|
||||
void SetPixmap(MwLLPixmap value);
|
||||
int GetHasBorder();
|
||||
void SetHasBorder(int value);
|
||||
int GetInverted();
|
||||
void SetInverted(int value);
|
||||
int GetFillArea();
|
||||
void SetFillArea(int value);
|
||||
void SetPixmap(MwLLPixmap value);
|
||||
int GetHasBorder();
|
||||
void SetHasBorder(int value);
|
||||
int GetInverted();
|
||||
void SetInverted(int value);
|
||||
int GetFillArea();
|
||||
void SetFillArea(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
||||
|
|
|
|||
|
|
@ -16,17 +16,17 @@ namespace MwCXX {
|
|||
Label(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
MwCXX::String GetText();
|
||||
void SetText(MwCXX::String value);
|
||||
int GetAlignment();
|
||||
void SetAlignment(int value);
|
||||
int GetBold();
|
||||
void SetBold(int value);
|
||||
int GetSevenSegment();
|
||||
void SetSevenSegment(int value);
|
||||
int GetLength();
|
||||
void SetLength(int value);
|
||||
int GetLeftPadding();
|
||||
void SetLeftPadding(int value);
|
||||
void SetText(MwCXX::String value);
|
||||
int GetAlignment();
|
||||
void SetAlignment(int value);
|
||||
int GetBold();
|
||||
void SetBold(int value);
|
||||
int GetSevenSegment();
|
||||
void SetSevenSegment(int value);
|
||||
int GetLength();
|
||||
void SetLength(int value);
|
||||
int GetLeftPadding();
|
||||
void SetLeftPadding(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@ namespace MwCXX {
|
|||
ListBox(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
ListBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetLeftPadding();
|
||||
int GetLeftPadding();
|
||||
void SetLeftPadding(int value);
|
||||
int GetHasHeading();
|
||||
int GetHasHeading();
|
||||
void SetHasHeading(int value);
|
||||
int GetSingleClickSelectable();
|
||||
int GetSingleClickSelectable();
|
||||
void SetSingleClickSelectable(int value);
|
||||
|
||||
virtual void OnListBoxActivate(int value) {};
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ namespace MwCXX {
|
|||
NumberEntry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
MwCXX::String GetText();
|
||||
void SetText(MwCXX::String value);
|
||||
void SetText(MwCXX::String value);
|
||||
|
||||
virtual void OnActivate() {};
|
||||
virtual void OnChanged() {};
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@ namespace MwCXX {
|
|||
ProgressBar(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
ProgressBar(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetMinValue();
|
||||
int GetMinValue();
|
||||
void SetMinValue(int value);
|
||||
int GetMaxValue();
|
||||
int GetMaxValue();
|
||||
void SetMaxValue(int value);
|
||||
int GetValue();
|
||||
int GetValue();
|
||||
void SetValue(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace MwCXX {
|
|||
RadioBox(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
RadioBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetChecked();
|
||||
int GetChecked();
|
||||
void SetChecked(int value);
|
||||
|
||||
virtual void OnChanged() {};
|
||||
|
|
|
|||
|
|
@ -15,17 +15,17 @@ namespace MwCXX {
|
|||
ScrollBar(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
ScrollBar(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetShowArrows();
|
||||
int GetShowArrows();
|
||||
void SetShowArrows(int value);
|
||||
int GetAreaShown();
|
||||
int GetAreaShown();
|
||||
void SetAreaShown(int value);
|
||||
int GetValue();
|
||||
int GetValue();
|
||||
void SetValue(int value);
|
||||
int GetMinValue();
|
||||
int GetMinValue();
|
||||
void SetMinValue(int value);
|
||||
int GetMaxValue();
|
||||
int GetMaxValue();
|
||||
void SetMaxValue(int value);
|
||||
int GetOrientation();
|
||||
int GetOrientation();
|
||||
void SetOrientation(int value);
|
||||
|
||||
virtual void OnChanged() {};
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace MwCXX {
|
|||
SubMenu(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
SubMenu(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetLeftPadding();
|
||||
int GetLeftPadding();
|
||||
void SetLeftPadding(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ namespace MwCXX {
|
|||
TreeView(MwWidget widget, MwCXX::Base* parent = NULL);
|
||||
TreeView(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
int GetLeftPadding();
|
||||
int GetLeftPadding();
|
||||
void SetLeftPadding(int value);
|
||||
int GetSingleClickSelectable();
|
||||
int GetSingleClickSelectable();
|
||||
void SetSingleClickSelectable(int value);
|
||||
|
||||
virtual void OnTreeViewActivate(void* value) {};
|
||||
|
|
|
|||
|
|
@ -16,17 +16,17 @@ namespace MwCXX {
|
|||
Window(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||||
|
||||
MwCXX::String GetTitle();
|
||||
void SetTitle(MwCXX::String value);
|
||||
int GetMain();
|
||||
void SetMain(int value);
|
||||
MwLLPixmap GetIconPixmap();
|
||||
void SetIconPixmap(MwLLPixmap value);
|
||||
MwSizeHints* GetSizeHints();
|
||||
void SetSizeHints(MwSizeHints* value);
|
||||
int GetHasBorder();
|
||||
void SetHasBorder(int value);
|
||||
int GetInverted();
|
||||
void SetInverted(int value);
|
||||
void SetTitle(MwCXX::String value);
|
||||
int GetMain();
|
||||
void SetMain(int value);
|
||||
MwLLPixmap GetIconPixmap();
|
||||
void SetIconPixmap(MwLLPixmap value);
|
||||
MwSizeHints* GetSizeHints();
|
||||
void SetSizeHints(MwSizeHints* value);
|
||||
int GetHasBorder();
|
||||
void SetHasBorder(int value);
|
||||
int GetInverted();
|
||||
void SetInverted(int value);
|
||||
};
|
||||
}; // namespace MwCXX
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
MwCXX::Window* MwCXX::ColorPicker(MwCXX::Base* handle, MwCXX::String title) {
|
||||
return new MwCXX::Window(MwColorPicker(handle->GetWidget(),
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
title
|
||||
title
|
||||
#else
|
||||
title.c_str()
|
||||
title.c_str()
|
||||
#endif
|
||||
),
|
||||
handle);
|
||||
), handle);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
MwCXX::Window* MwCXX::DirectoryChooser(MwCXX::Base* handle, MwCXX::String title) {
|
||||
return new MwCXX::Window(MwDirectoryChooser(handle->GetWidget(),
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
title
|
||||
title
|
||||
#else
|
||||
title.c_str()
|
||||
title.c_str()
|
||||
#endif
|
||||
),
|
||||
handle);
|
||||
), handle);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,21 +3,18 @@
|
|||
MwCXX::Window* MwCXX::FileChooser(MwCXX::Base* handle, MwCXX::String title) {
|
||||
return new MwCXX::Window(MwFileChooser(handle->GetWidget(),
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
title
|
||||
title
|
||||
#else
|
||||
title.c_str()
|
||||
title.c_str()
|
||||
#endif
|
||||
),
|
||||
handle);
|
||||
), handle);
|
||||
}
|
||||
MwCXX::Window* MwCXX::FileChooserEx(MwCXX::Base* handle, MwCXX::String title, int dir) {
|
||||
return new MwCXX::Window(MwFileChooserEx(handle->GetWidget(),
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
title
|
||||
title
|
||||
#else
|
||||
title.c_str()
|
||||
title.c_str()
|
||||
#endif
|
||||
,
|
||||
(int)dir),
|
||||
handle);
|
||||
, (int)dir), handle);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,19 +3,17 @@
|
|||
MwCXX::Window* MwCXX::MessageBox(MwCXX::Base* handle, MwCXX::String text, MwCXX::String title, int flag) {
|
||||
return new MwCXX::Window(MwMessageBox(handle->GetWidget(),
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
text
|
||||
text
|
||||
#else
|
||||
text.c_str()
|
||||
text.c_str()
|
||||
#endif
|
||||
,
|
||||
,
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
title
|
||||
title
|
||||
#else
|
||||
title.c_str()
|
||||
title.c_str()
|
||||
#endif
|
||||
,
|
||||
(int)flag),
|
||||
handle);
|
||||
, (int)flag), handle);
|
||||
}
|
||||
MwCXX::Button* MwCXX::MessageBoxGetChild(MwCXX::Window* handle, int child) {
|
||||
return new MwCXX::Button(MwMessageBoxGetChild(handle->GetWidget(), (int)child), handle);
|
||||
|
|
|
|||
|
|
@ -235,15 +235,15 @@ void MwCXX::Base::RegisterHandlers() {
|
|||
MwAddUserHandler(this->widget, MwNresizeHandler, __OnResize, (void*)this);
|
||||
MwAddUserHandler(this->widget, MwNtickHandler, __OnTick, (void*)this);
|
||||
|
||||
this->ClipboardHandler = NULL;
|
||||
this->DarkThemeHandler = NULL;
|
||||
this->FocusInHandler = NULL;
|
||||
this->FocusOutHandler = NULL;
|
||||
this->KeyHandler = NULL;
|
||||
this->ClipboardHandler = NULL;
|
||||
this->DarkThemeHandler = NULL;
|
||||
this->FocusInHandler = NULL;
|
||||
this->FocusOutHandler = NULL;
|
||||
this->KeyHandler = NULL;
|
||||
this->KeyReleaseHandler = NULL;
|
||||
this->MouseDownHandler = NULL;
|
||||
this->MouseMoveHandler = NULL;
|
||||
this->MouseUpHandler = NULL;
|
||||
this->ResizeHandler = NULL;
|
||||
this->TickHandler = NULL;
|
||||
this->MouseDownHandler = NULL;
|
||||
this->MouseMoveHandler = NULL;
|
||||
this->MouseUpHandler = NULL;
|
||||
this->ResizeHandler = NULL;
|
||||
this->TickHandler = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Box.h>
|
||||
|
||||
MwCXX::Box::Box(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Box::Box(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Box::Box(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwBoxClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Box::Box(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwBoxClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Button.h>
|
||||
|
||||
MwCXX::Button::Button(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Button::Button(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Button::Button(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwButtonClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Button::Button(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwButtonClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
@ -69,5 +67,5 @@ void MwCXX::Button::RegisterHandlers() {
|
|||
MwAddUserHandler(this->widget, MwNchangedHandler, __OnChanged, (void*)this);
|
||||
|
||||
this->ActivateHandler = NULL;
|
||||
this->ChangedHandler = NULL;
|
||||
this->ChangedHandler = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/CheckBox.h>
|
||||
|
||||
MwCXX::CheckBox::CheckBox(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::CheckBox::CheckBox(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::CheckBox::CheckBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwCheckBoxClass, name, parent, x, y, width, height) {
|
||||
MwCXX::CheckBox::CheckBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwCheckBoxClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/ComboBox.h>
|
||||
|
||||
MwCXX::ComboBox::ComboBox(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::ComboBox::ComboBox(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::ComboBox::ComboBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwComboBoxClass, name, parent, x, y, width, height) {
|
||||
MwCXX::ComboBox::ComboBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwComboBoxClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Entry.h>
|
||||
|
||||
MwCXX::Entry::Entry(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Entry::Entry(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Entry::Entry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwEntryClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Entry::Entry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwEntryClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
@ -45,5 +43,5 @@ void MwCXX::Entry::RegisterHandlers() {
|
|||
MwAddUserHandler(this->widget, MwNchangedHandler, __OnChanged, (void*)this);
|
||||
|
||||
this->ActivateHandler = NULL;
|
||||
this->ChangedHandler = NULL;
|
||||
this->ChangedHandler = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Frame.h>
|
||||
|
||||
MwCXX::Frame::Frame(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Frame::Frame(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Frame::Frame(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwFrameClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Frame::Frame(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwFrameClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Image.h>
|
||||
|
||||
MwCXX::Image::Image(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Image::Image(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Image::Image(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwImageClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Image::Image(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwImageClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Label.h>
|
||||
|
||||
MwCXX::Label::Label(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Label::Label(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Label::Label(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwLabelClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Label::Label(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwLabelClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/ListBox.h>
|
||||
|
||||
MwCXX::ListBox::ListBox(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::ListBox::ListBox(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::ListBox::ListBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwListBoxClass, name, parent, x, y, width, height) {
|
||||
MwCXX::ListBox::ListBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwListBoxClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Menu.h>
|
||||
|
||||
MwCXX::Menu::Menu(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Menu::Menu(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Menu::Menu(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwMenuClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Menu::Menu(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwMenuClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/NumberEntry.h>
|
||||
|
||||
MwCXX::NumberEntry::NumberEntry(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::NumberEntry::NumberEntry(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::NumberEntry::NumberEntry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwNumberEntryClass, name, parent, x, y, width, height) {
|
||||
MwCXX::NumberEntry::NumberEntry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwNumberEntryClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
@ -37,5 +35,5 @@ void MwCXX::NumberEntry::RegisterHandlers() {
|
|||
MwAddUserHandler(this->widget, MwNchangedHandler, __OnChanged, (void*)this);
|
||||
|
||||
this->ActivateHandler = NULL;
|
||||
this->ChangedHandler = NULL;
|
||||
this->ChangedHandler = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
#define MW_OPENGL_NO_INCLUDE
|
||||
#include <MwCXX/Widget/OpenGL.h>
|
||||
|
||||
MwCXX::OpenGL::OpenGL(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::OpenGL::OpenGL(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::OpenGL::OpenGL(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwOpenGLClass, name, parent, x, y, width, height) {
|
||||
MwCXX::OpenGL::OpenGL(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwOpenGLClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/ProgressBar.h>
|
||||
|
||||
MwCXX::ProgressBar::ProgressBar(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::ProgressBar::ProgressBar(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::ProgressBar::ProgressBar(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwProgressBarClass, name, parent, x, y, width, height) {
|
||||
MwCXX::ProgressBar::ProgressBar(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwProgressBarClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/RadioBox.h>
|
||||
|
||||
MwCXX::RadioBox::RadioBox(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::RadioBox::RadioBox(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::RadioBox::RadioBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwRadioBoxClass, name, parent, x, y, width, height) {
|
||||
MwCXX::RadioBox::RadioBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwRadioBoxClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/ScrollBar.h>
|
||||
|
||||
MwCXX::ScrollBar::ScrollBar(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::ScrollBar::ScrollBar(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::ScrollBar::ScrollBar(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwScrollBarClass, name, parent, x, y, width, height) {
|
||||
MwCXX::ScrollBar::ScrollBar(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwScrollBarClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/SubMenu.h>
|
||||
|
||||
MwCXX::SubMenu::SubMenu(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::SubMenu::SubMenu(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::SubMenu::SubMenu(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwSubMenuClass, name, parent, x, y, width, height) {
|
||||
MwCXX::SubMenu::SubMenu(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwSubMenuClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/TreeView.h>
|
||||
|
||||
MwCXX::TreeView::TreeView(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::TreeView::TreeView(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::TreeView::TreeView(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwTreeViewClass, name, parent, x, y, width, height) {
|
||||
MwCXX::TreeView::TreeView(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwTreeViewClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Viewport.h>
|
||||
|
||||
MwCXX::Viewport::Viewport(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Viewport::Viewport(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Viewport::Viewport(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwViewportClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Viewport::Viewport(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwViewportClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
#define MW_VULKAN_NO_INCLUDE
|
||||
#include <MwCXX/Widget/Vulkan.h>
|
||||
|
||||
MwCXX::Vulkan::Vulkan(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Vulkan::Vulkan(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Vulkan::Vulkan(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwVulkanClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Vulkan::Vulkan(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwVulkanClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
#include <MwCXX/Widget/Window.h>
|
||||
|
||||
MwCXX::Window::Window(MwWidget widget, MwCXX::Base* parent)
|
||||
: MwCXX::Base(widget, parent) {
|
||||
MwCXX::Window::Window(MwWidget widget, MwCXX::Base* parent) : MwCXX::Base(widget, parent) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
MwCXX::Window::Window(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height)
|
||||
: MwCXX::Base(MwWindowClass, name, parent, x, y, width, height) {
|
||||
MwCXX::Window::Window(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) : MwCXX::Base(MwWindowClass, name, parent, x, y, width, height) {
|
||||
this->RegisterHandlers();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue