My Project

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

All Classes Files Functions Typedefs Groups Pages
NexDualStateButton.h
Go to the documentation of this file.
1
18 #ifndef __NEXDSBUTTON_H__
19 #define __NEXDSBUTTON_H__
20
21 #include "NexTouch.h"
22 #include "NexHardware.h"
36 class NexDSButton: public NexTouch
37 {
38 public: /* methods */
42 NexDSButton(uint8_t pid, uint8_t cid, const char *name);
43
50 bool getValue(uint32_t *number);
51
58 bool setValue(uint32_t number);
59
67 uint16_t getText(char *buffer, uint16_t len);
68
75 bool setText(const char *buffer);
76
83 uint32_t Get_state0_color_bco0(uint32_t *number);
84
91 bool Set_state0_color_bco0(uint32_t number);
92
99 uint32_t Get_state1_color_bco1(uint32_t *number);
100
107 bool Set_state1_color_bco1(uint32_t number);
108
115 uint32_t Get_font_color_pco(uint32_t *number);
116
123 bool Set_font_color_pco(uint32_t number);
124
131 uint32_t Get_place_xcen(uint32_t *number);
132
139 bool Set_place_xcen(uint32_t number);
140
147 uint32_t Get_place_ycen(uint32_t *number);
148
155 bool Set_place_ycen(uint32_t number);
156
163 uint32_t getFont(uint32_t *number);
164
171 bool setFont(uint32_t number);
172
179 uint32_t Get_state0_crop_picc0(uint32_t *number);
180
187 bool Set_state0_crop_picc0(uint32_t number);
188
195 uint32_t Get_state1_crop_picc1(uint32_t *number);
196
203 bool Set_state1_crop_picc1(uint32_t number);
204
211 uint32_t Get_state0_image_pic0(uint32_t *number);
212
219 bool Set_state0_image_pic0(uint32_t number);
220
227 uint32_t Get_state1_image_pic1(uint32_t *number);
228
235 bool Set_state1_image_pic1(uint32_t number);
236 };
243 #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