1 /* win32_print.h */ 2 3 /* printing support for Tux Paint */ 4 /* John Popplewell <john@johnnypops.demon.co.uk> */ 5 6 /* Sept. 30, 2002 - Oct. 1, 2002 */ 7 /* $Id$ */ 8 9 10 #ifndef __WIN32_PRINT_H__ 11 #define __WIN32_PRINT_H__ 12 13 #ifndef _SDL_H 14 #include "SDL.h" 15 #endif 16 17 /* if printcfg is NULL, uses the default printer */ 18 extern const char *SurfacePrint(SDL_Surface * surf, const char *printcfg, int showdialog); 19 extern int IsPrinterAvailable(void); 20 21 /* additional windows functions requiring <windows.h> */ 22 extern char *GetDefaultSaveDir(const char *suffix); 23 extern char *GetSystemFontDir(void); 24 extern char *get_temp_fname(const char *const name); 25 26 /* keyboard hooking functions */ 27 extern int InstallKeyboardHook(void); 28 extern int RemoveKeyboardHook(void); 29 extern void SetActivationState(int state); 30 31 #endif 32