Commit 65e8b7ae authored by Christian Forfang's avatar Christian Forfang

Added tags to struct typedefs (so they can be forward declared).

parent 8ce64144
......@@ -71,7 +71,7 @@ extern "C" {
/**
* Structure in charge of caching fonts.
*/
typedef struct {
typedef struct font_manager_t {
/**
* Texture atlas to hold font glyphs.
*/
......
......@@ -84,7 +84,7 @@ extern "C" {
/**
* Simple structure that describes text properties.
*/
typedef struct
typedef struct markup_t
{
/**
* A font family name such as "normal", "sans", "serif" or "monospace".
......
......@@ -78,7 +78,7 @@ extern "C" {
/**
* Text buffer structure
*/
typedef struct {
typedef struct text_buffer_t {
/**
* Vertex buffer
*/
......@@ -137,7 +137,7 @@ typedef struct {
/**
* Glyph vertex structure
*/
typedef struct {
typedef struct glyph_vertex_t {
/**
* Vertex x coordinates
*/
......
......@@ -95,7 +95,7 @@ extern "C" {
/**
* A texture atlas is used to pack several small regions into a single texture.
*/
typedef struct
typedef struct texture_atlas_t
{
/**
* Allocated nodes
......
......@@ -72,7 +72,7 @@ extern "C" {
* This structure cannot be used alone since the (necessary) right charcode is
* implicitely held by the owner of this structure.
*/
typedef struct
typedef struct kerning_t
{
/**
* Left character code in the kern pair.
......@@ -125,7 +125,7 @@ typedef struct
/**
* A structure that describe a glyph.
*/
typedef struct
typedef struct texture_glyph_t
{
/**
* Wide character this glyph represents
......@@ -216,7 +216,7 @@ typedef struct
/**
* Texture font structure.
*/
typedef struct
typedef struct texture_font_t
{
/**
* Vector of glyphs contained in this font.
......
......@@ -78,7 +78,7 @@ extern "C" {
*
* @memberof vector
*/
typedef struct
typedef struct vector_t
{
/** Pointer to dynamically allocated items. */
void * items;
......
......@@ -196,7 +196,7 @@ extern "C" {
/**
* Generic vertex attribute.
*/
typedef struct
typedef struct vertex_attribute_t
{
/**
* atribute name
......
......@@ -57,7 +57,7 @@ extern "C" {
/**
* Generic vertex buffer.
*/
typedef struct
typedef struct vertex_buffer_t
{
/** Format of the vertex buffer. */
char * format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment