1 #ifndef GONG_UI_FIXEDTEXT_HPP_
2 #define GONG_UI_FIXEDTEXT_HPP_
16 void Position(const glm::vec3 &p) noexcept {
37 void Foreground(const glm::vec4 &col) noexcept { fg = col; }
38 void Background(const glm::vec4 &col) noexcept { bg = col; }
40 void Show() noexcept { visible = true; }
41 void Hide() noexcept { visible = false; }
42 void Toggle() noexcept { visible = !visible; }
43 bool Visible() const noexcept { return visible; }
45 void Render(graphics::Viewport &) noexcept;
51 graphics::Gravity grav;