Browse Source

Rename "Screen" tab to "Display"

This is what pretty much everyone else calls these kind of settings, so
let's change so users feel familiar.
tags/v1.12.90
Pierre Ossman 2 years ago
parent
commit
82cb269f9f
3 changed files with 8 additions and 8 deletions
  1. 5
    5
      vncviewer/OptionsDialog.cxx
  2. 2
    2
      vncviewer/OptionsDialog.h
  3. 1
    1
      vncviewer/parameters.cxx

+ 5
- 5
vncviewer/OptionsDialog.cxx View File

@@ -72,7 +72,7 @@ OptionsDialog::OptionsDialog()
createCompressionPage(tx, ty, tw, th);
createSecurityPage(tx, ty, tw, th);
createInputPage(tx, ty, tw, th);
createScreenPage(tx, ty, tw, th);
createDisplayPage(tx, ty, tw, th);
createMiscPage(tx, ty, tw, th);
}

@@ -281,7 +281,7 @@ void OptionsDialog::loadOptions(void)
if (!strcmp(getMenuKeySymbols()[i].name, menuKeyBuf))
menuKeyChoice->value(i + 1);

/* Screen */
/* Display */
if (!fullScreen) {
windowedButton->setonly();
} else {
@@ -391,7 +391,7 @@ void OptionsDialog::storeOptions(void)
menuKey.setParam(menuKeyChoice->text());
}

/* Screen */
/* Display */
if (windowedButton->value()) {
fullScreen.setParam(false);
} else {
@@ -752,9 +752,9 @@ void OptionsDialog::createInputPage(int tx, int ty, int tw, int th)
}


void OptionsDialog::createScreenPage(int tx, int ty, int tw, int th)
void OptionsDialog::createDisplayPage(int tx, int ty, int tw, int th)
{
Fl_Group *group = new Fl_Group(tx, ty, tw, th, _("Screen"));
Fl_Group *group = new Fl_Group(tx, ty, tw, th, _("Display"));

tx += OUTER_MARGIN;
ty += OUTER_MARGIN;

+ 2
- 2
vncviewer/OptionsDialog.h View File

@@ -54,7 +54,7 @@ protected:
void createCompressionPage(int tx, int ty, int tw, int th);
void createSecurityPage(int tx, int ty, int tw, int th);
void createInputPage(int tx, int ty, int tw, int th);
void createScreenPage(int tx, int ty, int tw, int th);
void createDisplayPage(int tx, int ty, int tw, int th);
void createMiscPage(int tx, int ty, int tw, int th);

static void handleAutoselect(Fl_Widget *widget, void *data);
@@ -120,7 +120,7 @@ protected:
Fl_Check_Button *systemKeysCheckbox;
Fl_Choice *menuKeyChoice;

/* Screen */
/* Display */
Fl_Round_Button *windowedButton;
Fl_Round_Button *currentMonitorButton;
Fl_Round_Button *allMonitorsButton;

+ 1
- 1
vncviewer/parameters.cxx View File

@@ -193,7 +193,7 @@ static VoidParameter* parameterArray[] = {
&compressLevel,
&noJpeg,
&qualityLevel,
/* Screen */
/* Display */
&fullScreen,
&fullScreenMode,
&fullScreenSelectedMonitors,

Loading…
Cancel
Save