pfodParser 3.55.0 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodTouchActionInput.h
Go to the documentation of this file.
1 #ifndef pfodTouchActionInput_h
2 #define pfodTouchActionInput_h
3 /*
4 * (c)2014-2017 Forward Computing and Control Pty. Ltd.
5 * NSW Australia, www.forward.com.au
6 * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
7 * This code may be freely used for both private and commercial use
8 * Provide this copyright is maintained.
9 */
10 #include <stdint.h>
11 #include <Arduino.h>
12 #include "pfodDwgsBase.h"
13
14 class pfodTouchActionInput : public pfodDwgsBase {
15 public:
16 pfodTouchActionInput();
17 pfodTouchActionInput &cmd(const char _cmd); // default ' ' not set
18 pfodTouchActionInput &cmd(const char* _cmdStr); // for multi char cmds
19 pfodTouchActionInput &encode(); // replace restricted chars in prompt
20 pfodTouchActionInput &prompt(const char* txt);
21 pfodTouchActionInput &prompt(const __FlashStringHelper *txtF);
22 pfodTouchActionInput &textIdx(uint16_t _idx);
23 pfodTouchActionInput &textIdx(pfodAutoIdx &a_idx);
24 pfodTouchActionInput &color(int _color); // default WHITE
25 pfodTouchActionInput &backgroundColor(int _color); // default BLACK
26 pfodTouchActionInput &fontSize(int _font); // default 0 = <+0>
27 pfodTouchActionInput &bold();
28 pfodTouchActionInput &italic();
29 pfodTouchActionInput &underline();
30 void init(Print *out, struct VALUES* _values);
31 void send(char _startChar = '|');
32 private:
33 pfodDwgsBase *actionPtr;
34 char actionCmd;
35 const char* actionCmdStr;
36 };
37 #endif // pfodTouchActionInput_h
pfodAutoIdx
Definition: pfodAutoIdx.h:4
pfodDwgsBase
Definition: pfodDwgsBase.h:55
pfodDwgsBase::out
Print * out
Definition: pfodDwgsBase.h:58
pfodTouchActionInput
Definition: pfodTouchActionInput.h:14
pfodTouchActionInput::init
void init(Print *out, struct VALUES *_values)
pfodTouchActionInput::fontSize
pfodTouchActionInput & fontSize(int _font)
pfodTouchActionInput::pfodTouchActionInput
pfodTouchActionInput()
pfodTouchActionInput::textIdx
pfodTouchActionInput & textIdx(uint16_t _idx)
pfodTouchActionInput::italic
pfodTouchActionInput & italic()
pfodTouchActionInput::bold
pfodTouchActionInput & bold()
pfodTouchActionInput::underline
pfodTouchActionInput & underline()
pfodTouchActionInput::color
pfodTouchActionInput & color(int _color)
pfodTouchActionInput::cmd
pfodTouchActionInput & cmd(const char *_cmdStr)
pfodTouchActionInput::textIdx
pfodTouchActionInput & textIdx(pfodAutoIdx &a_idx)
pfodTouchActionInput::backgroundColor
pfodTouchActionInput & backgroundColor(int _color)
pfodTouchActionInput::cmd
pfodTouchActionInput & cmd(const char _cmd)
pfodTouchActionInput::prompt
pfodTouchActionInput & prompt(const __FlashStringHelper *txtF)
pfodTouchActionInput::prompt
pfodTouchActionInput & prompt(const char *txt)
pfodTouchActionInput::encode
pfodTouchActionInput & encode()
pfodTouchActionInput::send
void send(char _startChar='|')
pfodDwgsBase.h
VALUES
Definition: pfodDwgsBase.h:15