/** * TODO file description * * Created on 2020/01/05. */ #ifndef REFLOWER_SCENE_NUMBER_H #define REFLOWER_SCENE_NUMBER_H #include struct NumberSceneOpts { char label[15]; char unit[8]; int32_t value; int32_t min; int32_t max; }; /** * Create number picker. * * The result is passed back as status. * * "opts" must be on heap and will be internally mutated. * * @param opts * @return */ struct Scene *NewScene_Number(struct NumberSceneOpts *opts); #endif //REFLOWER_SCENE_NUMBER_H