Created
September 7, 2011 14:53
-
-
Save wasnotrice/1200779 to your computer and use it in GitHub Desktop.
shoes_textcursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // 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