diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 36 |
1 files changed, 28 insertions, 8 deletions
@@ -48,6 +48,7 @@ in this Software without prior written authorization from The Open Group. /** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/ /** OR PERFORMANCE OF THIS SOFTWARE. **/ /*****************************************************************************/ +/* $XFree86: xc/programs/twm/util.h,v 1.7 2001/12/14 20:01:11 dawes Exp $ */ /*********************************************************************** @@ -63,12 +64,33 @@ in this Software without prior written authorization from The Open Group. #ifndef _UTIL_ #define _UTIL_ -extern void Zoom(); -extern void MoveOutline(); -extern Pixmap GetBitmap(), FindBitmap(); -extern void GetUnknownIcon(); -extern char *ExpandFilename(); -extern int GetColor(); +extern void MoveOutline ( Window root, int x, int y, int width, int height, + int bw, int th ); +extern void Zoom ( Window wf, Window wt ); +extern char * ExpandFilename ( char *name ); +extern void GetUnknownIcon ( char *name ); +extern Pixmap FindBitmap ( char *name, unsigned int *widthp, + unsigned int *heightp ); +extern Pixmap GetBitmap ( char *name ); +extern void InsertRGBColormap ( Atom a, XStandardColormap *maps, int nmaps, + Bool replace ); +extern void RemoveRGBColormap ( Atom a ); +extern void LocateStandardColormaps ( void ); +extern void GetColor ( int kind, Pixel *what, char *name ); +extern void GetColorValue ( int kind, XColor *what, char *name ); +extern void GetFont ( MyFont *font ); +extern int MyFont_TextWidth( MyFont *font, char *string, int len); +extern void MyFont_DrawImageString( Display *dpy, Drawable d, MyFont *font, + GC gc, int x, int y, char * string, + int len); +extern void MyFont_DrawString( Display *dpy, Drawable d, MyFont *font, + GC gc, int x, int y, char * string, int len); +extern void MyFont_ChangeGC( unsigned long fix_fore, unsigned long fix_back, + MyFont *fix_font); +extern Status I18N_FetchName( Display *dpy, Window win, char **winname); +extern Status I18N_GetIconName( Display *dpy, Window win, char **iconname); +extern void SetFocus ( TwmWindow *tmp_win, Time time ); +extern void Bell ( int type, int percent, Window win ); extern int HotX, HotY; @@ -90,6 +112,4 @@ extern int HotX, HotY; #define XkbBI_MajorError 2 #endif -extern void Bell(); - #endif /* _UTIL_ */ |