PebbleOS
Loading...
Searching...
No Matches
Macros | Functions
compositor_shutter_transitions.h File Reference
#include <pbl/services/compositor/compositor.h>

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.