diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 10:16:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 10:19:56 +0300 |
commit | 50a56f566f675b9d298060f368f4a345a7ccd741 (patch) | |
tree | da38ac511b8fdf5e6a452eb0862309c4d149dfa5 /source/blender/editors/transform/transform_draw_cursors.h | |
parent | c5a76447171e263bba6388ff2292cc7f3880bd56 (diff) |
Cleanup: split transform cursor drawing into their own files
Diffstat (limited to 'source/blender/editors/transform/transform_draw_cursors.h')
-rw-r--r-- | source/blender/editors/transform/transform_draw_cursors.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_draw_cursors.h b/source/blender/editors/transform/transform_draw_cursors.h new file mode 100644 index 00000000000..e7696bad5a7 --- /dev/null +++ b/source/blender/editors/transform/transform_draw_cursors.h @@ -0,0 +1,31 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. + * All rights reserved. + */ + +/** \file + * \ingroup edtransform + */ + +#ifndef __TRANSFORM_DRAW_CURSORS_H__ +#define __TRANSFORM_DRAW_CURSORS_H__ + +/* Callbacks for #WM_paint_cursor_activate */ +bool transform_draw_cursor_poll(struct bContext *C); +void transform_draw_cursor_draw(struct bContext *C, int x, int y, void *customdata); + +#endif /* __TRANSFORM_DRAW_CURSORS_H__ */ |