|
HikoGUI
A low latency retained GUI
|
Public Types | |
| using | super = image_stencil |
Public Types inherited from tt::image_stencil | |
| using | super = stencil |
Public Member Functions | |
| glyph_stencil (alignment alignment, font_glyph_ids glyph) noexcept | |
| void | draw (draw_context context, bool use_context_color=false) noexcept override |
| Draw the cell. | |
Public Member Functions inherited from tt::image_stencil | |
| image_stencil (alignment alignment) | |
Public Member Functions inherited from tt::stencil | |
| stencil (alignment alignment) | |
| stencil (stencil const &) noexcept=delete | |
| stencil (stencil &&) noexcept=delete | |
| stencil & | operator= (stencil const &) noexcept=delete |
| stencil & | operator= (stencil &&) noexcept=delete |
| virtual f32x4 | preferred_extent () noexcept |
| Return the extent that this cell wants to be drawn as. | |
| virtual void | set_layout_parameters (aarect const &rectangle, float base_line_position=std::numeric_limits< float >::infinity()) noexcept |
| Pass layout parameters in local coordinates. | |
Additional Inherited Members | |
Static Public Member Functions inherited from tt::stencil | |
| static std::unique_ptr< class image_stencil > | make_unique (alignment alignment, icon const &icon) |
| static std::unique_ptr< class text_stencil > | make_unique (alignment alignment, std::u8string const &text, text_style const &style) |
| static std::unique_ptr< class label_stencil > | make_unique (alignment alignment, tt::label const &label, text_style const &style) |
|
overridevirtualnoexcept |
Draw the cell.
| context | The current draw context. |
| use_context_color | True to use the colors in the context, False to use the colors in the cell itself. |
Implements tt::stencil.