22 |
#define BUBBLEMON_H |
#define BUBBLEMON_H |
23 |
|
|
24 |
#include <sys/types.h> |
#include <sys/types.h> |
25 |
|
#include "config.h" |
26 |
|
|
27 |
/* How fast do the bubbles rise? */ |
/* How fast do the bubbles rise? */ |
28 |
#define GRAVITY -0.01 |
#define GRAVITY -0.01 |
40 |
/* How fast are the water levels allowed to move? */ |
/* How fast are the water levels allowed to move? */ |
41 |
#define SPEED_LIMIT 1.0 |
#define SPEED_LIMIT 1.0 |
42 |
|
|
43 |
|
/* How much newly created bubbles make the surface ripple */ |
44 |
|
#define RIPPLES 0.2 |
45 |
|
|
46 |
/* The applet's dimensions */ |
/* The applet's dimensions */ |
47 |
#define RELATIVE_WIDTH 32 |
#define RELATIVE_WIDTH 32 |
48 |
#define RELATIVE_HEIGHT 40 |
#define RELATIVE_HEIGHT 40 |
168 |
/* Return a suitable tool tip */ |
/* Return a suitable tool tip */ |
169 |
extern const char *bubblemon_getTooltip(void); |
extern const char *bubblemon_getTooltip(void); |
170 |
|
|
171 |
|
/* Must be called at the very start of the program */ |
172 |
|
extern void bubblemon_init(void); |
173 |
|
|
174 |
|
/* Should be called at shutdown */ |
175 |
|
extern void bubblemon_done(void); |
176 |
|
|
177 |
#endif |
#endif |