#include <ycp/y2log.h>#include <time.h>#include <stdlib.h>#include <unistd.h>#include <qapplication.h>#include <qdesktopwidget.h>#include "YQEBunny.h"Classes | |
| struct | q |
Defines | |
| #define | y2log_component "qt-easter-bunny" |
| #define | RANGE(var, min, max) (((var) < (min)) ? (min) : (((var) > (max)) ? (max) : (var))) |
| #define | MY_RAND(range) ((int)(1.0*(range)*rand()/(RAND_MAX+1.0))) |
Functions | |
| static int | in_corner (int x, int y, int xmin, int ymin, int xmax, int ymax) |
| static void | draw_one (YFrameBuffer *fb, int sw, int sh, struct q *a) |
| static void | draw_all (YFrameBuffer *fb, int sw, int sh, struct q *a, int n) |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
1.4.4