Freeciv21
Develop your civilization from humble roots to a global empire
text_tag Struct Reference

Public Attributes

enum text_tag_type type
 
ft_offset_t start_offset
 
ft_offset_t stop_offset
 
union {
   struct {
      char   foreground [MAX_LEN_STR]
 
      char   background [MAX_LEN_STR]
 
   }   color
 
   struct {
      enum text_link_type   type
 
      int   id
 
      char   name [MAX_LEN_STR]
 
   }   link
 
}; 
 

Detailed Description

Definition at line 44 of file featured_text.cpp.

Member Data Documentation

◆ 

union { ... }

◆ background

char text_tag::background[MAX_LEN_STR]

Definition at line 51 of file featured_text.cpp.

◆ 

◆ foreground

char text_tag::foreground[MAX_LEN_STR]

Definition at line 50 of file featured_text.cpp.

◆ id

int text_tag::id

Definition at line 55 of file featured_text.cpp.

◆ 

◆ name

char text_tag::name[MAX_LEN_STR]

Definition at line 56 of file featured_text.cpp.

◆ start_offset

◆ stop_offset

◆ type [1/2]

enum text_link_type text_tag::type

Definition at line 51 of file featured_text.cpp.

◆ type [2/2]