File: x_sample_sb_view_lib.h

package info (click to toggle)
mlterm 3.3.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 21,204 kB
  • ctags: 9,659
  • sloc: ansic: 125,933; sh: 9,668; java: 2,310; makefile: 1,783; perl: 1,603; cpp: 1,101; xml: 42; sed: 16
file content (46 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (3)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 *	$Id$
 */

#ifndef  __X_SAMPLE_SB_VIEW_LIB_H__
#define  __X_SAMPLE_SB_VIEW_LIB_H__


#include  <x_sb_view.h>


typedef struct  sample_sb_view
{
	x_sb_view_t  view ;

	GC  gc ;

	unsigned long  black_pixel ;
	unsigned long  white_pixel ;

	Pixmap  arrow_up ;
	Pixmap  arrow_up_dent ;
	Pixmap  arrow_down ;
	Pixmap  arrow_down_dent ;

} sample_sb_view_t ;


Pixmap  x_get_icon_pixmap( x_sb_view_t *  view ,
	GC  gc ,
#ifdef  USE_WIN32GUI
	GC  memgc ,
#endif
	char **  data , unsigned int  width , unsigned int  height , unsigned int  depth ,
	unsigned long  black , unsigned long  white) ;

int  x_draw_icon_pixmap_fg( x_sb_view_t *  view ,
#ifdef  USE_WIN32GUI
	GC  gc ,
#else
	Pixmap  arrow ,
#endif
	char **  data , unsigned int  width , unsigned int  height) ;


#endif