#include "hal_gfx_blender.h"
Go to the source code of this file.
Enumerations | |
enum | hal_gfx_transition_t { HAL_GFX_TRANS_LINEAR_H, HAL_GFX_TRANS_CUBE_H, HAL_GFX_TRANS_INNERCUBE_H, HAL_GFX_TRANS_STACK_H, HAL_GFX_TRANS_LINEAR_V, HAL_GFX_TRANS_CUBE_V, HAL_GFX_TRANS_INNERCUBE_V, HAL_GFX_TRANS_STACK_V, HAL_GFX_TRANS_FADE, HAL_GFX_TRANS_FADE_ZOOM, HAL_GFX_TRANS_COVER, HAL_GFX_TRANS_MAX, HAL_GFX_TRANS_NONE } |
Definition of transition effect. More... | |
Functions | |
void | hal_gfx_transition (hal_gfx_transition_t effect, hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height) |
Transition from 'initial' texture to 'final' texture. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_linear_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, uint32_t blending_mode, float step, int width) |
Linear transition horizontally. When 'step' changes from zero to one, textures move from right to left, otherwise textures move from left to right. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_linear_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, uint32_t blending_mode, float step, int height) |
Linear transition vertically. When 'step' changes from zero to one, textures move from top to bottom, otherwise textures move from bottom to top. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_cube_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, uint32_t blending_mode, float step, int width, int height) |
Cubic (textures are mapped on the external faces of a cube) transition horizontally. When 'step' changes from zero to one, textures move from left to right, otherwise textures move from right to left. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_cube_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, uint32_t blending_mode, float step, int width, int height) |
Cube (textures are mapped on the external faces of a cube) transition vertically. When 'step' changes from zero to one, textures move from top to bottom, otherwise textures move from bottom to top. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_innercube_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, uint32_t blending_mode, float step, int width, int height) |
Inner Cube (textures are mapped on the internal faces of a cube) transition horizontally. When 'step' changes from zero to one, textures move from left to right, otherwise textures move from right to left. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_innercube_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, uint32_t blending_mode, float step, int width, int height) |
Inner Cube (textures are mapped on the internal faces of a cube) transition vertically. When 'step' changes from zero to one, textures move from top to bottom, otherwise textures move from bottom to top. The transition The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_stack_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, float step, int width, int height) |
Stack transition horizontally. When 'step' changes from zero to one, textures move from left to right, otherwise textures move from right to left. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_stack_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, float step, int width, int height) |
Stack transition vertically. When 'step' moves from zero to one, textures move from top to bottom, otherwise textures move from bottom to top. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_fade (hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height) |
Fade transition. Initial texture is being faded out, while final texture is being faded in. The transition is complete when 'step' is 0 or 1. More... | |
void | hal_gfx_transition_fade_zoom (hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height) |
Fade-zoom transition. Initial texture is being zoomed and faded out, while final texture is being zoomed and faded in. The transition is complete when 'step' is 0 or 1. More... | |