MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::internal Namespace Reference

Classes

class  Atelier
 Process-wide Forma workshop. More...
 
class  TextSlice
 Text drawn as glyph quads into one FormaTarget. More...
 

Functions

std::pair< uint32_t, std::shared_ptr< Element > > add_text_row (Surface &surface, std::string_view label, Kinesis::AABB2D bounds, glm::uvec2 dims, const std::shared_ptr< Buffers::FormaBuffer > &batch={})
 Register a clickable text row on surface.
 
Atelier & atelier ()
 Accessor for the process-wide Atelier.
 
void hover_text_row (Surface &surface, uint32_t id, const std::shared_ptr< Element > &row, std::string_view label, const std::shared_ptr< glm::uvec2 > &dims)
 Highlight a row's background while the cursor is over it.
 
std::string row_caption (std::string_view label)
 Caption drawn for a row labelled label.
 
glm::vec4 row_hover_color ()
 
glm::vec4 row_idle_color ()
 
Text::PressParams row_press_params (glm::uvec2 dims, glm::vec4 background)
 White text over background, laid out at dims pixels.
 

Variables

constexpr size_t k_capacity_bytes = 4096