#pragma once #include "saura/core/server/server.hpp" #include #include #include #include #include namespace saura { struct Entity { std::string uuid; uint32_t local_tmp_id; std::string title; std::string url; struct { ImVec2 min; ImVec2 max; } rect; }; struct ServerInfo { bool is_connect; }; class UI { private: Entity *current_ent; std::vector entities; ServerInfo server_info; struct { std::weak_ptr server_api_ctx; } deps; public: UI(std::shared_ptr server_api_ctx); ~UI(); void draw(); }; } // namespace saura