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

createCompressionPage(tx, ty, tw, th); createCompressionPage(tx, ty, tw, th);
createSecurityPage(tx, ty, tw, th); createSecurityPage(tx, ty, tw, th);
createInputPage(tx, ty, tw, th); createInputPage(tx, ty, tw, th);
createScreenPage(tx, ty, tw, th);
createDisplayPage(tx, ty, tw, th);
createMiscPage(tx, ty, tw, th); createMiscPage(tx, ty, tw, th);
} }


if (!strcmp(getMenuKeySymbols()[i].name, menuKeyBuf)) if (!strcmp(getMenuKeySymbols()[i].name, menuKeyBuf))
menuKeyChoice->value(i + 1); menuKeyChoice->value(i + 1);


/* Screen */
/* Display */
if (!fullScreen) { if (!fullScreen) {
windowedButton->setonly(); windowedButton->setonly();
} else { } else {
menuKey.setParam(menuKeyChoice->text()); menuKey.setParam(menuKeyChoice->text());
} }


/* Screen */
/* Display */
if (windowedButton->value()) { if (windowedButton->value()) {
fullScreen.setParam(false); fullScreen.setParam(false);
} else { } else {
} }




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; tx += OUTER_MARGIN;
ty += OUTER_MARGIN; ty += OUTER_MARGIN;

+ 2
- 2
vncviewer/OptionsDialog.h View File

void createCompressionPage(int tx, int ty, int tw, int th); void createCompressionPage(int tx, int ty, int tw, int th);
void createSecurityPage(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 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); void createMiscPage(int tx, int ty, int tw, int th);


static void handleAutoselect(Fl_Widget *widget, void *data); static void handleAutoselect(Fl_Widget *widget, void *data);
Fl_Check_Button *systemKeysCheckbox; Fl_Check_Button *systemKeysCheckbox;
Fl_Choice *menuKeyChoice; Fl_Choice *menuKeyChoice;


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

+ 1
- 1
vncviewer/parameters.cxx View File

&compressLevel, &compressLevel,
&noJpeg, &noJpeg,
&qualityLevel, &qualityLevel,
/* Screen */
/* Display */
&fullScreen, &fullScreen,
&fullScreenMode, &fullScreenMode,
&fullScreenSelectedMonitors, &fullScreenSelectedMonitors,

Loading…
Cancel
Save