(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]

This commit is contained in:
tron
2005-07-19 06:47:07 +00:00
parent 3428e4e4b0
commit bce6f5c0a5
5 changed files with 32 additions and 5 deletions

View File

@@ -9,6 +9,10 @@
#include "gui.h"
#include "screenshot.h"
char _screenshot_format_name[8];
uint _num_screenshot_formats;
uint _cur_screenshot_format;
// called by the ScreenShot proc to generate screenshot lines.
typedef void ScreenshotCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n);
typedef bool ScreenshotHandlerProc(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette);