Changeset 171f9a1 in mainline for uspace/srv/fb/fb.c
- Timestamp:
- 2009-04-03T20:39:33Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- cb01e1e
- Parents:
- 7a2c479
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fb/fb.c
r7a2c479 r171f9a1 69 69 #define DEFAULT_FGCOLOR 0x000000 70 70 71 #define GLYPH_UNAVAIL '?' 72 71 73 #define MAX_ANIM_LEN 8 72 74 #define MAX_ANIMATIONS 4 … … 79 81 /** Function to draw a glyph. */ 80 82 typedef void (*dg_t)(unsigned int x, unsigned int y, bool cursor, 81 uint8_t *glyphs, uint 8_t glyph, uint32_t fg_color, uint32_t bg_color);83 uint8_t *glyphs, uint32_t glyph, uint32_t fg_color, uint32_t bg_color); 82 84 83 85 struct { … … 670 672 /* Check glyph range. */ 671 673 if (glyph >= FONT_GLYPHS) 672 return;674 glyph = GLYPH_UNAVAIL; 673 675 674 676 /* … … 734 736 /* Check glyph range. */ 735 737 if (glyph >= FONT_GLYPHS) 736 return;738 glyph = GLYPH_UNAVAIL; 737 739 738 740 /* Pre-render 1x the foreground and background color pixels. */
Note:
See TracChangeset
for help on using the changeset viewer.