|
PebbleOS
|
App transitions where the old app is pushed out behind a colored shutter. More...
Macros | |
| #define | SHUTTER_TRANSITION_FIRST_DURATION_MS (2 * ANIMATION_TARGET_FRAME_INTERVAL_MS) |
| Length of the first part, moving the old app off the screen, in milliseconds. | |
| #define | SHUTTER_TRANSITION_SECOND_DURATION_MS (4 * ANIMATION_TARGET_FRAME_INTERVAL_MS) |
| Length of the second part, moving the new app in, in milliseconds. | |
| #define | SHUTTER_TRANSITION_DURATION_MS (SHUTTER_TRANSITION_FIRST_DURATION_MS + SHUTTER_TRANSITION_SECOND_DURATION_MS) |
| Total length of the shutter transition, in milliseconds. | |
Functions | |
| const CompositorTransition * | compositor_shutter_transition_get (CompositorTransitionDirection direction, GColor color) |
| Get the shutter transition between apps. | |
App transitions where the old app is pushed out behind a colored shutter.
| #define SHUTTER_TRANSITION_DURATION_MS (SHUTTER_TRANSITION_FIRST_DURATION_MS + SHUTTER_TRANSITION_SECOND_DURATION_MS) |
Total length of the shutter transition, in milliseconds.
| #define SHUTTER_TRANSITION_FIRST_DURATION_MS (2 * ANIMATION_TARGET_FRAME_INTERVAL_MS) |
Length of the first part, moving the old app off the screen, in milliseconds.
| #define SHUTTER_TRANSITION_SECOND_DURATION_MS (4 * ANIMATION_TARGET_FRAME_INTERVAL_MS) |
Length of the second part, moving the new app in, in milliseconds.
| const CompositorTransition * compositor_shutter_transition_get | ( | CompositorTransitionDirection | direction, |
| GColor | color | ||
| ) |
Get the shutter transition between apps.
| direction | Direction of the transition. No shutter is drawn for CompositorTransitionDirectionLeft. |
| color | Color of the shutter. |