diff options
Diffstat (limited to 'source/Asura.Editor/widgets')
-rw-r--r-- | source/Asura.Editor/widgets/button.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/button.h | 32 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/checkbox.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/checkbox.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/hslider.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/hslider.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/hvslider.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/hvslider.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/label.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/label.h | 18 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/panel.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/panel.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/rbutton.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/rbutton.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/textbox.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/textbox.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/vslider.cpp | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/vslider.h | 0 | ||||
-rw-r--r-- | source/Asura.Editor/widgets/widget.h | 24 |
19 files changed, 74 insertions, 0 deletions
diff --git a/source/Asura.Editor/widgets/button.cpp b/source/Asura.Editor/widgets/button.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/button.cpp diff --git a/source/Asura.Editor/widgets/button.h b/source/Asura.Editor/widgets/button.h new file mode 100644 index 0000000..00f1c99 --- /dev/null +++ b/source/Asura.Editor/widgets/button.h @@ -0,0 +1,32 @@ +#ifndef __ASURA_EDITOR_BUTTON_H__ +#define __ASURA_EDITOR_BUTTON_H__ + +// Asura.Engine Headers +#include <Scripting/Luax.hpp> + +#include "Widget.h" + +namespace AsuraEditor +{ + + class Button + : public Widget + , public AEScripting::Portable<Button> + { + + public: + + Button(); + + private: + + // Image mIcon; // ͼ꣬Ҫ + // Text mText; //ť + + LUAX_DECL_FACTORY(Button); // AsuraEditor.Button + + }; + +} + +#endif
\ No newline at end of file diff --git a/source/Asura.Editor/widgets/checkbox.cpp b/source/Asura.Editor/widgets/checkbox.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/checkbox.cpp diff --git a/source/Asura.Editor/widgets/checkbox.h b/source/Asura.Editor/widgets/checkbox.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/checkbox.h diff --git a/source/Asura.Editor/widgets/hslider.cpp b/source/Asura.Editor/widgets/hslider.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/hslider.cpp diff --git a/source/Asura.Editor/widgets/hslider.h b/source/Asura.Editor/widgets/hslider.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/hslider.h diff --git a/source/Asura.Editor/widgets/hvslider.cpp b/source/Asura.Editor/widgets/hvslider.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/hvslider.cpp diff --git a/source/Asura.Editor/widgets/hvslider.h b/source/Asura.Editor/widgets/hvslider.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/hvslider.h diff --git a/source/Asura.Editor/widgets/label.cpp b/source/Asura.Editor/widgets/label.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/label.cpp diff --git a/source/Asura.Editor/widgets/label.h b/source/Asura.Editor/widgets/label.h new file mode 100644 index 0000000..6889818 --- /dev/null +++ b/source/Asura.Editor/widgets/label.h @@ -0,0 +1,18 @@ +#ifndef __ASURA_EDITOR_LABEL_H__ +#define __ASURA_EDITOR_LABEL_H__ + +namespace AsuraEditor +{ + + class Label + { + + public: + + + + }; + +} + +#endif
\ No newline at end of file diff --git a/source/Asura.Editor/widgets/panel.cpp b/source/Asura.Editor/widgets/panel.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/panel.cpp diff --git a/source/Asura.Editor/widgets/panel.h b/source/Asura.Editor/widgets/panel.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/panel.h diff --git a/source/Asura.Editor/widgets/rbutton.cpp b/source/Asura.Editor/widgets/rbutton.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/rbutton.cpp diff --git a/source/Asura.Editor/widgets/rbutton.h b/source/Asura.Editor/widgets/rbutton.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/rbutton.h diff --git a/source/Asura.Editor/widgets/textbox.cpp b/source/Asura.Editor/widgets/textbox.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/textbox.cpp diff --git a/source/Asura.Editor/widgets/textbox.h b/source/Asura.Editor/widgets/textbox.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/textbox.h diff --git a/source/Asura.Editor/widgets/vslider.cpp b/source/Asura.Editor/widgets/vslider.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/vslider.cpp diff --git a/source/Asura.Editor/widgets/vslider.h b/source/Asura.Editor/widgets/vslider.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/source/Asura.Editor/widgets/vslider.h diff --git a/source/Asura.Editor/widgets/widget.h b/source/Asura.Editor/widgets/widget.h new file mode 100644 index 0000000..437e2bf --- /dev/null +++ b/source/Asura.Editor/widgets/widget.h @@ -0,0 +1,24 @@ +#ifndef __ASURA_EDITOR_WIDGET_H__ +#define __ASURA_EDITOR_WIDGET_H__ + +#include <Object.h> + +namespace AusraEditor +{ + + /// + /// Asura EditorĿؼȾں¼ѯֻ¼Ӧӿڡ + /// + class Widget : virtual public Object + { + + public: + + // ؼлƷ + virtual void Draw() = 0; + + }; + +} + +#endif
\ No newline at end of file |