resizable dPad buttons
This commit is contained in:
1 parent
fadf023563
commit
ada2e6f480
3 files changed
+52
-28
No files matched your search
@@ -17,7 +17,12 @@
|
||||
static const float D_PAD_DIST = 10;
|
||||
static const float BUTTON_DIST = 20;
|
||||
|
||||
@interface OnScreenControls : NSObject
|
||||
@interface OnScreenControls : NSObject{
|
||||
@protected
|
||||
CGFloat _leftStickSizeFactor;
|
||||
CGFloat _rightStickSizeFactor;
|
||||
CGFloat _dPadSizeFactor;
|
||||
}
|
||||
|
||||
typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
|
||||
OnScreenControlsLevelOff,
|
||||
|
||||
Reference in new issue
Block a user