fix things
This commit is contained in:
parent
ae7df4cb63
commit
2c44efeb2f
48 changed files with 315 additions and 394 deletions
|
|
@ -5,7 +5,7 @@ AlignConsecutiveAssignments:
|
|||
Enabled: true
|
||||
AlignConsecutiveDeclarations:
|
||||
Enabled: true
|
||||
IndentAccessModifiers: true
|
||||
AccessModifierOffset: -4
|
||||
NamespaceIndentation: All
|
||||
IndentWidth: 8
|
||||
PointerAlignment: Left
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,3 +3,5 @@
|
|||
/*.exe
|
||||
/*.so
|
||||
/*.dll
|
||||
/a.out
|
||||
*.o
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ static void scan_widget(xl_node_t* node) {
|
|||
std::string r = "";
|
||||
|
||||
for(i = 0; nodes[i] != NULL; i++) {
|
||||
r += scan_widget_properties_header(nodes[i], "\t\t\t");
|
||||
r += scan_widget_properties_header(nodes[i], "\t\t");
|
||||
}
|
||||
|
||||
if(r != "") OFS << std::endl
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@ int GetBitmapFont();
|
|||
void SetBitmapFont(int value);
|
||||
int GetBorderWidth();
|
||||
void SetBorderWidth(int value);
|
||||
GetClipboard();
|
||||
void SetClipboard( value);
|
||||
GetDarkTheme();
|
||||
void SetDarkTheme( value);
|
||||
int GetDarkTheme();
|
||||
void SetDarkTheme(int value);
|
||||
int GetFixedSize();
|
||||
void SetFixedSize(int value);
|
||||
GetFocusIn();
|
||||
void SetFocusIn( value);
|
||||
GetFocusOut();
|
||||
void SetFocusOut( value);
|
||||
int GetForceInverted();
|
||||
void SetForceInverted(int value);
|
||||
MwCXX::String GetForeground();
|
||||
|
|
@ -24,28 +18,14 @@ int GetHeight();
|
|||
void SetHeight(int value);
|
||||
int GetIsRounded();
|
||||
void SetIsRounded(int value);
|
||||
GetKey();
|
||||
void SetKey( value);
|
||||
GetKeyRelease();
|
||||
void SetKeyRelease( value);
|
||||
int GetModernLook();
|
||||
void SetModernLook(int value);
|
||||
GetMouseDown();
|
||||
void SetMouseDown( value);
|
||||
GetMouseMove();
|
||||
void SetMouseMove( value);
|
||||
GetMouseUp();
|
||||
void SetMouseUp( value);
|
||||
int GetRatio();
|
||||
void SetRatio(int value);
|
||||
GetResize();
|
||||
void SetResize( value);
|
||||
MwCXX::String GetSubBackground();
|
||||
void SetSubBackground(MwCXX::String value);
|
||||
MwCXX::String GetSubForeground();
|
||||
void SetSubForeground(MwCXX::String value);
|
||||
GetTick();
|
||||
void SetTick( value);
|
||||
int GetUseMonospace();
|
||||
void SetUseMonospace(int value);
|
||||
int GetWaitMS();
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#include <MwCXX/Widget/Base.h>
|
||||
|
||||
MwCXX::Base::Base(MwWidget widget){
|
||||
MwCXX::Base::Base(MwWidget widget) {
|
||||
this->widget = widget;
|
||||
}
|
||||
|
||||
MwCXX::Base::Base(MwClass widget_class, MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height){
|
||||
MwCXX::Base::Base(MwClass widget_class, MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height) {
|
||||
#ifdef MWCXX_USE_C_STRING
|
||||
this->widget = MwCreateWidget(widget_class, name, parent == NULL ? NULL : parent->widget, x, y, width, height);
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -36,20 +36,12 @@ void MwCXX::Base::SetBorderWidth(int value) {
|
|||
MwSetInteger(this->widget, MwNborderWidth, (int)value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetClipboard() {
|
||||
return ()MwGetVoid(this->widget, MwNclipboard);
|
||||
int MwCXX::Base::GetDarkTheme() {
|
||||
return (int)MwGetInteger(this->widget, MwNdarkTheme);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetClipboard( value) {
|
||||
MwSetVoid(this->widget, MwNclipboard, ()value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetDarkTheme() {
|
||||
return ()MwGetVoid(this->widget, MwNdarkTheme);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetDarkTheme( value) {
|
||||
MwSetVoid(this->widget, MwNdarkTheme, ()value);
|
||||
void MwCXX::Base::SetDarkTheme(int value) {
|
||||
MwSetInteger(this->widget, MwNdarkTheme, (int)value);
|
||||
}
|
||||
|
||||
int MwCXX::Base::GetFixedSize() {
|
||||
|
|
@ -60,22 +52,6 @@ void MwCXX::Base::SetFixedSize(int value) {
|
|||
MwSetInteger(this->widget, MwNfixedSize, (int)value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetFocusIn() {
|
||||
return ()MwGetVoid(this->widget, MwNfocusIn);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetFocusIn( value) {
|
||||
MwSetVoid(this->widget, MwNfocusIn, ()value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetFocusOut() {
|
||||
return ()MwGetVoid(this->widget, MwNfocusOut);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetFocusOut( value) {
|
||||
MwSetVoid(this->widget, MwNfocusOut, ()value);
|
||||
}
|
||||
|
||||
int MwCXX::Base::GetForceInverted() {
|
||||
return (int)MwGetInteger(this->widget, MwNforceInverted);
|
||||
}
|
||||
|
|
@ -112,22 +88,6 @@ void MwCXX::Base::SetIsRounded(int value) {
|
|||
MwSetInteger(this->widget, MwNisRounded, (int)value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetKey() {
|
||||
return ()MwGetVoid(this->widget, MwNkey);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetKey( value) {
|
||||
MwSetVoid(this->widget, MwNkey, ()value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetKeyRelease() {
|
||||
return ()MwGetVoid(this->widget, MwNkeyRelease);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetKeyRelease( value) {
|
||||
MwSetVoid(this->widget, MwNkeyRelease, ()value);
|
||||
}
|
||||
|
||||
int MwCXX::Base::GetModernLook() {
|
||||
return (int)MwGetInteger(this->widget, MwNmodernLook);
|
||||
}
|
||||
|
|
@ -136,30 +96,6 @@ void MwCXX::Base::SetModernLook(int value) {
|
|||
MwSetInteger(this->widget, MwNmodernLook, (int)value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetMouseDown() {
|
||||
return ()MwGetVoid(this->widget, MwNmouseDown);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetMouseDown( value) {
|
||||
MwSetVoid(this->widget, MwNmouseDown, ()value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetMouseMove() {
|
||||
return ()MwGetVoid(this->widget, MwNmouseMove);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetMouseMove( value) {
|
||||
MwSetVoid(this->widget, MwNmouseMove, ()value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetMouseUp() {
|
||||
return ()MwGetVoid(this->widget, MwNmouseUp);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetMouseUp( value) {
|
||||
MwSetVoid(this->widget, MwNmouseUp, ()value);
|
||||
}
|
||||
|
||||
int MwCXX::Base::GetRatio() {
|
||||
return (int)MwGetInteger(this->widget, MwNratio);
|
||||
}
|
||||
|
|
@ -168,14 +104,6 @@ void MwCXX::Base::SetRatio(int value) {
|
|||
MwSetInteger(this->widget, MwNratio, (int)value);
|
||||
}
|
||||
|
||||
MwCXX::Base::GetResize() {
|
||||
return ()MwGetVoid(this->widget, MwNresize);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetResize( value) {
|
||||
MwSetVoid(this->widget, MwNresize, ()value);
|
||||
}
|
||||
|
||||
MwCXX::String MwCXX::Base::GetSubBackground() {
|
||||
return (MwCXX::String)MwGetText(this->widget, MwNsubBackground);
|
||||
}
|
||||
|
|
@ -200,14 +128,6 @@ void MwCXX::Base::SetSubForeground(MwCXX::String value) {
|
|||
#endif
|
||||
}
|
||||
|
||||
MwCXX::Base::GetTick() {
|
||||
return ()MwGetVoid(this->widget, MwNtick);
|
||||
}
|
||||
|
||||
void MwCXX::Base::SetTick( value) {
|
||||
MwSetVoid(this->widget, MwNtick, ()value);
|
||||
}
|
||||
|
||||
int MwCXX::Base::GetUseMonospace() {
|
||||
return (int)MwGetInteger(this->widget, MwNuseMonospace);
|
||||
}
|
||||
|
|
@ -247,4 +167,3 @@ int MwCXX::Base::GetY() {
|
|||
void MwCXX::Base::SetY(int value) {
|
||||
MwSetInteger(this->widget, MwNy, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Box.h>
|
||||
|
||||
MwCXX::Box::Box(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Box::Box(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::Box::GetOrientation() {
|
||||
|
|
@ -45,4 +47,3 @@ int MwCXX::Box::GetInverted() {
|
|||
void MwCXX::Box::SetInverted(int value) {
|
||||
MwSetInteger(this->widget, MwNinverted, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Button.h>
|
||||
|
||||
MwCXX::Button::Button(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Button::Button(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
MwLLPixmap MwCXX::Button::GetPixmap() {
|
||||
|
|
@ -49,4 +51,3 @@ int MwCXX::Button::GetFillArea() {
|
|||
void MwCXX::Button::SetFillArea(int value) {
|
||||
MwSetInteger(this->widget, MwNfillArea, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/CheckBox.h>
|
||||
|
||||
MwCXX::CheckBox::CheckBox(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::CheckBox::CheckBox(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::CheckBox::GetChecked() {
|
||||
|
|
@ -13,4 +15,3 @@ int MwCXX::CheckBox::GetChecked() {
|
|||
void MwCXX::CheckBox::SetChecked(int value) {
|
||||
MwSetInteger(this->widget, MwNchecked, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/ComboBox.h>
|
||||
|
||||
MwCXX::ComboBox::ComboBox(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::ComboBox::ComboBox(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::ComboBox::GetAreaShown() {
|
||||
|
|
@ -21,4 +23,3 @@ int MwCXX::ComboBox::GetValue() {
|
|||
void MwCXX::ComboBox::SetValue(int value) {
|
||||
MwSetInteger(this->widget, MwNvalue, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Entry.h>
|
||||
|
||||
MwCXX::Entry::Entry(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Entry::Entry(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
MwCXX::String MwCXX::Entry::GetText() {
|
||||
|
|
@ -25,4 +27,3 @@ int MwCXX::Entry::GetHideInput() {
|
|||
void MwCXX::Entry::SetHideInput(int value) {
|
||||
MwSetInteger(this->widget, MwNhideInput, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Frame.h>
|
||||
|
||||
MwCXX::Frame::Frame(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Frame::Frame(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::Frame::GetHasBorder() {
|
||||
|
|
@ -21,4 +23,3 @@ int MwCXX::Frame::GetInverted() {
|
|||
void MwCXX::Frame::SetInverted(int value) {
|
||||
MwSetInteger(this->widget, MwNinverted, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Image.h>
|
||||
|
||||
MwCXX::Image::Image(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Image::Image(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
MwLLPixmap MwCXX::Image::GetPixmap() {
|
||||
|
|
@ -37,4 +39,3 @@ int MwCXX::Image::GetFillArea() {
|
|||
void MwCXX::Image::SetFillArea(int value) {
|
||||
MwSetInteger(this->widget, MwNfillArea, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Label.h>
|
||||
|
||||
MwCXX::Label::Label(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Label::Label(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
MwCXX::String MwCXX::Label::GetText() {
|
||||
|
|
@ -57,4 +59,3 @@ int MwCXX::Label::GetLeftPadding() {
|
|||
void MwCXX::Label::SetLeftPadding(int value) {
|
||||
MwSetInteger(this->widget, MwNleftPadding, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/ListBox.h>
|
||||
|
||||
MwCXX::ListBox::ListBox(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::ListBox::ListBox(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::ListBox::GetLeftPadding() {
|
||||
|
|
@ -29,4 +31,3 @@ int MwCXX::ListBox::GetSingleClickSelectable() {
|
|||
void MwCXX::ListBox::SetSingleClickSelectable(int value) {
|
||||
MwSetInteger(this->widget, MwNsingleClickSelectable, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
#include <MwCXX/Widget/Menu.h>
|
||||
|
||||
MwCXX::Menu::Menu(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Menu::Menu(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/NumberEntry.h>
|
||||
|
||||
MwCXX::NumberEntry::NumberEntry(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::NumberEntry::NumberEntry(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
MwCXX::String MwCXX::NumberEntry::GetText() {
|
||||
|
|
@ -17,4 +19,3 @@ void MwCXX::NumberEntry::SetText(MwCXX::String value) {
|
|||
MwSetText(this->widget, MwNtext, (MwCXX::String)value);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
#define MW_OPENGL_NO_INCLUDE
|
||||
#include <MwCXX/Widget/OpenGL.h>
|
||||
|
||||
MwCXX::OpenGL::OpenGL(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::OpenGL::OpenGL(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/ProgressBar.h>
|
||||
|
||||
MwCXX::ProgressBar::ProgressBar(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::ProgressBar::ProgressBar(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::ProgressBar::GetMinValue() {
|
||||
|
|
@ -29,4 +31,3 @@ int MwCXX::ProgressBar::GetValue() {
|
|||
void MwCXX::ProgressBar::SetValue(int value) {
|
||||
MwSetInteger(this->widget, MwNvalue, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/RadioBox.h>
|
||||
|
||||
MwCXX::RadioBox::RadioBox(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::RadioBox::RadioBox(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::RadioBox::GetChecked() {
|
||||
|
|
@ -13,4 +15,3 @@ int MwCXX::RadioBox::GetChecked() {
|
|||
void MwCXX::RadioBox::SetChecked(int value) {
|
||||
MwSetInteger(this->widget, MwNchecked, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/ScrollBar.h>
|
||||
|
||||
MwCXX::ScrollBar::ScrollBar(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::ScrollBar::ScrollBar(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::ScrollBar::GetShowArrows() {
|
||||
|
|
@ -53,4 +55,3 @@ int MwCXX::ScrollBar::GetOrientation() {
|
|||
void MwCXX::ScrollBar::SetOrientation(int value) {
|
||||
MwSetInteger(this->widget, MwNorientation, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/SubMenu.h>
|
||||
|
||||
MwCXX::SubMenu::SubMenu(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::SubMenu::SubMenu(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::SubMenu::GetLeftPadding() {
|
||||
|
|
@ -13,4 +15,3 @@ int MwCXX::SubMenu::GetLeftPadding() {
|
|||
void MwCXX::SubMenu::SetLeftPadding(int value) {
|
||||
MwSetInteger(this->widget, MwNleftPadding, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/TreeView.h>
|
||||
|
||||
MwCXX::TreeView::TreeView(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::TreeView::TreeView(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
int MwCXX::TreeView::GetLeftPadding() {
|
||||
|
|
@ -21,4 +23,3 @@ int MwCXX::TreeView::GetSingleClickSelectable() {
|
|||
void MwCXX::TreeView::SetSingleClickSelectable(int value) {
|
||||
MwSetInteger(this->widget, MwNsingleClickSelectable, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
#include <MwCXX/Widget/Viewport.h>
|
||||
|
||||
MwCXX::Viewport::Viewport(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Viewport::Viewport(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
#define MW_VULKAN_NO_INCLUDE
|
||||
#include <MwCXX/Widget/Vulkan.h>
|
||||
|
||||
MwCXX::Vulkan::Vulkan(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Vulkan::Vulkan(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
#include <MwCXX/Widget/Window.h>
|
||||
|
||||
MwCXX::Window::Window(MwWidget widget) : MwCXX::Base(widget) {
|
||||
MwCXX::Window::Window(MwWidget widget)
|
||||
: MwCXX::Base(widget) {
|
||||
}
|
||||
|
||||
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) {
|
||||
}
|
||||
|
||||
MwCXX::String MwCXX::Window::GetTitle() {
|
||||
|
|
@ -57,4 +59,3 @@ int MwCXX::Window::GetInverted() {
|
|||
void MwCXX::Window::SetInverted(int value) {
|
||||
MwSetInteger(this->widget, MwNinverted, (int)value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue