; *************************************************************************** ; copyright : (C) 2026 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_BASE_DIALOG_ASM #define AQH_AVR_GUI_BASE_DIALOG_ASM ; *************************************************************************** ; defines ; DIALOG data .equ DIALOG_OFFS_BEGIN = MAINWINDOW_SIZE .equ DIALOG_SIZE = DIALOG_OFFS_BEGIN+0 ; selectors .equ DIALOG_SEL_OKBUTTON = 1 .equ DIALOG_SEL_ABORTBUTTON = 2 .equ DIALOG_SEL_NEXTFREE = 3 ; *************************************************************************** ; code .cseg ; --------------------------------------------------------------------------- ; @routine Dialog_Init @global ; ; @param Y pointer to MainWindow ; @param X pointer to root window ; @param R21:R20 title ressource ; @return CFLAG set of okay, cleared otherwise ; @clobbers any, !Y Dialog_Init: ldi r16, 0 ; OPTS ldi r17, (WIDGET_PACK_FILLED<