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.
33 lines
531 B
33 lines
531 B
5 years ago
|
/**
|
||
|
* TODO file description
|
||
|
*
|
||
|
* Created on 2020/01/05.
|
||
|
*/
|
||
|
|
||
|
#ifndef REFLOWER_SCENE_NUMBER_H
|
||
|
#define REFLOWER_SCENE_NUMBER_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
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
|