2#ifndef LIBSBX_UI_IMAGE_HPP_
3#define LIBSBX_UI_IMAGE_HPP_
5#include <libsbx/graphics/images/image.hpp>
7#include <libsbx/ui/element.hpp>
15 using source_type = std::variant<graphics::image2d_handle, std::string>;
21 ~image()
override =
default;
25 auto submit(
const math::vector2& screen_size) ->
void override;
A vector in two-dimensional space.
Definition: vector2.hpp:28
Definition: element.hpp:22