2020-06-01 21:45:36 +02:00
|
|
|
/* Reflow Oven Controller
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Mario Hüttel <mario.huettel@gmx.net>
|
|
|
|
*
|
|
|
|
* This file is part of the Reflow Oven Controller Project.
|
|
|
|
*
|
|
|
|
* The reflow oven controller is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* The Reflow Oven Control Firmware is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with the reflow oven controller project.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2020-11-29 19:01:24 +01:00
|
|
|
#ifndef _GUI_H_
|
|
|
|
#define _GUI_H_
|
2020-06-01 21:45:36 +02:00
|
|
|
|
2021-05-22 11:34:33 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-06-12 01:35:37 +02:00
|
|
|
/**
|
|
|
|
* @brief Handle the reflow controller's LCD Menu
|
2020-06-14 01:31:44 +02:00
|
|
|
* @return 0 if no delay is requested, 1 if delay is requested
|
2020-06-12 01:35:37 +02:00
|
|
|
*/
|
2020-11-29 19:01:24 +01:00
|
|
|
int gui_handle(void);
|
2020-06-12 01:35:37 +02:00
|
|
|
|
2020-11-29 19:01:24 +01:00
|
|
|
void gui_init(void);
|
2020-06-12 01:35:37 +02:00
|
|
|
|
2021-05-22 00:14:56 +02:00
|
|
|
void gui_root_menu_message_set(const char *heading, const char *text);
|
|
|
|
|
2021-05-22 11:34:33 +02:00
|
|
|
void gui_lcd_write_direct_blocking(uint8_t line, const char *text);
|
|
|
|
|
2020-11-29 19:01:24 +01:00
|
|
|
#endif /* _GUI_H_ */
|