git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

SDL/font.h

      1 #pragma once
      2 
      3 #include <stdint.h>
      4 extern uint8_t font[];
      5 extern const uint8_t font_max;
      6 #define GLYPH_HEIGHT 8
      7 #define GLYPH_WIDTH 6
      8 #define LEFT_ARROW_STRING "\x86"
      9 #define RIGHT_ARROW_STRING "\x7F"
     10 #define SELECTION_STRING RIGHT_ARROW_STRING
     11 #define CTRL_STRING "\x80\x81\x82"
     12 #define SHIFT_STRING "\x83"
     13 #define ALT_STRING "\x91\x92"
     14 #define CMD_STRING "\x84\x85"
     15 #define ELLIPSIS_STRING "\x87"
     16 #define MOJIBAKE_STRING "\x88"
     17 #define SLIDER_STRING "\x89\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8F\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8B"
     18 #define TICKLESS_SLIDER_STRING "\x89\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8A\x8B"
     19 #define SELECTED_SLIDER_STRING "\x8C\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8D\x8E"
     20 #define COPYRIGHT_STRING "\x90"
     21 #define CHECKBOX_OFF_STRING "\x93"
     22 #define CHECKBOX_ON_STRING "\x94"

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.