; ***************************************************************************
; 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_GUI_DEFS_ASM
#define AQH_AVR_GUI_DEFS_ASM


.equ WINRECT_OFFS_X_LO      =  0
.equ WINRECT_OFFS_X_HI      =  1
.equ WINRECT_OFFS_Y_LO      =  2
.equ WINRECT_OFFS_Y_HI      =  3
.equ WINRECT_OFFS_WIDTH_LO  =  4
.equ WINRECT_OFFS_WIDTH_HI  =  5
.equ WINRECT_OFFS_HEIGHT_LO =  6
.equ WINRECT_OFFS_HEIGHT_HI =  7
.equ WINRECT_SIZE           =  8



.equ WIN_OFFS_X_LO       =  0
.equ WIN_OFFS_X_HI       =  1
.equ WIN_OFFS_Y_LO       =  2
.equ WIN_OFFS_Y_HI       =  3
.equ WIN_OFFS_WIDTH_LO   =  4
.equ WIN_OFFS_WIDTH_HI   =  5
.equ WIN_OFFS_HEIGHT_LO  =  6
.equ WIN_OFFS_HEIGHT_HI  =  7
.equ WIN_OFFS_BG_COL_LO  =  8
.equ WIN_OFFS_BG_COL_HI  =  9
.equ WIN_OFFS_FG_COL_LO  = 10
.equ WIN_OFFS_FG_COL_HI  = 11
.equ WIN_OFFS_FONT_LO    = 12  ;byte address!
.equ WIN_OFFS_FONT_HI    = 13
.equ WIN_SIZE            = 14



.equ WIN_EVENT_DESTROY   = 1
.equ WIN_EVENT_SHOW      = 2
.equ WIN_EVENT_HIDE      = 3
.equ WIN_EVENT_DRAW      = 4
.equ WIN_EVENT_TIMER     = 5


#endif

