File: tabstr.h

package info (click to toggle)
v1 1.20-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,240 kB
  • ctags: 9,439
  • sloc: cpp: 48,033; ansic: 8,939; makefile: 1,369; sh: 30
file content (30 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (5)
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
/*
 *	Functions for drawing String's with tab characters in them
 */

#if (NeedFunctionPrototypes > 0)

extern void	XfwfDrawImageString(Display *display, Drawable drawable,
			GC gc, XFontStruct *font, int x, int y, String string, int length,
			int *tabs, char *underline);
extern void     XfwfDrawString(Display *display, Drawable drawable,
			GC gc, XFontStruct *font, int x, int y, String string, int length,
			int *tabs, char *underline);
extern void	XtabDrawString(Display *display, Drawable drawable, GC gc,
			int x, int y, String string, int length, int *tabs);
extern int *	XfwfTablist2Tabs(char *tablist);
extern int	XfwfTextWidth(XFontStruct *font, String str, int length,
			int *tabs);
extern char *	strnchr(char *s, int c, int n);

#else

extern void	XfwfDrawImageString();
extern void	XfwfDrawString();
extern void	XtabDrawString();
extern int *	XfwfTablist2Tabs();
extern int	XfwfTextWidth();
extern char *	strnchr();

#endif