This is what pretty much everyone else calls these kind of settings, so let's change so users feel familiar.tags/v1.12.90
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; |
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; |
&compressLevel, | &compressLevel, | ||||
&noJpeg, | &noJpeg, | ||||
&qualityLevel, | &qualityLevel, | ||||
/* Screen */ | |||||
/* Display */ | |||||
&fullScreen, | &fullScreen, | ||||
&fullScreenMode, | &fullScreenMode, | ||||
&fullScreenSelectedMonitors, | &fullScreenSelectedMonitors, |