mirror of https://github.com/stella-emu/stella.git
parent
ee1f0e2999
commit
ebb2467f38
|
@ -3789,7 +3789,7 @@
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<p><b>Video & Audio Settings</b> dialog <a name="VideoAudioEffects">(Bezels)</a>:</p>
|
<p><b>Video & Audio Settings</b> dialog <a name="VideoAudioBezels">(Bezels)</a>:</p>
|
||||||
<table style="border:hidden">
|
<table style="border:hidden">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top"><img src="graphics/options_bezels.png"></td>
|
<td valign="top"><img src="graphics/options_bezels.png"></td>
|
||||||
|
|
|
@ -123,9 +123,11 @@ void BrowserDialog::show(GuiObject* parent, const GUI::Font& font,
|
||||||
if(w > static_cast<uInt32>(font.getMaxCharWidth() * 80))
|
if(w > static_cast<uInt32>(font.getMaxCharWidth() * 80))
|
||||||
w = font.getMaxCharWidth() * 80;
|
w = font.getMaxCharWidth() * 80;
|
||||||
|
|
||||||
if(ourBrowser == nullptr || &ourBrowser->parent() != &parent->parent())
|
if(ourBrowser == nullptr || &ourBrowser->parent() != &parent->parent()
|
||||||
|
|| ourBrowser->_w > static_cast<int>(w) || ourBrowser->_h > static_cast<int>(h))
|
||||||
|
{
|
||||||
ourBrowser = make_unique<BrowserDialog>(parent, font, w, h);
|
ourBrowser = make_unique<BrowserDialog>(parent, font, w, h);
|
||||||
|
}
|
||||||
ourBrowser->setTitle(title); // has to be always updated!
|
ourBrowser->setTitle(title); // has to be always updated!
|
||||||
ourBrowser->show(startpath, mode, command, namefilter);
|
ourBrowser->show(startpath, mode, command, namefilter);
|
||||||
}
|
}
|
||||||
|
|
|
@ -330,7 +330,7 @@ void VideoAudioDialog::addPaletteTab()
|
||||||
addPalette(xpos, VBORDER, _w - 2 * 2 - HBORDER - xpos,
|
addPalette(xpos, VBORDER, _w - 2 * 2 - HBORDER - xpos,
|
||||||
myTVGamma->getBottom() - myTIAPalette->getTop());
|
myTVGamma->getBottom() - myTIAPalette->getTop());
|
||||||
|
|
||||||
// Add items for tab 2
|
// Add items for tab 1
|
||||||
addToFocusList(wid, myTab, tabID);
|
addToFocusList(wid, myTab, tabID);
|
||||||
|
|
||||||
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioPalettes");
|
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioPalettes");
|
||||||
|
@ -434,7 +434,7 @@ void VideoAudioDialog::addTVEffectsTab()
|
||||||
CREATE_CLONE_BUTTON(Bad, "Clone Bad adjust")
|
CREATE_CLONE_BUTTON(Bad, "Clone Bad adjust")
|
||||||
CREATE_CLONE_BUTTON(Custom, "Revert")
|
CREATE_CLONE_BUTTON(Custom, "Revert")
|
||||||
|
|
||||||
// Add items for tab 3
|
// Add items for tab 2
|
||||||
addToFocusList(wid, myTab, tabID);
|
addToFocusList(wid, myTab, tabID);
|
||||||
|
|
||||||
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioEffects");
|
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioEffects");
|
||||||
|
@ -526,10 +526,10 @@ void VideoAudioDialog::addBezelTab()
|
||||||
myBezelWinRounded->setToolTip("Enable if the bezel window has rounded borders");
|
myBezelWinRounded->setToolTip("Enable if the bezel window has rounded borders");
|
||||||
wid.push_back(myBezelWinRounded);
|
wid.push_back(myBezelWinRounded);
|
||||||
|
|
||||||
// Add items for tab 4
|
// Add items for tab 3
|
||||||
addToFocusList(wid, myTab, tabID);
|
addToFocusList(wid, myTab, tabID);
|
||||||
|
|
||||||
myTab->parentWidget(tabID)->setHelpAnchor("TODO???");
|
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioBezels");
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
@ -657,7 +657,7 @@ void VideoAudioDialog::addAudioTab()
|
||||||
myDpcPitch->setTickmarkIntervals(2);
|
myDpcPitch->setTickmarkIntervals(2);
|
||||||
wid.push_back(myDpcPitch);
|
wid.push_back(myDpcPitch);
|
||||||
|
|
||||||
// Add items for tab 5
|
// Add items for tab 4
|
||||||
addToFocusList(wid, myTab, tabID);
|
addToFocusList(wid, myTab, tabID);
|
||||||
|
|
||||||
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioAudio");
|
myTab->parentWidget(tabID)->setHelpAnchor("VideoAudioAudio");
|
||||||
|
@ -1242,7 +1242,7 @@ void VideoAudioDialog::handleBezelChange()
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void VideoAudioDialog::handleCommand(CommandSender* sender, int cmd,
|
void VideoAudioDialog::handleCommand(CommandSender* sender, int cmd,
|
||||||
int data, int id)
|
int data, int id)
|
||||||
{
|
{
|
||||||
switch (cmd)
|
switch (cmd)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue