- fix on-screen widget tool selectedWidgetView bug

- update & replace new widget template bin file
This commit is contained in:
TrueZhuanjia committed 2025-07-25 00:36:04 +08:00
1 parent ed56d26b1c
commit ce21c398b5
6 files changed
+26 -21

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@
#import "OnScreenButtonState.h"
NS_ASSUME_NONNULL_BEGIN
#define DEFAULT_TEMPLATE_NAME @"高级控件模板(Advanced widget templates)"
#define DEFAULT_TEMPLATE_NAME1 @"控件模板 / Widget templates"
#define DEFAULT_TEMPLATE_NAME2 @"旧版屏显控件 / Legacy on-screen controls"
/**
This object contains information pertaining to any of the user created, custom on screen controller layout configurations, or 'profiles.' The object contains a 'name' property for easy reference, as well as an 'isSelected' property which is used to determine whether this particular custom OSC layout should show on screen during game stream view. Only one 'OSCProfile' is set to 'isSelected' at any given time. The object also contains an array of 'OnScreenButtonStates' which provides information that allows us to move and hide/unhide each of the 19 on screen buttons. Note that the 'buttonStates' property should contain an NSMutableArray of ENCODED 'OnScreenButtonState' objects. This allows us to save the 'OSCProfile' object to NSUserDefaults.