2#ifndef LIBSBX_UI_BUTTON_HPP_
3#define LIBSBX_UI_BUTTON_HPP_
9#include <libsbx/ui/panel.hpp>
21 std::function<void()> on_click{};
29 auto process_input(
const math::vector2& mouse_position,
bool is_down,
bool was_down) ->
bool override;
A vector in two-dimensional space.
Definition: vector2.hpp:28
RGBA color value type.
Definition: color.hpp:48
RGBA color representation and utilities.