mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-19 16:42:13 +00:00
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:
parent
f732bfb6dd
commit
22002abd70
19 changed files with 298 additions and 54 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue