/** * GUI framework * * Created on 2020/01/03. */ #ifndef LIQUID_H #define LIQUID_H #include #include #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); /** 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