diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-14 10:32:43 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-14 10:32:43 +0400 |
commit | 7454d939c5ac94b114b1754e899e1395d2473dc9 (patch) | |
tree | 599830486f2f2d46afdb894e9e0826547463de8f /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | 68b8f3b0a84d79ca75e3c4708836be6c83985abe (diff) |
Add partial visibility operator including keymaps and menu items.
Uses HKEY for border hide, CTRL+HKEY for border show, and ALT+HKEY for
show all.
Documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/PartialVisibility
Code review:
http://codereview.appspot.com/5695043
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index bae433bdb55..eb9dbe6eba1 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -168,5 +168,19 @@ struct ListBase *undo_paint_push_get_list(int type); void undo_paint_push_count_alloc(int type, int size); void undo_paint_push_end(int type); -#endif /* __PAINT_INTERN_H__ */ +/* paint_hide.c */ + +typedef enum { + PARTIALVIS_HIDE, + PARTIALVIS_SHOW +} PartialVisAction; + +typedef enum { + PARTIALVIS_INSIDE, + PARTIALVIS_OUTSIDE, + PARTIALVIS_ALL +} PartialVisArea; +void PAINT_OT_hide_show(struct wmOperatorType *ot); + +#endif /* __PAINT_INTERN_H__ */ |