Compact +/- zoom control stack for navigation view. Forwards tap callbacks to the host. More...
#include <com/navigine/idl/objc/widgets/NCZoomControls.h>
Inherits UIView.
Instance Methods | |
| (instancetype) | - initWithOnZoomIn:onZoomOut: |
| Initializes zoom controls with callbacks. | |
| (instancetype) | - initWithOnZoomIn:onZoomOut:config: |
| Initializes zoom controls with callbacks and optional config. | |
| (void) | - applyConfig: |
| Applies config at runtime. Call when config has changed. | |
Compact +/- zoom control stack for navigation view. Forwards tap callbacks to the host.
NCZoomControlsConfig for styling.
Definition at line 27 of file NCZoomControls.h.
| - (void) applyConfig: | (nullable NCZoomControlsConfig *) | config |
Applies config at runtime. Call when config has changed.
Definition at line 100 of file NCZoomControls.m.
| - (instancetype) initWithOnZoomIn: | (NCZoomInCallback) | onZoomIn | |
| onZoomOut: | (NCZoomOutCallback) | onZoomOut |
Initializes zoom controls with callbacks.
| onZoomIn | Called on zoom-in button press. |
| onZoomOut | Called on zoom-out button press. |
Definition at line 19 of file NCZoomControls.m.
| - (instancetype) initWithOnZoomIn: | (NCZoomInCallback) | onZoomIn | |
| onZoomOut: | (NCZoomOutCallback) | onZoomOut | |
| config: | (nullable NCZoomControlsConfig *) | config |
Initializes zoom controls with callbacks and optional config.
| onZoomIn | Called on zoom-in button press. |
| onZoomOut | Called on zoom-out button press. |
| config | Optional config for icons and styles. nil = use defaults. |
Definition at line 23 of file NCZoomControls.m.