tuxpaint-pencil-sharpener/src/win32_print.h
John Popplewell a85bc639be WIN32 only:
Change use_print_config (printcfg) default to be yes.
Create the 'lockfile.dat' in the users local temporary directory, usually:
'C:\Documents and Settings\<USER NAME>\Local Settings\Temp\'. This allows
the use of a shared 'savedir' without messing up the lockfile.
2007-04-28 02:52:11 +00:00

27 lines
645 B
C

/* win32_print.h */
/* printing support for Tux Paint */
/* John Popplewell <john@johnnypops.demon.co.uk> */
/* Sept. 30, 2002 - Oct. 1, 2002 */
/* $Id$ */
#ifndef __WIN32_PRINT_H__
#define __WIN32_PRINT_H__
#ifndef _SDL_H
#include "SDL.h"
#endif
/* if printcfg is NULL, uses the default printer */
extern const char *SurfacePrint(SDL_Surface * surf,
const char *printcfg, int showdialog);
extern int IsPrinterAvailable(void);
/* additional windows functions requiring <windows.h> */
extern char *GetDefaultSaveDir(const char *suffix);
extern char *GetSystemFontDir(void);
extern char *get_temp_fname(const char *const name);
#endif