/[adonthell]/adonthell-0.3/src/win_font.h
ViewVC logotype

Diff of /adonthell-0.3/src/win_font.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by ksterker, Sun Feb 23 23:14:34 2003 UTC revision 1.15 by ksterker, Mon Oct 25 06:55:01 2004 UTC
# Line 17  Line 17 
17  #include <stdlib.h>  #include <stdlib.h>
18  #include <string.h>  #include <string.h>
19    
20    #if __GNUG__ > 2
21    #include <ext/hash_map>
22    using __gnu_cxx::hash_map;
23    #else
24    #include <hash_map>
25    #endif
26    
27  #include "win_types.h"  #include "win_types.h"
28  #include "image.h"  #include "image.h"
29    
30    using namespace std;
31    
32  class win_font{  class win_font{
33    
34   private:   protected:
35    void erase();    void erase();
   void init_in_table();  
36        
37    bool table_core[WIN_NB_TABLE_CHAR];    hash_map<u_int16, image*> glyphs;
   
   image * table;    
38        
39    u_int8 height_;    u_int8 height_;
40    u_int8 length_; //just for space bar    u_int8 length_; //just for space bar
# Line 43  class win_font{ Line 47  class win_font{
47        
48    win_font();    win_font();
49        
50    ~win_font();    virtual ~win_font();
51        
52    void load(char *);    void load(char *);
53        
54    //  void load_font(char *);    //  void load_font(char *);
55        
56    bool in_table(u_int16 tmp);    virtual bool in_table(u_int16 tmp);
57        
58    image & operator[](int);    virtual image & operator[](u_int16);
59        
60    //win_font & operator=(win_font &);    //win_font & operator=(win_font &);
61        

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26