semilimes mcu sdk
1.0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
fc_text_box.h
1
#ifndef _fc_text_box_
2
#define _fc_text_box_
3
4
#include "../defines.h"
5
6
class
FcTextBox
7
{
8
private
:
9
#define headerSize 87
10
SmeJson json_data;
11
char
* json =
nullptr
;
12
13
public
:
14
// Function: ~FcTextBox
15
16
// distructor of the class, frees up the memory occupied by the array/s
17
18
// Prototype:
19
// ~FcTextBox()
20
21
// Parameters:
22
23
// Returns:
25
~FcTextBox
()
26
{
27
delete
[] json;
28
json =
nullptr
;
29
}
30
31
// Function: FcTextBox.set
32
33
// A text field with a title and a user-editable text field.
34
35
// Prototype:
36
// void FcTextBox::set(char* refname,char* title,char* value,bool reqSel);
37
38
// Parameters:
43
44
// Returns:
46
void
set
(
char
* refname,
char
* title,
char
* value,
bool
reqSel=
false
);
47
48
// Function: FcTextBox.get
49
50
// return the json script
51
52
// Prototype:
53
// void FcTextBox::get();
54
55
// Parameters:
56
57
// Returns:
59
char
*
get
();
60
};
61
62
#endif
FcTextBox
Definition
fc_text_box.h:7
FcTextBox::~FcTextBox
~FcTextBox()
Definition
fc_text_box.h:25
FcTextBox::get
char * get()
Definition
fc_text_box.cpp:44
FcTextBox::set
void set(char *refname, char *title, char *value, bool reqSel=false)
Definition
fc_text_box.cpp:19
github
semilimes_mcu_sdk
src
components
fc_text_box.h
Generated by
1.12.0