All Classes Files Functions Typedefs Groups Pages
NexDualStateButton.h
Go to the documentation of this file.
#ifndef __NEXDSBUTTON_H__
#define __NEXDSBUTTON_H__
#include "NexTouch.h"
#include "NexHardware.h"
class NexDSButton: public NexTouch
{
public: /* methods */
NexDSButton(uint8_t pid, uint8_t cid, const char *name);
bool getValue(uint32_t *number);
bool setValue(uint32_t number);
uint16_t getText(char *buffer, uint16_t len);
bool setText(const char *buffer);
uint32_t Get_state0_color_bco0(uint32_t *number);
bool Set_state0_color_bco0(uint32_t number);
uint32_t Get_state1_color_bco1(uint32_t *number);
bool Set_state1_color_bco1(uint32_t number);
uint32_t Get_font_color_pco(uint32_t *number);
bool Set_font_color_pco(uint32_t number);
uint32_t Get_place_xcen(uint32_t *number);
bool Set_place_xcen(uint32_t number);
uint32_t Get_place_ycen(uint32_t *number);
bool Set_place_ycen(uint32_t number);
uint32_t getFont(uint32_t *number);
bool setFont(uint32_t number);
uint32_t Get_state0_crop_picc0(uint32_t *number);
bool Set_state0_crop_picc0(uint32_t number);
uint32_t Get_state1_crop_picc1(uint32_t *number);
bool Set_state1_crop_picc1(uint32_t number);
uint32_t Get_state0_image_pic0(uint32_t *number);
bool Set_state0_image_pic0(uint32_t number);
uint32_t Get_state1_image_pic1(uint32_t *number);
bool Set_state1_image_pic1(uint32_t number);
};
#endif /* #ifndef __NEXDSBUTTON_H__ */
NexDSButton::Set_state1_color_bco1
bool Set_state1_color_bco1(uint32_t number)
Definition: NexDualStateButton.cpp:105
NexDSButton::Get_state1_color_bco1
uint32_t Get_state1_color_bco1(uint32_t *number)
Definition: NexDualStateButton.cpp:95
NexDSButton::Set_place_ycen
bool Set_place_ycen(uint32_t number)
Definition: NexDualStateButton.cpp:189
NexDSButton::Set_state1_image_pic1
bool Set_state1_image_pic1(uint32_t number)
Definition: NexDualStateButton.cpp:329
NexDSButton::getFont
uint32_t getFont(uint32_t *number)
Definition: NexDualStateButton.cpp:207
NexDSButton::Get_state1_image_pic1
uint32_t Get_state1_image_pic1(uint32_t *number)
Definition: NexDualStateButton.cpp:319
NexDSButton
Definition: NexDualStateButton.h:36
NexDSButton::setFont
bool setFont(uint32_t number)
Definition: NexDualStateButton.cpp:217
NexDSButton::Set_place_xcen
bool Set_place_xcen(uint32_t number)
Definition: NexDualStateButton.cpp:161
NexDSButton::Get_state0_image_pic0
uint32_t Get_state0_image_pic0(uint32_t *number)
Definition: NexDualStateButton.cpp:291
NexDSButton::Set_state0_crop_picc0
bool Set_state0_crop_picc0(uint32_t number)
Definition: NexDualStateButton.cpp:245
NexDSButton::Get_state0_color_bco0
uint32_t Get_state0_color_bco0(uint32_t *number)
Definition: NexDualStateButton.cpp:67
NexDSButton::Set_font_color_pco
bool Set_font_color_pco(uint32_t number)
Definition: NexDualStateButton.cpp:133
NexDSButton::Get_font_color_pco
uint32_t Get_font_color_pco(uint32_t *number)
Definition: NexDualStateButton.cpp:123
NexDSButton::getValue
bool getValue(uint32_t *number)
Definition: NexDualStateButton.cpp:23
NexDSButton::Get_place_ycen
uint32_t Get_place_ycen(uint32_t *number)
Definition: NexDualStateButton.cpp:179
NexTouch.h
NexDSButton::Set_state0_image_pic0
bool Set_state0_image_pic0(uint32_t number)
Definition: NexDualStateButton.cpp:301
NexDSButton::NexDSButton
NexDSButton(uint8_t pid, uint8_t cid, const char *name)
Definition: NexDualStateButton.cpp:18
NexHardware.h
NexDSButton::Get_state0_crop_picc0
uint32_t Get_state0_crop_picc0(uint32_t *number)
Definition: NexDualStateButton.cpp:235
NexDSButton::setValue
bool setValue(uint32_t number)
Definition: NexDualStateButton.cpp:32
NexDSButton::getText
uint16_t getText(char *buffer, uint16_t len)
Definition: NexDualStateButton.cpp:46
NexDSButton::Set_state1_crop_picc1
bool Set_state1_crop_picc1(uint32_t number)
Definition: NexDualStateButton.cpp:273
NexDSButton::setText
bool setText(const char *buffer)
Definition: NexDualStateButton.cpp:56
NexTouch
Definition: NexTouch.h:53
NexDSButton::Get_state1_crop_picc1
uint32_t Get_state1_crop_picc1(uint32_t *number)
Definition: NexDualStateButton.cpp:263
NexDSButton::Get_place_xcen
uint32_t Get_place_xcen(uint32_t *number)
Definition: NexDualStateButton.cpp:151
NexDSButton::Set_state0_color_bco0
bool Set_state0_color_bco0(uint32_t number)
Definition: NexDualStateButton.cpp:77