summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
commit22e912f7338ee41bd0f84f4330f4e8bc0c7501d9 (patch)
treebd48cdf361c0881f45d09ce46c478ad8674e87c1 /src/util.h
parentcfa9fa24253b5ef8045172852509be413d7b00ca (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h36
1 files changed, 28 insertions, 8 deletions
diff --git a/src/util.h b/src/util.h
index bfeab2f..0554f4a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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_ */