mirror of https://github.com/stella-emu/stella.git
added some more tooltips to UI
This commit is contained in:
parent
c1cbd5d6f3
commit
b338c1b0ad
|
@ -100,6 +100,7 @@ CheatCodeDialog::CheatCodeDialog(OSystem& osystem, DialogContainer& parent,
|
|||
return (c >= 'a' && c <= 'f') || (c >= '0' && c <= '9');
|
||||
};
|
||||
myCheatInput->setTextFilter(f1, 1);
|
||||
myCheatInput->setToolTip("See Stella documentation for details.", 1);
|
||||
|
||||
addToFocusList(wid);
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ EmulationDialog::EmulationDialog(OSystem& osystem, DialogContainer& parent,
|
|||
|
||||
// Use sync to vblank
|
||||
myUseVSync = new CheckboxWidget(this, _font, xpos, ypos + 1, "VSync");
|
||||
myUseVSync->setToolTip("Check to enable vertical synced display updates.");
|
||||
wid.push_back(myUseVSync);
|
||||
ypos += lineHeight + VGAP;
|
||||
|
||||
|
|
|
@ -97,6 +97,7 @@ EventMappingWidget::EventMappingWidget(GuiObject* boss, const GUI::Font& font,
|
|||
myCancelMapButton = new ButtonWidget(boss, font, xpos, ypos,
|
||||
buttonWidth, buttonHeight,
|
||||
"Cancel", kStopMapCmd);
|
||||
myCancelMapButton->setToolTip("Cancel current mapping.");
|
||||
myCancelMapButton->setTarget(this);
|
||||
myCancelMapButton->clearFlags(Widget::FLAG_ENABLED);
|
||||
addFocusWidget(myCancelMapButton);
|
||||
|
@ -106,12 +107,14 @@ EventMappingWidget::EventMappingWidget(GuiObject* boss, const GUI::Font& font,
|
|||
buttonWidth, buttonHeight,
|
||||
"Erase", kEraseCmd);
|
||||
myEraseButton->setTarget(this);
|
||||
myEraseButton->setToolTip("Erase any mapping for selected event.");
|
||||
addFocusWidget(myEraseButton);
|
||||
|
||||
ypos += buttonHeight + VGAP;
|
||||
myResetButton = new ButtonWidget(boss, font, xpos, ypos,
|
||||
buttonWidth, buttonHeight,
|
||||
"Reset", kResetCmd);
|
||||
myResetButton->setToolTip("Reset mapping for selected event to defaults.");
|
||||
myResetButton->setTarget(this);
|
||||
addFocusWidget(myResetButton);
|
||||
|
||||
|
|
|
@ -109,6 +109,8 @@ UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
|||
xpos = myDialogFontPopup->getRight() + fontWidth * 5;
|
||||
myHidpiWidget = new CheckboxWidget(myTab, font, xpos,
|
||||
ypos + 1, "HiDPI mode (*)");
|
||||
myHidpiWidget->setToolTip("Scale the UI by a factor of two when enabled.");
|
||||
|
||||
wid.push_back(myHidpiWidget);
|
||||
|
||||
// Dialog position
|
||||
|
@ -126,6 +128,7 @@ UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
|||
// Center window (in windowed mode)
|
||||
xpos = myHidpiWidget->getLeft();
|
||||
myCenter = new CheckboxWidget(myTab, _font, xpos, ypos + 1, "Center windows");
|
||||
myCenter->setToolTip("Check to center all windows, else remember last position.");
|
||||
wid.push_back(myCenter);
|
||||
|
||||
// Delay between quick-selecting characters in ListWidget
|
||||
|
@ -138,6 +141,8 @@ UIDialog::UIDialog(OSystem& osystem, DialogContainer& parent,
|
|||
myListDelaySlider->setMaxValue(1000);
|
||||
myListDelaySlider->setStepValue(50);
|
||||
myListDelaySlider->setTickmarkIntervals(5);
|
||||
myListDelaySlider->setToolTip("Set delay between key presses in file lists"
|
||||
" before a search string resets.");
|
||||
wid.push_back(myListDelaySlider);
|
||||
ypos += lineHeight + VGAP;
|
||||
|
||||
|
|
Loading…
Reference in New Issue