fepgattribute

fepgattribute — Attribute to decorate text

Types and Values

Description

Functions

Types and Values

enum FepGAttrType

Members

FEP_G_ATTR_TYPE_UNDERLINE

Decorate with underline

 

FEP_G_ATTR_TYPE_FOREGROUND

Foreground color

 

FEP_G_ATTR_TYPE_BACKGROUND

Background color

 

FEP_G_ATTR_TYPE_NONE

No attribute

 

FEP_G_ATTR_TYPE_STANDOUT

Reverse video

 

FEP_G_ATTR_TYPE_BOLD

Bold

 

FEP_G_ATTR_TYPE_BLINK

Blink

 

enum FepGAttrUnderline

Members

FEP_G_ATTR_UNDERLINE_NONE

No underline

 

FEP_G_ATTR_UNDERLINE_SINGLE

Single underline

 

FEP_G_ATTR_UNDERLINE_DOUBLE

Double underline

 

FEP_G_ATTR_UNDERLINE_LOW

Low underline? FIXME

 

FEP_G_ATTR_UNDERLINE_ERROR

Error underline

 

struct FepGAttribute

struct FepGAttribute {
  FepGAttrType type;
  guint value;
  guint start_index;
  guint end_index;
};

Members

FepGAttrType type;

type of the attribute

 

guint value;

value of the attribute

 

guint start_index;

starting position of the attribute

 

guint end_index;

end position (exclusive) of the attribute