本文整理汇总了C++中NexText::getText方法的典型用法代码示例。如果您正苦于以下问题:C++ NexText::getText方法的具体用法?C++ NexText::getText怎么用?C++ NexText::getText使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NexText
的用法示例。
在下文中一共展示了NexText::getText方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: settempPopCallback
void settempPopCallback(void *ptr) {
uint16_t number;
memset(buffer, 0, sizeof(buffer));
set0.getText(buffer, sizeof(buffer));
number = atoi(buffer);
if (ptr == &tup) number += 1;
if (ptr == &tdown) number -= 1;
memset(buffer, 0, sizeof(buffer));
itoa(number, buffer, 10);
set0.setText(buffer);
}
示例2: sdfolderPopCallback
void sdfolderPopCallback(void *ptr) {
memset(buffer, 0, sizeof(buffer));
if (ptr == &sdrow0)
sdrow0.getText(buffer, sizeof(buffer));
else if (ptr == &sdrow1)
sdrow1.getText(buffer, sizeof(buffer));
else if (ptr == &sdrow2)
sdrow2.getText(buffer, sizeof(buffer));
else if (ptr == &sdrow3)
sdrow3.getText(buffer, sizeof(buffer));
else if (ptr == &sdrow4)
sdrow4.getText(buffer, sizeof(buffer));
else if (ptr == &sdrow5)
sdrow5.getText(buffer, sizeof(buffer));
menu_action_sddirectory(buffer);
}
示例3: setgcodePopCallback
void setgcodePopCallback(void *ptr) {
memset(buffer, 0, sizeof(buffer));
Tgcode.getText(buffer, sizeof(buffer));
enqueue_and_echo_commands_P(buffer);
Pmenu.show();
}