diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_font.h')
-rw-r--r-- | source/blender/blenkernel/BKE_font.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_font.h b/source/blender/blenkernel/BKE_font.h index 769771363ec..d7c40e8e719 100644 --- a/source/blender/blenkernel/BKE_font.h +++ b/source/blender/blenkernel/BKE_font.h @@ -53,18 +53,20 @@ struct CharTrans { char dobreak; }; -typedef struct SelBox { +typedef struct EditFontSelBox { float x, y, w, h; float rot; -} SelBox; +} EditFontSelBox; -typedef struct EditFont { +typedef struct EditFont { wchar_t *copybuf; struct CharInfo *copybufinfo; wchar_t *textbuf; struct CharInfo *textbufinfo; + /* array of rectangles & rotation */ + EditFontSelBox *selboxes; float textcurs[4][2]; /* positional vars relative to the textbuf, textbufinfo (not utf8 bytes) |