#include <stdio.h>
#include <stdlib.h>
#include "mb_animate.h"
#include "mb_paint.h"
Go to the source code of this file.
Classes | |
struct | _mb_chgcolor |
Typedefs | |
typedef struct _mb_chgcolor | mb_chgcolor_t |
Functions | |
static float | comp_mb_timeval_ratio (const mb_timeval_t *a, const mb_timeval_t *b) |
static void | mb_chgcolor_start (mb_action_t *act, const mb_timeval_t *now, const mb_timeval_t *playing_time, redraw_man_t *rdman) |
static void | mb_chgcolor_step (mb_action_t *act, const mb_timeval_t *now, redraw_man_t *rdman) |
static void | mb_chgcolor_stop (mb_action_t *act, const mb_timeval_t *now, redraw_man_t *rdman) |
static void | mb_chgcolor_free (mb_action_t *act) |
mb_action_t * | mb_chgcolor_new (co_comp_t r, co_comp_t g, co_comp_t b, co_comp_t a, paint_t *paint, mb_word_t *word) |
typedef struct _mb_chgcolor mb_chgcolor_t |
Definition at line 15 of file chgcolor.c.
static float comp_mb_timeval_ratio | ( | const mb_timeval_t * | a, | |
const mb_timeval_t * | b | |||
) | [static] |
Definition at line 6 of file chgcolor.c.
static void mb_chgcolor_free | ( | mb_action_t * | act | ) | [static] |
Definition at line 75 of file chgcolor.c.
static void mb_chgcolor_start | ( | mb_action_t * | act, | |
const mb_timeval_t * | now, | |||
const mb_timeval_t * | playing_time, | |||
redraw_man_t * | rdman | |||
) | [static] |
Definition at line 28 of file chgcolor.c.
static void mb_chgcolor_step | ( | mb_action_t * | act, | |
const mb_timeval_t * | now, | |||
redraw_man_t * | rdman | |||
) | [static] |
Definition at line 43 of file chgcolor.c.
static void mb_chgcolor_stop | ( | mb_action_t * | act, | |
const mb_timeval_t * | now, | |||
redraw_man_t * | rdman | |||
) | [static] |
Definition at line 65 of file chgcolor.c.