ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/crossedit/Bitmaps.c
Revision: 1.2
Committed: Sun Aug 13 17:16:01 2006 UTC (17 years, 9 months ago) by elmex
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

File Contents

# User Rev Content
1 root 1.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