MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
TextRow.hpp File Reference
+ Include dependency graph for TextRow.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Buffers
 
namespace  MayaFlux::Portal
 
namespace  MayaFlux::Portal::Forma
 
namespace  MayaFlux::Portal::Forma::internal
 

Functions

std::pair< uint32_t, std::shared_ptr< Element > > MayaFlux::Portal::Forma::internal::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.
 
void MayaFlux::Portal::Forma::internal::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 MayaFlux::Portal::Forma::internal::row_caption (std::string_view label)
 Caption drawn for a row labelled label.
 
glm::vec4 MayaFlux::Portal::Forma::internal::row_hover_color ()
 
glm::vec4 MayaFlux::Portal::Forma::internal::row_idle_color ()
 
Text::PressParams MayaFlux::Portal::Forma::internal::row_press_params (glm::uvec2 dims, glm::vec4 background)
 White text over background, laid out at dims pixels.