File: x_im_status_screen.h

package info (click to toggle)
mlterm 2.9.4-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 16,728 kB
  • ctags: 5,338
  • sloc: ansic: 74,649; sh: 8,532; cpp: 1,451; makefile: 1,126; perl: 496; sed: 16
file content (45 lines) | stat: -rw-r--r-- 1,134 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
/*
 *	$Id: x_im_status_screen.h,v 1.1 2004/10/06 05:26:14 seiichi Exp $
 */

#ifndef  __X_IM_STATUS_SCREEN_H__
#define  __X_IM_STATUS_SCREEN_H__

#include  "x_window.h"
#include  "x_window_manager.h"

typedef struct x_im_status_screen
{
	x_window_t  window ;

	x_font_manager_t *  font_man ;	/* is the same as attaced screen */

	x_color_manager_t *  color_man ;/* is the same as attaced screen */

	ml_char_t *  chars ;
	u_int  num_of_chars ; /* == array size */
	u_int  filled_len ;

	u_int  is_focused ;

	int  is_vertical ;

	/*
	 * methods of x_im_status_screen_t which is called from im
	 */
	int (*delete)( struct x_im_status_screen *) ;
	int (*show)( struct x_im_status_screen *) ;
	int (*hide)( struct x_im_status_screen *) ;
	int (*set_spot)( struct x_im_status_screen * , int  , int) ;
	int (*set)( struct x_im_status_screen * , mkf_parser_t * , u_char *) ;

} x_im_status_screen_t ;

x_im_status_screen_t * x_im_status_screen_new( x_window_manager_t *  win_man ,
					       x_font_manager_t *  font_man ,
					       x_color_manager_t *  color_man ,
					       int  is_vertical ,
					       int  x , int  y) ;

#endif