FlatUI
An open source project by
FPL.
|
HTML link href, and the location of the link text in FontBuffer. More...
#include <font_buffer.h>
HTML link href, and the location of the link text in FontBuffer.
Public Member Functions | |
LinkInfo (const std::string &link, int32_t start_glyph_index, int32_t end_glyph_index) | |
Public Attributes | |
std::string | link |
Link address. If from HTML, this is the href text. | |
int32_t | start_glyph_index |
int32_t | end_glyph_index |
First glyph not in the link text in the FontBuffer. | |
int32_t flatui::LinkInfo::start_glyph_index |
First glyph for the link text in the FontBuffer holding the rendered html. Call FontBuffer::CalculateBounds(start_glyph_index, end_glyph_index) to get the bounding boxes for the link text.