semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
fc_color_picker.h
1#ifndef _fc_color_picker_
2#define _fc_color_picker_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 114
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~FcColorPicker
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~FcColorPicker()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: FcColorPicker.set
32
33// A graphical color-picker to select a color from a palette and return its RGB value
34
35// Prototype:
36// void FcColorPicker::set(char* refname,char* title,bool reqSel, char* value,char* actBtnTitle);
37
38// Parameters:
44
45// Returns:
47 void set(char* refname,char* title,bool reqSel, char* value,char* actBtnTitle);
48
49// Function: FcColorPicker.get
50
51// return the json script
52
53// Prototype:
54// void FcColorPicker::get();
55
56// Parameters:
57
58// Returns:
60 char* get();
61};
62
63#endif
Definition fc_color_picker.h:7
void set(char *refname, char *title, bool reqSel, char *value, char *actBtnTitle)
Definition fc_color_picker.cpp:20
~FcColorPicker()
Definition fc_color_picker.h:25
char * get()
Definition fc_color_picker.cpp:46