opt: hide window

This commit is contained in:
Kingtous
2022-11-05 23:41:22 +08:00
parent e749089206
commit e1f95b7209
9 changed files with 136 additions and 21 deletions

View File

@@ -10,6 +10,8 @@ const String kAppTypeDesktopFileTransfer = "file transfer";
const String kAppTypeDesktopPortForward = "port forward";
const String kWindowActionRebuild = "rebuild";
const String kWindowEventHide = "hide";
const String kWindowEventShow = "show";
const String kUniLinksPrefix = "rustdesk://";
const String kActionNewConnection = "connection/new/";
@@ -19,6 +21,9 @@ const String kTabLabelSettingPage = "Settings";
const String kWindowPrefix = "wm_";
// the executable name of the portable version
const String kEnvPortableExecutable = "RUSTDESK_APPNAME";
const Color kColorWarn = Color.fromARGB(255, 245, 133, 59);
const int kMobileDefaultDisplayWidth = 720;