28 Button(std::shared_ptr<WrappableText> text,
VertexData vertex_data, std::shared_ptr<Skin> skin,
const unsigned int layer);
46 static std::shared_ptr<Button>
create(std::shared_ptr<Skin> skin, std::shared_ptr<WrappableText> text, glm::vec4 color, glm::vec4 text_color,
float padding,
float screen_width,
float screen_height,
float x_pos,
float y_pos,
float width,
float height,
const unsigned int layer);
54 virtual void onKeyDown(
const int key)
override;
55 virtual void onKeyUp(
const int key)
override;
57 virtual void onScroll(
const glm::dvec2 position_change)
override;
58 virtual std::string
className() const noexcept override;
61 void onNotifyNow(std::shared_ptr<Events::Event> event) override;
63 virtual
void log(el::base::type::ostream_t& os) const;
Class for vertex data.
Definition: vertex_data.h:17
Class for text area.
Definition: text_area.h:18