ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
TextSpan Struct Reference

One span of a laid-out string, in bytes of the layout string MVC_LayoutText returns: either the characters drawn in color, or a placeholder standing in for icon. More...

#include <Text.h>

Data Fields

SDL_Color color
 
AtlasImage * icon
 
int length
 
int offset
 

Detailed Description

One span of a laid-out string, in bytes of the layout string MVC_LayoutText returns: either the characters drawn in color, or a placeholder standing in for icon.

Definition at line 91 of file Text.h.

Field Documentation

◆ color

SDL_Color TextSpan::color

Definition at line 94 of file Text.h.

◆ icon

AtlasImage* TextSpan::icon

Definition at line 95 of file Text.h.

◆ length

int TextSpan::length

Definition at line 93 of file Text.h.

◆ offset

int TextSpan::offset

Definition at line 92 of file Text.h.


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