/[rdesktop]/sourceforge.net/trunk/rdesktop/cache.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/cache.c

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

revision 16 by matty, Thu Sep 28 07:04:14 2000 UTC revision 20 by matty, Mon Oct 16 07:37:52 2000 UTC
# Line 85  FONTGLYPH *cache_get_font(uint8 font, ui Line 85  FONTGLYPH *cache_get_font(uint8 font, ui
85  }  }
86    
87  /* Store a glyph in the font cache */  /* Store a glyph in the font cache */
88  void cache_put_font(uint8 font, uint32 character, uint16 baseline,  void cache_put_font(uint8 font, uint16 character, uint16 offset,
89                      uint16 width, uint16 height, HGLYPH pixmap)                  uint16 baseline, uint16 width, uint16 height, HGLYPH pixmap)
90  {  {
91          FONTGLYPH *glyph;          FONTGLYPH *glyph;
92    
# Line 97  void cache_put_font(uint8 font, uint32 c Line 97  void cache_put_font(uint8 font, uint32 c
97                  if (glyph->pixmap != NULL)                  if (glyph->pixmap != NULL)
98                          ui_destroy_glyph(glyph->pixmap);                          ui_destroy_glyph(glyph->pixmap);
99    
100                    glyph->offset = offset;
101                  glyph->baseline = baseline;                  glyph->baseline = baseline;
102                  glyph->width = width;                  glyph->width = width;
103                  glyph->height = height;                  glyph->height = height;

Legend:
Removed from v.16  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26