Skip to content

Instantly share code, notes, and snippets.

@wasnotrice
Created September 7, 2011 14:53
Show Gist options
  • Select an option

  • Save wasnotrice/1200779 to your computer and use it in GitHub Desktop.

Select an option

Save wasnotrice/1200779 to your computer and use it in GitHub Desktop.
shoes_textcursor
//
// text cursor
//
typedef struct {
int pos, x, y, hi;
} shoes_textcursor;
//
// text block struct
//
typedef struct {
VALUE parent;
VALUE attr;
shoes_place place;
VALUE texts;
VALUE links;
shoes_textcursor *cursor;
PangoLayout *layout;
PangoAttrList *pattr;
GString *text;
guint len;
char cached, hover;
shoes_transform *st;
} shoes_textblock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment