From 5c2f7496c3a512885572700a055e4a86cbe764fa Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 6 Apr 2026 01:55:09 +0200 Subject: [PATCH] c03: removed main menu again (use full window for that). --- avr/devices/c03/test/w_mainmenu.asm | 133 ---------------------------- 1 file changed, 133 deletions(-) delete mode 100644 avr/devices/c03/test/w_mainmenu.asm diff --git a/avr/devices/c03/test/w_mainmenu.asm b/avr/devices/c03/test/w_mainmenu.asm deleted file mode 100644 index b5cc8ec..0000000 --- a/avr/devices/c03/test/w_mainmenu.asm +++ /dev/null @@ -1,133 +0,0 @@ -; *************************************************************************** -; 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_W_MAINMENU_ASM -#define AQH_AVR_W_MAINMENU_ASM - - -; *************************************************************************** -; defines - -.equ MAINMENU_OFFS_BEGIN = WIDGET_SIZE -.equ MAINMENU_SIZE = MAINMENU_OFFS_BEGIN+0 - -.equ MAINMENU_SIGNAL_CLIMATE = WIDGET_SIGNAL_NEXTFREE+0 -.equ MAINMENU_SIGNAL_LIGHT = WIDGET_SIGNAL_NEXTFREE+1 -.equ MAINMENU_SIGNAL_WINDOWS = WIDGET_SIGNAL_NEXTFREE+2 -.equ MAINMENU_SIGNAL_DEBUG = WIDGET_SIGNAL_NEXTFREE+3 -.equ MAINMENU_SIGNAL_NEXTFREE = WIDGET_SIGNAL_NEXTFREE+4 - - -.equ MAINMENU_SEL_CLIMATE = 1 -.equ MAINMENU_SEL_LIGHT = 2 -.equ MAINMENU_SEL_WINDOWS = 3 -.equ MAINMENU_SEL_DEBUG = 4 - - -; *************************************************************************** -; code - -.cseg - - - -; --------------------------------------------------------------------------- -; @routine MainMenu_new -; -; @param X pointer to parent window -; @return CFLAG set of okay, cleared otherwise -; @return Y address of newly created object - - -MainMenu_new: - ; create HLayout - ldi r16, 0 ; OPTS - ldi r17, (WIDGET_PACK_FILLED<