Skip to content
  • This project
    • Loading...
  • Sign in

Barry / rf-depot

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • rf-depot
  • sw
  • bbplayer
  • bbapps
  • boot
  • ui
  • font.h
  • root's avatar
    initial commit · bc83a1ad
    bc83a1ad
    root committed 2020-05-02 05:58:04 +0000
font.h 334 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * Simple font definition, including method for translating font into sprite
 */
#ifndef _FONT_H_
#define _FONT_H_
#include <PR/sp.h>

typedef struct {
    int width;
    int height;
    char *index_string;
    Bitmap *bitmaps;
    char *img;
} Font;

int drawString(char *s, Font *font, int width, int height, Sprite *sp);
#endif