AlpacaLibrary/Include/Core/JavaClass/Canvas.hpp

27 lines
633 B
C++
Raw Normal View History

2017-12-25 23:49:48 +00:00
#ifndef CANVAS_HPP_INCLUDED
#define CANVAS_HPP_INCLUDED
#include <cstdint>
#include "Object.hpp"
2018-12-27 18:17:09 +00:00
namespace Internal
2017-12-25 23:49:48 +00:00
{
2018-12-27 18:17:09 +00:00
class Canvas : public Object
{
public:
Canvas(const void* Obj);
Canvas() = default;
Canvas(Canvas&& Obj) = default;
Canvas(const Canvas& Obj) = default;
Canvas& operator=(Canvas&& Obj) = default;
Canvas& operator=(const Canvas& Obj) = default;
void DispatchEvent(Object Event) const;
std::int32_t GetWidth() const;
std::int32_t GetHeight() const;
};
}
2017-12-25 23:49:48 +00:00
#endif // CANVAS_HPP_INCLUDED