Skip to content

Commit

Permalink
Disable RTG Panel options that are not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 18, 2021
1 parent 858e79c commit aef3eeb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/osdep/gui/PanelRTG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,18 +224,22 @@ void InitPanelRTG(const struct _ConfigCategory& category)
chkRtgMatchDepth = new gcn::CheckBox("Match host and RTG color depth if possible");
chkRtgMatchDepth->setId("chkRtgMatchDepth");
chkRtgMatchDepth->addActionListener(rtg_action_listener);
chkRtgMatchDepth->setEnabled(false); // Not implemented yet

chkRtgAutoscale = new gcn::CheckBox("Scale if smaller than display size setting");
chkRtgAutoscale->setId("chkRtgAutoscale");
chkRtgAutoscale->addActionListener(rtg_action_listener);
chkRtgAutoscale->setEnabled(false); // Not implemented yet

chkRtgAllowScaling = new gcn::CheckBox("Always scale in windowed mode");
chkRtgAllowScaling->setId("chkRtgAllowScaling");
chkRtgAllowScaling->addActionListener(rtg_action_listener);
chkRtgAllowScaling->setEnabled(false); // Not implemented yet

chkRtgAlwaysCenter = new gcn::CheckBox("Always center");
chkRtgAlwaysCenter->setId("chkRtgAlwaysCenter");
chkRtgAlwaysCenter->addActionListener(rtg_action_listener);
chkRtgAlwaysCenter->setEnabled(false); // Not implemented yet

chkRtgHardwareInterrupt = new gcn::CheckBox("Hardware vertical blank interrupt");
chkRtgHardwareInterrupt->setId("chkRtgHardwareInterrupt");
Expand All @@ -244,6 +248,7 @@ void InitPanelRTG(const struct _ConfigCategory& category)
chkRtgHardwareSprite = new gcn::CheckBox("Hardware sprite emulation");
chkRtgHardwareSprite->setId("chkRtgHardwareSprite");
chkRtgHardwareSprite->addActionListener(rtg_action_listener);
chkRtgHardwareSprite->setEnabled(false); // Not implemented yet

lblRtgRefreshRate = new gcn::Label("Refresh rate:");
lblRtgRefreshRate->setAlignment(gcn::Graphics::LEFT);
Expand All @@ -262,6 +267,7 @@ void InitPanelRTG(const struct _ConfigCategory& category)
cboRtgBufferMode->setBackgroundColor(colTextboxBackground);
cboRtgBufferMode->setId("cboRtgBufferMode");
cboRtgBufferMode->addActionListener(rtg_action_listener);
cboRtgBufferMode->setEnabled(false); // Not implemented yet

lblRtgAspectRatio = new gcn::Label("Aspect Ratio:");
lblRtgAspectRatio->setAlignment(gcn::Graphics::LEFT);
Expand All @@ -271,6 +277,7 @@ void InitPanelRTG(const struct _ConfigCategory& category)
cboRtgAspectRatio->setBackgroundColor(colTextboxBackground);
cboRtgAspectRatio->setId("cboRtgAspectRatio");
cboRtgAspectRatio->addActionListener(rtg_action_listener);
cboRtgAspectRatio->setEnabled(false); // Not implemented yet

lblRtgColorModes = new gcn::Label("Color modes:");
lblRtgColorModes->setAlignment(gcn::Graphics::LEFT);
Expand Down

0 comments on commit aef3eeb

Please # to comment.