AlpacaLibrary/Include/Core/Classes/Widget.hpp

60 lines
1.9 KiB
C++
Raw Normal View History

2017-12-25 23:49:48 +00:00
#ifndef WIDGET_HPP_INCLUDED
#define WIDGET_HPP_INCLUDED
#include "Node.hpp"
#include "../JavaClass/Class.hpp"
#include <vector>
#include <string>
#include <cstdint>
2018-03-18 14:38:29 +00:00
namespace Internal
2017-12-25 23:49:48 +00:00
{
2018-03-18 14:38:29 +00:00
class Widget : public Node
{
public:
Widget(const void* Obj);
2018-12-27 18:17:09 +00:00
Widget() = default;
Widget(Widget&& Obj) = default;
Widget(const Widget& Obj) = default;
Widget& operator=(Widget&& Obj) = default;
Widget& operator=(const Widget& Obj) = default;
2018-03-18 14:38:29 +00:00
static Class GetClass();
2017-12-25 23:49:48 +00:00
2018-03-18 14:38:29 +00:00
std::vector<std::string> GetActions() const;
std::int32_t GetBorderThickness() const;
std::int32_t GetBoxIndex() const;
std::vector<Widget> GetChildren() const;
2018-03-22 01:15:01 +00:00
Widget GetChildren(std::int32_t I) const;
2020-01-04 01:57:09 +00:00
std::int32_t GetGradient() const;
2019-07-06 19:05:45 +00:00
bool GetHasListener() const;
2018-03-18 14:38:29 +00:00
std::int32_t GetHeight() const;
bool GetHidden() const;
std::int32_t GetID() const;
std::int32_t GetItemAmount() const;
std::vector<std::int32_t> GetItemAmounts() const;
std::int32_t GetItemID() const;
std::vector<std::int32_t> GetItemIDs() const;
2019-05-28 16:34:51 +00:00
std::int32_t GetModelID() const;
2018-03-18 14:38:29 +00:00
std::string GetName() const;
2018-04-01 09:53:35 +00:00
bool GetNoClickThrough() const;
2018-03-18 14:38:29 +00:00
Widget GetParent() const;
std::int32_t GetParentID() const;
std::int32_t GetRelativeX() const;
std::int32_t GetRelativeY() const;
std::int32_t GetScrollX() const;
std::int32_t GetScrollY() const;
std::int32_t GetShadowColor() const;
std::int32_t GetSpriteID() const;
std::int32_t GetStackType() const;
std::string GetText() const;
2018-04-10 02:12:44 +00:00
std::int32_t GetTextColor() const;
2018-04-01 09:53:35 +00:00
std::int32_t GetType() const;
2018-03-18 14:38:29 +00:00
std::int32_t GetWidth() const;
2017-12-25 23:49:48 +00:00
2018-03-18 14:38:29 +00:00
};
}
2017-12-25 23:49:48 +00:00
#endif // WIDGET_HPP_INCLUDED