#ifndef MBUOY_UI_LABEL_HPP #define MBUOY_UI_LABEL_HPP #include "attr/position.hpp" #include "attr/string.hpp" #include "find.hpp" #include "port.hpp" namespace mbuoy { template struct label { static constexpr auto point = find(Attr...); static constexpr auto text = find(Attr...); static consteval void init(unsigned char *(&ptr)) { } static void render() { port::puts(point->x, point->y, *text); } static consteval int size() { return 0; } }; } // namespace mbuoy #endif // MBUOY_UI_LABEL_HPP