7 windows->name->setText(windows->name, task->name);
9 for (i = 0; i < 3; i++) {
11 OVL_NAME(keyboard).tabTexts[task->page].texts[i]);
12 windows->tabs[i]->setPalette(windows->tabs[i],
PALETTE_BLUE);
15 windows->leftLabel->setPalette(windows->leftLabel,
PALETTE_BLUE);
17 windows->rightLabel->setPalette(windows->rightLabel,
PALETTE_BLUE);
18 if (
OVL_NAME(keyboard).pageCount >= 2) {
20 windows->l1Label->setPalette(windows->l1Label,
PALETTE_BLUE);
22 windows->r1Label->setPalette(windows->r1Label,
PALETTE_BLUE);
25 windows->title->setVisible(windows->title, 0);
26 windows->name->setVisible(windows->name, 0);
27 for (i = 0; i < 3; i++) {
28 windows->tabs[i]->setVisible(windows->tabs[i], 0);
30 windows->leftLabel->setVisible(windows->leftLabel, 0);
31 windows->rightLabel->setVisible(windows->rightLabel, 0);
32 windows->l1Label->setVisible(windows->l1Label, 0);
33 windows->r1Label->setVisible(windows->r1Label, 0);
void showNameWindows(NameEntry *task, NameEntryWindows *windows, s32 show)
Shows the name entry's windows with their texts, or hides them.
A name entry: the keyboard, the name typed so far and the panels that open and close.
#define PALETTE_BLUE
a light blue: what is highlighted or current