Scalable Screen Font: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
mNo edit summary |
|||
Line 18: | Line 18: | ||
<source lang="c"> |
<source lang="c"> |
||
#define |
#define SSFN_CONSOLEBITMAP_TRUECOLOR /* use the special renderer for 32 bit truecolor packed pixels */ |
||
#include <ssfn.h> |
#include <ssfn.h> |
||
Line 25: | Line 25: | ||
ssfn_dst.ptr = 0xE0000000; /* framebuffer address and bytes per line */ |
ssfn_dst.ptr = 0xE0000000; /* framebuffer address and bytes per line */ |
||
ssfn_dst.p = 4096; |
ssfn_dst.p = 4096; |
||
ssfn_dst.fg = |
ssfn_dst.fg = 0xFFFFFFFF; /* colors, white on black */ |
||
ssfn_dst.bg = 0; |
ssfn_dst.bg = 0; |
||
ssfn_dst.x = 100; /* coordinates to draw to */ |
ssfn_dst.x = 100; /* coordinates to draw to */ |