#include <stdio.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/select.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <cairo.h>
#include <cairo-xlib.h>
#include <string.h>
#include "mb_shapes.h"
#include "mb_redraw_man.h"
#include "mb_paint.h"
#include "mb_timer.h"
#include "mb_animate.h"
Go to the source code of this file.
Defines | |
#define | OK 0 |
#define | ERR -1 |
Functions | |
void | hint_shape (redraw_man_t *rdman, shape_t *shape) |
void | event_interaction (Display *display, redraw_man_t *rdman, int w, int h) |
void | handle_connection (Display *display, mb_tman_t *tman, redraw_man_t *rdman, int w, int h) |
void | draw_path (cairo_t *cr, int w, int h) |
void | drawing (cairo_surface_t *surface, int w, int h) |
int | main (int argc, char *const argv[]) |
Variables | |
Display * | display |
Window | win |
void event_interaction | ( | Display * | display, | |
redraw_man_t * | rdman, | |||
int | w, | |||
int | h | |||
) |
void handle_connection | ( | Display * | display, | |
mb_tman_t * | tman, | |||
redraw_man_t * | rdman, | |||
int | w, | |||
int | h | |||
) |
void hint_shape | ( | redraw_man_t * | rdman, | |
shape_t * | shape | |||
) |