FlatUI
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Enumerations Groups Pages
flatui::LinkInfo Struct Reference

HTML link href, and the location of the link text in FontBuffer. More...

#include <font_buffer.h>

Detailed Description

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.
 

Member Data Documentation

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.


The documentation for this struct was generated from the following file: