mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 01:20:17 +00:00
Added all preview stuff in one file.
This commit is contained in:
parent
4d10501801
commit
e17df80151
@ -25,12 +25,22 @@
|
||||
|
||||
#endif
|
||||
|
||||
bool command_enabled_preview_normal(const char *argument)
|
||||
bool command_enabled_preview(const char *argument)
|
||||
{
|
||||
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)
|
||||
{
|
||||
preview_sprite(0);
|
||||
}
|
||||
|
||||
void command_execute_preview_tiled(const char *argument)
|
||||
{
|
||||
preview_sprite(PREVIEW_TILED);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user