esp32 firmware for a toaster reflow oven WIP!!!!!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
reflower/main/liquid/liquid.h

30 lines
632 B

/**
* GUI framework
*
* Created on 2020/01/03.
*/
#ifndef LIQUID_H
#define LIQUID_H
#include <stdint.h>
#include <stdbool.h>
#include "input_event.h"
#include "scene_event.h"
#include "scene_type.h"
struct Liquid;
/** return 1 if repaint requested */
bool Liquid_handleInput(struct Liquid *container, struct InputEvent event);
/** return 1 if repaint requested */
bool Liquid_handleTick(struct Liquid *container, uint32_t elapsed_millis);
/** render the active scene */
void Liquid_paint(struct Liquid *container);
/** Initialize the GUI system with a root scene */
struct Liquid *Liquid_start(void);
#endif //LIQUID_H