NeoNextion
Arduino library for the Nextion displays.
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
NextionSlidingText.h
Go to the documentation of this file.
1
3
#ifndef __NEONEXTION_NEXTIONSLIDINGTEXT
4
#define __NEONEXTION_NEXTIONSLIDINGTEXT
5
6
#include "
Nextion.h
"
7
#include "
INextionTouchable.h
"
8
#include "
INextionColourable.h
"
9
#include "
INextionStringValued.h
"
10
#include "
INextionFontStyleable.h
"
11
16
class
NextionSlidingText
:
public
INextionTouchable
,
17
public
INextionColourable
,
18
public
INextionStringValued
,
19
public
INextionFontStyleable
20
{
21
public
:
25
NextionSlidingText
(
Nextion
&nex, uint8_t page, uint8_t component,
26
const
char
*name);
27
28
bool
setScrolling(
bool
scroll);
29
bool
isScrolling();
30
31
bool
setScrollDirection(
NextionScrollDirection
direction);
32
NextionScrollDirection
getScrollDirection();
33
34
bool
setScrollDistance(uint32_t distance);
35
uint32_t getScrollDistance();
36
37
bool
setScrollDelay(uint32_t delay);
38
uint32_t getScrollDelay();
39
};
40
41
#endif
INextionStringValued
Interface for widgets that hold a string value.
Definition:
INextionStringValued.h:16
INextionTouchable.h
NextionSlidingText
Represents a sliding text widget.
Definition:
NextionSlidingText.h:16
INextionStringValued.h
INextionTouchable
Interface for widgets that can be touched.
Definition:
INextionTouchable.h:15
INextionColourable
Interface for widgets that can be coloured.
Definition:
INextionColourable.h:14
Nextion.h
INextionColourable.h
NextionSlidingText::NextionSlidingText
NextionSlidingText(Nextion &nex, uint8_t page, uint8_t component, const char *name)
Create a new widget adapter.
Definition:
NextionSlidingText.cpp:8
INextionFontStyleable.h
NextionScrollDirection
NextionScrollDirection
Directions for scolling.
Definition:
NextionTypes.h:87
Nextion
Driver for a physical Nextion device.
Definition:
Nextion.h:31
INextionFontStyleable
Interface for widgets that can have their fonts styled.
Definition:
INextionFontStyleable.h:14
Generated on Wed Mar 7 2018 21:01:55 for NeoNextion by
1.8.6