Like so --
find . -name "*.c" -or -name "*.h" -exec indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;
The `indent` invocation differs from the last one noted in
CHANGES.txt (from 2006!?), in that I've added "--no-tabs",
to ensure indents are all space-based.
32 lines
846 B
C
32 lines
846 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_Window * window, 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);
|
|
|
|
/* keyboard hooking functions */
|
|
extern int InstallKeyboardHook(void);
|
|
extern int RemoveKeyboardHook(void);
|
|
extern void SetActivationState(int state);
|
|
|
|
#endif
|