diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-23 17:43:25 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-23 17:43:25 +0300 |
commit | 66437a62a73966de8ccb673473ba69d6c1ed66a3 (patch) | |
tree | 6b200663643b67dea804e8b9805abf128a010493 /source/blender/makesdna/DNA_curve_types.h | |
parent | f4133b730c93f6db985b6751d18b72ea7f429c34 (diff) |
2.5
Font object + editing back.
Was quite some work due to a myriad of globals all over!
Works nicely 100% local now.
To enable a single textedit operator, I've added a new
keymap entry KM_TEXTEDIT, which gives all keyboard events
to the handler. Also had to add a new keymap-add function
to force a keymap handler in beginning of region handlers.
In future this can be used to prioritize handlers.
Also: split off the arrow keys (frame change) to a separate
region level handler. Can be set with default flag in
regiontype->keymapflag ED_KEYMAP_FRAMES
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index bde65329371..992b8907ba7 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -46,6 +46,8 @@ struct Key; struct Material; struct VFont; struct AnimData; +struct SelBox; +struct EditFont; /* These two Lines with # tell makesdna this struct can be excluded. */ # @@ -180,7 +182,9 @@ typedef struct Curve { float linewidth; char *str; - char *editstr; + struct SelBox *selboxes; + struct EditFont *editfont; + char family[24]; struct VFont *vfont; struct VFont *vfontb; |