include/mb_X_supp.h File Reference

#include <X11/Xlib.h>
#include "mb_types.h"
#include "mb_timer.h"
#include "mb_redraw_man.h"

Go to the source code of this file.

Classes

struct  _X_kb_event

Typedefs

typedef struct _X_MB_runtime X_MB_runtime_t
typedef struct _X_kb_info X_kb_info_t
typedef struct _X_kb_event X_kb_event_t

Functions

void X_MB_handle_connection (X_MB_runtime_t *rt)
 Handle connection coming data and timeout of timers.
X_MB_runtime_tX_MB_new (const char *display_name, int w, int h)
void X_MB_free (X_MB_runtime_t *xmb_rt)
subject_tX_MB_kbevents (X_MB_runtime_t *xmb_rt)
redraw_man_tX_MB_rdman (X_MB_runtime_t *xmb_rt)
mb_tman_tX_MB_tman (X_MB_runtime_t *xmb_rt)
ob_factory_tX_MB_ob_factory (X_MB_runtime_t *xmb_rt)


Typedef Documentation

typedef struct _X_MB_runtime X_MB_runtime_t

Definition at line 23 of file mb_X_supp.h.


Function Documentation

void X_MB_free ( X_MB_runtime_t xmb_rt  ) 

Definition at line 475 of file X_supp.c.

void X_MB_handle_connection ( X_MB_runtime_t rt  ) 

Handle connection coming data and timeout of timers.

Parameters:
display is a Display returned by XOpenDisplay().
rdman is a redraw manager.
tman is a timer manager.
The display is managed by specified rdman and tman. rdman draws on the display, and tman trigger actions according timers.

Definition at line 299 of file X_supp.c.

subject_t* X_MB_kbevents ( X_MB_runtime_t xmb_rt  ) 

Definition at line 480 of file X_supp.c.

X_MB_runtime_t* X_MB_new ( const char *  display_name,
int  w,
int  h 
)

Definition at line 460 of file X_supp.c.

ob_factory_t* X_MB_ob_factory ( X_MB_runtime_t xmb_rt  ) 

Definition at line 492 of file X_supp.c.

redraw_man_t* X_MB_rdman ( X_MB_runtime_t xmb_rt  ) 

Definition at line 484 of file X_supp.c.

mb_tman_t* X_MB_tman ( X_MB_runtime_t xmb_rt  ) 

Definition at line 488 of file X_supp.c.

SourceForge.net Logo