blob: 710cb6af3f9ffa4ad8b29736fbefb6e9661a8958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
static char *dbg_wSize (GtermWidget w)
{
static char b[32];
bzero (b, 32);
sprintf (b, "%dx%dx%d", w->core.width, w->core.height, w->core.depth);
return (b);
}
static char *dbg_visStr (int class)
{
switch (class) {
case StaticGray: return ( "StaticGray" );
case StaticColor: return ( "StaticColor" );
case GrayScale: return ( "GrayScale" );
case PseudoColor: return ( "PseudoColor" );
case TrueColor: return ( "TrueColor" );
default: return ( "unknown" );
}
}
|