semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
fc_slider.h
1#ifndef _fc_slider_
2#define _fc_slider_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: FcSlider
14
15// A slider to let the user select a value by dragging its handle
16
17// Prototype:
18// void FcSlider(char* json);
19
20// Parameters:
22
23// Returns:
25 FcSlider(char* json)
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: FcSlider.setObj
32
33// A slider to let the user select a value by dragging its handle
34
35// Prototype:
36// void FcSlider::setObj(char* refname,char* title,bool reqSel,int value,int min,int max,int step);
37
38// Parameters:
46
47// Returns:
49 void setObj(char* refname,char* title,bool reqSel,int value,int min,int max,int step);
50};
51
52#endif
Definition fc_slider.h:7
void setObj(char *refname, char *title, bool reqSel, int value, int min, int max, int step)
Definition fc_slider.cpp:22
FcSlider(char *json)
Definition fc_slider.h:25