Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-01-07 10:04:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-07 10:12:24 +0400
commit4a372102c708ee5a53af5b70a4efec30f2d87b6f (patch)
treeeaade6762caf6c44172f8f871ef114c54385474b /source/blender/blenkernel/BKE_font.h
parenta97180046b447016c683aaececd45f28c8550d03 (diff)
Text3d: move text selection boxes from Curve to EditFont struct
resolves T38079
Diffstat (limited to 'source/blender/blenkernel/BKE_font.h')
-rw-r--r--source/blender/blenkernel/BKE_font.h8
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)