Gave ordering to all Picture Warps magic tools
This commit is contained in:
parent
3abf6f75f4
commit
9ce4ee8c50
8 changed files with 75 additions and 14 deletions
|
|
@ -4,7 +4,7 @@
|
|||
Reflection Magic Tool Plugin
|
||||
Tux Paint - A simple drawing program for children.
|
||||
|
||||
Copyright (c) 2021-2023 by Bill Kendrick and others; see AUTHORS.txt
|
||||
Copyright (c) 2021-2024 by Bill Kendrick and others; see AUTHORS.txt
|
||||
bill@newbreedsoftware.com
|
||||
https://tuxpaint.org/
|
||||
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
Last updated: December 29, 2023
|
||||
Last updated: January 16, 2024
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -57,6 +57,7 @@ int reflection_get_tool_count(magic_api * api);
|
|||
SDL_Surface *reflection_get_icon(magic_api * api, int which);
|
||||
char *reflection_get_name(magic_api * api, int which);
|
||||
int reflection_get_group(magic_api * api, int which);
|
||||
int reflection_get_order(int which);
|
||||
char *reflection_get_description(magic_api * api, int which, int mode);
|
||||
void reflection_drag(magic_api * api, int which, SDL_Surface * canvas,
|
||||
SDL_Surface * last, int ox, int oy, int x, int y, SDL_Rect * update_rect);
|
||||
|
|
@ -119,6 +120,11 @@ int reflection_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_U
|
|||
return MAGIC_TYPE_PICTURE_WARPS;
|
||||
}
|
||||
|
||||
int reflection_get_order(int which ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return 400;
|
||||
}
|
||||
|
||||
char *reflection_get_description(magic_api * api ATTRIBUTE_UNUSED,
|
||||
int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue