1 /* 2 * Copyright (c) 2024 Glenn Andrews 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /* Constants for control sizes as a percentage of screen size. */ 8 #define CALC_BTN_WIDTH_PCT 90 9 #define CALC_BTN_HEIGHT_PCT 80 10 #define CALC_RESULT_WIDTH_PCT 70 11 #define CALC_RESULT_OFFSET_PCT 10 12 13 void update_display(const char *output); 14