![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OOJoystickProfile.h>
Instance Methods | |
(id) | - init |
(void) | - dealloc |
(id) | - copyWithZone: |
(int) | - addControl: |
(NSPoint) | - pointAtIndex: |
(int) | - countPoints |
(void) | - removeControl: |
(void) | - clearControlPoints |
(void) | - moveControl:point: |
(double) | - rawValue: |
(double) | - gradient: |
(NSArray *) | - controlPoints |
(BOOL) | - makeSegments [implementation] |
![]() | |
(double) | - value: |
(double) | - deadzone |
(void) | - setDeadzone: |
Private Attributes | |
NSMutableArray * | controlPoints |
NSArray * | segments |
Definition at line 72 of file OOJoystickProfile.h.
- (int) addControl: | (NSPoint) | point |
Definition at line 379 of file OOJoystickProfile.m.
References controlPoints, count, makeSegments, and SPLINE_POINT_MIN_SPACING.
Referenced by OOJoystickManager::loadProfileForAxis:, and StickProfileScreen::mouseDown:.
- (void) clearControlPoints |
Definition at line 529 of file OOJoystickProfile.m.
References makeSegments.
- (NSArray *) controlPoints |
Definition at line 448 of file OOJoystickProfile.m.
- (id) copyWithZone: | (NSZone *) | zone |
Reimplemented from OOJoystickAxisProfile.
Definition at line 370 of file OOJoystickProfile.m.
- (int) countPoints |
Definition at line 442 of file OOJoystickProfile.m.
- (void) dealloc |
Definition at line 362 of file OOJoystickProfile.m.
- (double) gradient: | (double) | x |
Definition at line 612 of file OOJoystickProfile.m.
References OOJoystickSplineSegment::gradient:, and x.
- (id) init |
Reimplemented from OOJoystickAxisProfile.
Definition at line 351 of file OOJoystickProfile.m.
References controlPoints, init, makeSegments, nil, and segments.
Referenced by init.
|
implementation |
Provided by category OOJoystickSplineAxisProfile(Private).
Definition at line 454 of file OOJoystickProfile.m.
References count, nil, pointAtIndex:, OOJoystickSplineSegment::segmentWithData:right:, OOJoystickSplineSegment::segmentWithData:right:gradientleft:, OOJoystickSplineSegment::segmentWithData:right:gradientleft:gradientright:, and OOJoystickSplineSegment::segmentWithData:right:gradientright:.
Referenced by addControl:, clearControlPoints, init, moveControl:point:, and removeControl:.
- (void) moveControl: | (NSInteger) | index | |
point: | (NSPoint) | point |
Definition at line 535 of file OOJoystickProfile.m.
References controlPoints, count, makeSegments, and SPLINE_POINT_MIN_SPACING.
Referenced by StickProfileScreen::mouseDown:.
- (NSPoint) pointAtIndex: | (NSInteger) | index |
Definition at line 422 of file OOJoystickProfile.m.
References controlPoints, and count.
Referenced by OOJoystickSplineAxisProfile(Private)::makeSegments.
- (double) rawValue: | (double) | x |
Reimplemented from OOJoystickAxisProfile.
Definition at line 586 of file OOJoystickProfile.m.
References x.
- (void) removeControl: | (NSInteger) | index |
Definition at line 519 of file OOJoystickProfile.m.
References controlPoints, count, and makeSegments.
Referenced by StickProfileScreen::deleteSelected.
|
private |
Definition at line 448 of file OOJoystickProfile.m.
Referenced by addControl:, StickProfileScreen(StickProfileInternal)::graphProfile:at:size:, init, moveControl:point:, pointAtIndex:, removeControl:, and OOJoystickManager::saveProfileForAxis:.
|
private |
Definition at line 76 of file OOJoystickProfile.h.
Referenced by init.