added a few more tooltips to VideoAudioDialog

This commit is contained in:
thrust26 2020-11-18 23:52:19 +01:00
parent 9eea11ef83
commit f195ad48f9
2 changed files with 9 additions and 1 deletions

View File

@ -237,6 +237,7 @@ void VideoAudioDialog::addPaletteTab()
myPhaseShiftNtsc->setMinValue((PaletteHandler::DEF_NTSC_SHIFT - PaletteHandler::MAX_PHASE_SHIFT) * 10);
myPhaseShiftNtsc->setMaxValue((PaletteHandler::DEF_NTSC_SHIFT + PaletteHandler::MAX_PHASE_SHIFT) * 10);
myPhaseShiftNtsc->setTickmarkIntervals(4);
myPhaseShiftNtsc->setToolTip("Adjust NTSC phase shift of 'Custom' palette.");
wid.push_back(myPhaseShiftNtsc);
ypos += lineHeight + VGAP;
@ -246,6 +247,7 @@ void VideoAudioDialog::addPaletteTab()
myPhaseShiftPal->setMinValue((PaletteHandler::DEF_PAL_SHIFT - PaletteHandler::MAX_PHASE_SHIFT) * 10);
myPhaseShiftPal->setMaxValue((PaletteHandler::DEF_PAL_SHIFT + PaletteHandler::MAX_PHASE_SHIFT) * 10);
myPhaseShiftPal->setTickmarkIntervals(4);
myPhaseShiftPal->setToolTip("Adjust PAL phase shift of 'Custom' palette.");
wid.push_back(myPhaseShiftPal);
ypos += lineHeight + VGAP;
@ -258,6 +260,7 @@ void VideoAudioDialog::addPaletteTab()
myTVRedScale->setMinValue(0);
myTVRedScale->setMaxValue(100);
myTVRedScale->setTickmarkIntervals(2);
myTVRedScale->setToolTip("Adjust red saturation of 'Custom' palette.");
wid.push_back(myTVRedScale);
const int xposr = myTIAPalette->getRight() - rgbsWidth;
@ -267,6 +270,7 @@ void VideoAudioDialog::addPaletteTab()
myTVRedShift->setMinValue((PaletteHandler::DEF_RGB_SHIFT - PaletteHandler::MAX_RGB_SHIFT) * 10);
myTVRedShift->setMaxValue((PaletteHandler::DEF_RGB_SHIFT + PaletteHandler::MAX_RGB_SHIFT) * 10);
myTVRedShift->setTickmarkIntervals(2);
myTVRedShift->setToolTip("Adjust red shift of 'Custom' palette.");
wid.push_back(myTVRedShift);
ypos += lineHeight + VGAP;
@ -276,6 +280,7 @@ void VideoAudioDialog::addPaletteTab()
myTVGreenScale->setMinValue(0);
myTVGreenScale->setMaxValue(100);
myTVGreenScale->setTickmarkIntervals(2);
myTVGreenScale->setToolTip("Adjust green saturation of 'Custom' palette.");
wid.push_back(myTVGreenScale);
myTVGreenShift =
@ -284,6 +289,7 @@ void VideoAudioDialog::addPaletteTab()
myTVGreenShift->setMinValue((PaletteHandler::DEF_RGB_SHIFT - PaletteHandler::MAX_RGB_SHIFT) * 10);
myTVGreenShift->setMaxValue((PaletteHandler::DEF_RGB_SHIFT + PaletteHandler::MAX_RGB_SHIFT) * 10);
myTVGreenShift->setTickmarkIntervals(2);
myTVGreenShift->setToolTip("Adjust green shift of 'Custom' palette.");
wid.push_back(myTVGreenShift);
ypos += lineHeight + VGAP;
@ -293,6 +299,7 @@ void VideoAudioDialog::addPaletteTab()
myTVBlueScale->setMinValue(0);
myTVBlueScale->setMaxValue(100);
myTVBlueScale->setTickmarkIntervals(2);
myTVBlueScale->setToolTip("Adjust blue saturation of 'Custom' palette.");
wid.push_back(myTVBlueScale);
myTVBlueShift =
@ -301,6 +308,7 @@ void VideoAudioDialog::addPaletteTab()
myTVBlueShift->setMinValue((PaletteHandler::DEF_RGB_SHIFT - PaletteHandler::MAX_RGB_SHIFT) * 10);
myTVBlueShift->setMaxValue((PaletteHandler::DEF_RGB_SHIFT + PaletteHandler::MAX_RGB_SHIFT) * 10);
myTVBlueShift->setTickmarkIntervals(2);
myTVBlueShift->setToolTip("Adjust blue shift of 'Custom' palette.");
wid.push_back(myTVBlueShift);
ypos += lineHeight + VGAP;
xpos -= INDENT;

View File

@ -16,7 +16,7 @@
//============================================================================
#ifndef VIDEOAUDIO_DIALOG_HXX
#define VIDEOAUDIO_DIALOG_HXX
#define D
class CommandSender;
class CheckboxWidget;