| 1 |
#include "Posix.h" |
| 2 |
#include "Bitmaps.h" |
| 3 |
#include "./bitmaps/edit.bm" |
| 4 |
#include "./bitmaps/mark.bm" |
| 5 |
#include "./bitmaps/notify.bm" |
| 6 |
|
| 7 |
Bitmaps bitmaps; |
| 8 |
|
| 9 |
void BitmapsCreate(Display *d) |
| 10 |
{ |
| 11 |
bitmaps.edit = XCreateBitmapFromData |
| 12 |
(d,DefaultRootWindow(d), |
| 13 |
(char*)edit_bits, |
| 14 |
edit_width, |
| 15 |
edit_height); |
| 16 |
bitmaps.mark = XCreateBitmapFromData |
| 17 |
(d,DefaultRootWindow(d), |
| 18 |
(char*)mark_bits, |
| 19 |
mark_width, |
| 20 |
mark_height); |
| 21 |
bitmaps.notify = XCreateBitmapFromData |
| 22 |
(d,DefaultRootWindow(d), |
| 23 |
(char*)notify_bits, |
| 24 |
notify_width, |
| 25 |
notify_height); |
| 26 |
} |
| 27 |
|