Gave ordering to all Picture Decorations magic tools
This commit is contained in:
parent
b1bc736f77
commit
e3cb845426
3 changed files with 24 additions and 6 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
By Pere Pujal Carabantes
|
||||
|
||||
Copyright (c) 2009-2023
|
||||
Copyright (c) 2009-2024
|
||||
https://tuxpaint.org/
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -24,7 +24,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 "tp_magic_api.h"
|
||||
|
|
@ -62,6 +62,7 @@ int blind_get_tool_count(magic_api * api);
|
|||
SDL_Surface *blind_get_icon(magic_api * api, int which);
|
||||
char *blind_get_name(magic_api * api, int which);
|
||||
int blind_get_group(magic_api * api, int which);
|
||||
int blind_get_order(int which);
|
||||
char *blind_get_description(magic_api * api, int which, int mode);
|
||||
int blind_requires_colors(magic_api * api, int which);
|
||||
void blind_release(magic_api * api, int which,
|
||||
|
|
@ -131,6 +132,11 @@ int blind_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED
|
|||
return MAGIC_TYPE_PICTURE_DECORATIONS;
|
||||
}
|
||||
|
||||
int blind_get_order(int which ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return 100;
|
||||
}
|
||||
|
||||
char *blind_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue