v2.9.5.11-3dfx

- Fixed keyboard not showing up after changing resolution in VNC screen.
- Added opening VNC settings in VNC screen.
- New VNC settings section.
- Added option to force refresh when there is a change in VNC screen.
This commit is contained in:
An Bui 2025-09-28 13:52:48 +07:00
parent f732bfb6dd
commit 22002abd70
19 changed files with 298 additions and 54 deletions

View file

@ -40,6 +40,7 @@ import com.vectras.qemu.VNCConfig;
import com.vectras.qemu.utils.QmpClient;
import com.vectras.vm.MainRoms.AdapterMainRoms;
import com.vectras.vm.home.HomeActivity;
import com.vectras.vm.settings.VNCSettingsActivity;
import com.vectras.vm.utils.DialogUtils;
import com.vectras.vm.utils.FileUtils;
import com.vectras.vm.utils.JSONUtils;
@ -922,6 +923,11 @@ public class VMManager {
_dialog.dismiss();
});
_view.findViewById(R.id.ln_settings).setOnClickListener(v -> {
_activity.startActivity(new Intent(_activity, VNCSettingsActivity.class));
_dialog.dismiss();
});
if (MainSettingsManager.getVNCScaleMode(_activity) == VNCConfig.oneToOne) {
_view.findViewById(R.id.iv_screenOneToOne).setBackgroundResource(R.drawable.dialog_shape_single_button);
} else {