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

Macros

#define ROUND_FLIP_ANIMATION_DURATION_MS   (6 * ANIMATION_TARGET_FRAME_INTERVAL_MS)
 Duration of the flip transition, in milliseconds (as many frames as the design).
 

Functions

void compositor_round_flip_transitions_flip_animation_update (GContext *ctx, uint32_t distance_normalized, CompositorTransitionDirection dir, GColor flip_lid_color)
 Draw the flip "lid" for the current point of a flip animation.
 
const CompositorTransition * compositor_round_flip_transition_get (bool flip_to_the_right)
 Get the flip transition between apps.