; ***************************************************************************
; copyright   : (C) 2025 by Martin Preuss
; email       : martin@libchipcard.de
;
; ***************************************************************************
; * This file is part of the project "AqHome".                              *
; * Please see toplevel file COPYING of that project for license details.   *
; ***************************************************************************

#ifndef AQH_AVR_FONT_DEFS_ASM
#define AQH_AVR_FONT_DEFS_ASM



.equ FONT_OFFS_HANDLERFN_LOW  =  0  ; pointer to handler fn (word address!)
.equ FONT_OFFS_HANDLERFN_HI   =  1
.equ FONT_OFFS_DATASIZE       =  2  ; one byte used, one byte reserved
.equ FONT_OFFS_WIDTH          =  4
.equ FONT_OFFS_HEIGHT         =  5
.equ FONT_OFFS_FIRSTCHAR      =  6
.equ FONT_OFFS_NUMCHARS       =  7
.equ FONT_OFFS_RESSOURCEID_LO =  8
.equ FONT_OFFS_RESSOURCEID_HI =  9



.equ FONT_FN_RENDER          = 0
.equ FONT_FN_GETCHARWIDTH    = 1
.equ FONT_FN_GETCHARHEIGHT   = 2
.equ FONT_FN_GETSTRINGWIDTH  = 3
.equ FONT_FN_GETSTRINGHEIGHT = 4
.equ FONT_FN_NEXT            = 5



#endif ; AQH_AVR_FONT_DEFS_ASM



