File: xbm.h

package info (click to toggle)
craft 3.5-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 18,000 kB
  • ctags: 1,602
  • sloc: cpp: 3,794; makefile: 2,319; ansic: 857; sh: 385
file content (41 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*======================================================================*/
/*= CHANGES AND UPDATES                                                =*/
/*======================================================================*/
/*= date   person file       subject                                   =*/
/*=--------------------------------------------------------------------=*/
/*=                                                                    =*/
/*= 111094 hua    xbm.h      created                                   =*/
/*=                                                                    =*/
/*======================================================================*/

#include "win.h"

#ifndef xbm_h
#define xbm_h


class xbm
  {public:

     int *data;

     int dx;
     int dy;
 

     xbm       (char name []);
     xbm       (int  dx, int dy);
     ~xbm      ();

     void save (char name []);

     void bit  (int x, int y, int &b);   
     void set  (int x, int y, int b);
    
     int  ind  (int x, int y);

   };


#endif