diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-02 12:15:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-02 12:22:29 +0300 |
commit | dc4ded855a23eaee359caed32f6b2cbaab4b56e0 (patch) | |
tree | 0a858ce64bd76d790874364eba3d6887d7984311 /source/blender/editors/manipulator_library/manipulator_library_intern.h | |
parent | 1b51c34e8bcfcc4fb618e2a456bd641045886d51 (diff) |
Manipulator: Make cage2d usable in the 3D view
Diffstat (limited to 'source/blender/editors/manipulator_library/manipulator_library_intern.h')
-rw-r--r-- | source/blender/editors/manipulator_library/manipulator_library_intern.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/manipulator_library/manipulator_library_intern.h b/source/blender/editors/manipulator_library/manipulator_library_intern.h index ce71017e7bc..a22afda8730 100644 --- a/source/blender/editors/manipulator_library/manipulator_library_intern.h +++ b/source/blender/editors/manipulator_library/manipulator_library_intern.h @@ -87,8 +87,11 @@ void manipulator_property_value_reset( void manipulator_color_get( const struct wmManipulator *mpr, const bool highlight, - float r_col[]); + float r_color[4]); +bool manipulator_window_project_2d( + bContext *C, const struct wmManipulator *mpr, const float mval[2], int axis, bool use_offset, + float r_co[2]); /* -------------------------------------------------------------------- */ /* Manipulator drawing */ |