Back to index

im-sdk  12.3.91
xaux_ext_common.h
Go to the documentation of this file.
00001 #ifndef       XAUX_EXT_COMMON_H
00002 #define       XAUX_EXT_COMMON_H
00003 
00004 typedef enum aux_ext_data_type_enum {
00005        AUX_EXT_DATA_NONE = 0,
00006        AUX_EXT_DATA_START = 1,
00007        AUX_EXT_DATA_DRAW = 2,
00008        AUX_EXT_DATA_DONE = 3,
00009        AUX_EXT_DATA_SETVALUE = 4
00010 } aux_ext_data_type_t;
00011 
00012 typedef struct aux_ext_string_struct {
00013        int           length;
00014        unsigned char *      ptr;
00015 } aux_ext_string_t;
00016 
00017 typedef struct aux_ext_data_struct {
00018        aux_ext_data_type_t  type;
00019        int           im;
00020        int           ic;
00021        int           aux_index;
00022        int           aux_name_length;
00023        unsigned char *      aux_name;
00024        int           integer_count;
00025        int *         integer_list;
00026        int           string_count;
00027        aux_ext_string_t *   string_list;
00028        unsigned char *      string_ptr;
00029        Window        clientwin;
00030        Window        focuswin;
00031        XPoint        point;
00032 } aux_ext_data_t;
00033 
00034 extern Bool xaux_ext_init_classes(Display  *, xaux_class_t *, Window);
00035 extern Bool xaux_ext_process_client_message(Display *, XClientMessageEvent *);
00036 
00037 extern xaux_class_t xaux_class;
00038 extern Bool xaux_ext_Start(xaux_class_t *, aux_ext_data_t *, Atom atom);
00039 extern Bool xaux_ext_Draw(xaux_class_t *, aux_ext_data_t *, Atom atom);
00040 extern Bool xaux_ext_Done(xaux_class_t *, aux_ext_data_t *, Atom atom);
00041 
00042 #endif /* !XAUX_EXT_COMMON_H */