AlpacaLibrary/Include/Core/Classes/Widget.hpp

48 lines
1.5 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();
Widget(const void* Obj);
Widget(const Widget& W);
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;
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;
std::string GetName() const;
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;
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