1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#ifndef MwGcs_h
#ifdef __STDC__
extern GC AllocFgGC( Widget w, Pixel fg, Font font) ;
extern GC AllocBackgroundGC( Widget w, Font font) ;
extern GC AllocGreyGC( Widget w, Pixel fg, Font, int, int ) ;
extern GC AllocTopShadowGC( Widget w, int contrast, int ) ;
extern GC AllocBotShadowGC( Widget w, int contrast, int ) ;
extern GC AllocArmGC( Widget w, int contrast, int) ;
extern Pixel AllocShadowPixel(Widget, int scale) ;
extern Pixmap GetGrey50(Widget, Pixmap *);
extern Pixel AllocGreyPixel(Widget, Pixel fg, Pixel bg, int contrast) ;
extern void Draw3dBox(Widget w, int x, int y, int wid, int hgt, int s,
GC topgc, GC botgc) ;
#else
extern GC AllocFgGC() ;
extern GC AllocBackgroundGC() ;
extern GC AllocGreyGC() ;
extern GC AllocTopShadowGC() ;
extern GC AllocBotShadowGC() ;
extern GC AllocArmGC() ;
extern Pixel AllocShadowPixel() ;
extern Pixel AllocGreyPixel() ;
extern void Draw3dBox() ;
#endif
#define MwGcs_h
#endif
|