snprintf(buf, sizeof(buf), "%d", height);
desktopHeightInput->value(buf);
}
+ remoteResizeCheckbox->value(remoteResize);
fullScreenCheckbox->value(fullScreen);
handleDesktopSize(desktopSizeCheckbox, this);
} else {
desktopSize.setParam("");
}
+ remoteResize.setParam(remoteResizeCheckbox->value());
fullScreen.setParam(fullScreenCheckbox->value());
/* Misc. */
desktopHeightInput = new Fl_Int_Input(x, ty, 50, INPUT_HEIGHT, "x");
ty += INPUT_HEIGHT + TIGHT_MARGIN;
+ remoteResizeCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty,
+ CHECK_MIN_WIDTH,
+ CHECK_HEIGHT,
+ _("Resize remote session to the local window")));
+ ty += CHECK_HEIGHT + TIGHT_MARGIN;
+
fullScreenCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty,
CHECK_MIN_WIDTH,
CHECK_HEIGHT,
Fl_Check_Button *desktopSizeCheckbox;
Fl_Int_Input *desktopWidthInput;
Fl_Int_Input *desktopHeightInput;
+ Fl_Check_Button *remoteResizeCheckbox;
Fl_Check_Button *fullScreenCheckbox;
/* Misc. */