File diff suppressed because it is too large
Load Diff
@@ -169,55 +169,6 @@ namespace Ink_Canvas
|
|||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.SeewoDesktopSideBarFloating, toggle.IsOn);
|
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.SeewoDesktopSideBarFloating, toggle.IsOn);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ToggleSwitchSeewoIwbAssistantFloating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.SeewoIwbAssistantFloating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchSeewoDesktopDrawingFloating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.SeewoDesktopDrawingFloating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchYiouBoardFloating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.YiouBoardFloating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchClassInXFloating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.ClassInXFloating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchChangYan5Floating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.ChangYan5Floating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchIclass30SidebarFloating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.Iclass30SidebarFloating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchIclass30Floating_Toggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
var toggle = sender as iNKORE.UI.WPF.Modern.Controls.ToggleSwitch;
|
|
||||||
if (toggle != null) SetInterceptRule(FloatingWindowInterceptor.InterceptType.Iclass30Floating, toggle.IsOn);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetInterceptRule(FloatingWindowInterceptor.InterceptType type, bool enabled)
|
public void SetInterceptRule(FloatingWindowInterceptor.InterceptType type, bool enabled)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -627,7 +627,6 @@ namespace Ink_Canvas
|
|||||||
[JsonProperty("interceptRules")]
|
[JsonProperty("interceptRules")]
|
||||||
public Dictionary<string, bool> InterceptRules { get; set; } = new Dictionary<string, bool>
|
public Dictionary<string, bool> InterceptRules { get; set; } = new Dictionary<string, bool>
|
||||||
{
|
{
|
||||||
// 希沃系列
|
|
||||||
{ "SeewoWhiteboard3Floating", false },
|
{ "SeewoWhiteboard3Floating", false },
|
||||||
{ "SeewoWhiteboard5Floating", false },
|
{ "SeewoWhiteboard5Floating", false },
|
||||||
{ "SeewoWhiteboard5CFloating", false },
|
{ "SeewoWhiteboard5CFloating", false },
|
||||||
@@ -635,19 +634,8 @@ namespace Ink_Canvas
|
|||||||
{ "SeewoPincoDrawingFloating", false },
|
{ "SeewoPincoDrawingFloating", false },
|
||||||
{ "SeewoPincoBoardService", false },
|
{ "SeewoPincoBoardService", false },
|
||||||
{ "SeewoPPTFloating", false },
|
{ "SeewoPPTFloating", false },
|
||||||
{ "SeewoIwbAssistantFloating", false },
|
|
||||||
{ "SeewoDesktopSideBarFloating", false },
|
|
||||||
{ "SeewoDesktopDrawingFloating", false },
|
|
||||||
{ "SeewoDesktopAnnotationFloating", false },
|
|
||||||
// 欧帝
|
|
||||||
{ "YiouBoardFloating", false },
|
|
||||||
// AiClass
|
|
||||||
{ "AiClassFloating", false },
|
{ "AiClassFloating", false },
|
||||||
// ClassIn X
|
|
||||||
{ "ClassInXFloating", false },
|
|
||||||
// 鸿合
|
|
||||||
{ "HiteAnnotationFloating", false },
|
{ "HiteAnnotationFloating", false },
|
||||||
// 畅言4.0
|
|
||||||
{ "ChangYanFloating", false },
|
{ "ChangYanFloating", false },
|
||||||
{ "ChangYanBrushSettings", false },
|
{ "ChangYanBrushSettings", false },
|
||||||
{ "ChangYanSwipeClear", false },
|
{ "ChangYanSwipeClear", false },
|
||||||
@@ -661,14 +649,10 @@ namespace Ink_Canvas
|
|||||||
{ "ChangYanPptPageControl", false },
|
{ "ChangYanPptPageControl", false },
|
||||||
{ "ChangYanPptGoBack", false },
|
{ "ChangYanPptGoBack", false },
|
||||||
{ "ChangYanPptPreview", false },
|
{ "ChangYanPptPreview", false },
|
||||||
// 畅言5.0
|
|
||||||
{ "ChangYan5Floating", false },
|
|
||||||
// 天喻
|
|
||||||
{ "IntelligentClassFloating", false },
|
{ "IntelligentClassFloating", false },
|
||||||
{ "IntelligentClassPptFloating", false },
|
{ "IntelligentClassPptFloating", false },
|
||||||
// C30智能教学
|
{ "SeewoDesktopAnnotationFloating", false },
|
||||||
{ "Iclass30SidebarFloating", false },
|
{ "SeewoDesktopSideBarFloating", false }
|
||||||
{ "Iclass30Floating", false },
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user