mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-31 16:20:22 +00:00
Added all preview stuff in one file.
This commit is contained in:
parent
4d10501801
commit
e17df80151
@ -25,12 +25,22 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool command_enabled_preview_normal(const char *argument)
|
bool command_enabled_preview(const char *argument)
|
||||||
{
|
{
|
||||||
return current_sprite != NULL;
|
return current_sprite != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void command_execute_preview_fit_to_screen(const char *argument)
|
||||||
|
{
|
||||||
|
preview_sprite(PREVIEW_FIT_ON_SCREEN);
|
||||||
|
}
|
||||||
|
|
||||||
void command_execute_preview_normal(const char *argument)
|
void command_execute_preview_normal(const char *argument)
|
||||||
{
|
{
|
||||||
preview_sprite(0);
|
preview_sprite(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void command_execute_preview_tiled(const char *argument)
|
||||||
|
{
|
||||||
|
preview_sprite(PREVIEW_TILED);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user