mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
opt: ui & cursor
- opt: win7 frameless - opt: disable cursor output & macos free cache - opt: main window, set location before show/hide
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter_hbb/common.dart';
|
||||
|
||||
const double kDesktopRemoteTabBarHeight = 28.0;
|
||||
|
||||
/// [kAppTypeMain] used by 'Desktop Main Page' , 'Mobile (Client and Server)' , 'Desktop CM Page', "Install Page"
|
||||
@@ -324,3 +326,20 @@ const Map<int, String> physicalKeyMap = <int, String>{
|
||||
0x000c019e: 'LOCK_SCREEN',
|
||||
0x000c0208: 'VK_PRINT',
|
||||
};
|
||||
|
||||
/// The windows targets in the publish time order.
|
||||
enum WindowsTarget {
|
||||
naw, // not a windows target
|
||||
xp,
|
||||
vista,
|
||||
w7,
|
||||
w8,
|
||||
w8_1,
|
||||
w10,
|
||||
w11
|
||||
}
|
||||
|
||||
/// A convenient method to transform a build number to the corresponding windows version.
|
||||
extension WindowsTargetExt on int {
|
||||
WindowsTarget get windowsVersion => getWindowsTarget(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user