mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -231,6 +231,17 @@ impl InvokeUiSession for SciterHandler {
|
||||
self.call("updatePi", &make_args!(pi_sciter));
|
||||
}
|
||||
|
||||
fn on_connected(&self, conn_type: ConnType) {
|
||||
match conn_type {
|
||||
ConnType::RDP => {},
|
||||
ConnType::PORT_FORWARD => {},
|
||||
ConnType::FILE_TRANSFER => {},
|
||||
ConnType::DEFAULT_CONN => {
|
||||
crate::keyboard::client::start_grab_loop();
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
fn msgbox(&self, msgtype: &str, title: &str, text: &str, link: &str, retry: bool) {
|
||||
self.call2(
|
||||
"msgbox_retry",
|
||||
@@ -434,6 +445,10 @@ impl SciterSession {
|
||||
Self(session)
|
||||
}
|
||||
|
||||
pub fn inner(&self) -> Session<SciterHandler> {
|
||||
self.0.clone()
|
||||
}
|
||||
|
||||
fn get_custom_image_quality(&mut self) -> Value {
|
||||
let mut v = Value::array(0);
|
||||
for x in self.lc.read().unwrap().custom_image_quality.iter() {
|
||||
|
||||
Reference in New Issue
Block a user