i3
Public Types | Data Fields
Font Struct Reference

Data structure for cached font information: More...

#include <libi3.h>

Public Types

enum  { FONT_TYPE_NONE = 0, FONT_TYPE_XCB, FONT_TYPE_PANGO }
 The type of font. More...
 

Data Fields

enum Font:: { ... }  type
 
int height
 The height of the font, built from font_ascent + font_descent. More...
 
char * pattern
 The pattern/name used to load the font. More...
 
union {
   struct {
      xcb_font_t   id
 The xcb-id for the font. More...
 
      xcb_query_font_reply_t *   info
 Font information gathered from the server. More...
 
      xcb_charinfo_t *   table
 Font table for this font (may be NULL) More...
 
   }   xcb
 
specific
 

Detailed Description

Data structure for cached font information:

Definition at line 39 of file libi3.h.

Member Enumeration Documentation

anonymous enum

The type of font.

Enumerator
FONT_TYPE_NONE 
FONT_TYPE_XCB 
FONT_TYPE_PANGO 

Definition at line 41 of file libi3.h.

Field Documentation

int Font::height

The height of the font, built from font_ascent + font_descent.

Definition at line 48 of file libi3.h.

Referenced by handle_client_message(), open_popups(), and render_deco_height().

xcb_font_t Font::id

The xcb-id for the font.

Definition at line 56 of file libi3.h.

xcb_query_font_reply_t* Font::info

Font information gathered from the server.

Definition at line 59 of file libi3.h.

char* Font::pattern

The pattern/name used to load the font.

Definition at line 51 of file libi3.h.

Referenced by handle_key_press(), and parse_file().

union { ... } Font::specific
xcb_charinfo_t* Font::table

Font table for this font (may be NULL)

Definition at line 62 of file libi3.h.

enum { ... } Font::type

Referenced by load_configuration().

struct { ... } Font::xcb

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