- better alignment & resizing for on-screen widget view

- stage manager
This commit is contained in:
TrueZhuangjia
2025-02-13 21:55:45 +08:00
parent cf375eae84
commit 715cb86ab9
8 changed files with 50 additions and 26 deletions
@@ -37,8 +37,8 @@ NS_ASSUME_NONNULL_BEGIN
// @property (nonatomic, assign) BOOL hasValidPosition;
typedef NS_ENUM(NSInteger, OnScreenButtonType) {
GameControllerButton,
KeyboardOrMouseButton
LegacyOscButton,
CustomOnScreenWidget
};
- (id) initWithButtonName:(NSString*)name buttonType:(uint8_t)buttonType andPosition:(CGPoint)position;