1 #include "../ckb/ckb-anim.h"
9 CKB_GUID(
"{07551A90-D97A-4DD0-A770-E9E280A90891}");
34 CKB_PRESET_PARAM(
"color",
"0:ffff0000 17:ffffff00 33:ff00ff00 50:ff00ffff 67:ff0000ff 83:ffff00ff 100:ffff0000");
68 #define ANGLE(theta) fmod((theta) + M_PI * 2., M_PI * 2.)
72 frame = state ? 0. : -1.;
107 theta = M_PI * 2. - theta;
void ckb_keypress(ckb_runctx *context, ckb_key *key, int x, int y, int state)
void ckb_parameter(ckb_runctx *context, const char *name, const char *value)
#define CKB_PARAM_DOUBLE(name, prefix, postfix, default, min, max)
#define CKB_VERSION(version)
#define CKB_TIMEMODE(mode)
#define CKB_PARSE_AGRADIENT(param_name, gradient_ptr)
#define CKB_LICENSE(license)
#define CKB_COPYRIGHT(year, author)
#define CKB_DESCRIPTION(description)
int ckb_frame(ckb_runctx *context)
#define CKB_PRESET_START(name)
void ckb_time(ckb_runctx *context, double delta)
#define CKB_PARAM_AGRADIENT(name, prefix, postfix, default)
#define CKB_LIVEPARAMS(enable)
#define CKB_TIME_DURATION
#define CKB_PARSE_BOOL(param_name, value_ptr)
void ckb_init(ckb_runctx *context)
#define CKB_REPEAT(enable)
#define CKB_KEYCLEAR(context)
void ckb_start(ckb_runctx *context, int state)
#define CKB_PRESET_PARAM(name, value)
#define CKB_PARSE_DOUBLE(param_name, value_ptr)
#define CKB_PARAM_BOOL(name, text, default)
void ckb_alpha_blend(ckb_key *key, float a, float r, float g, float b)
void ckb_grad_color(float *a, float *r, float *g, float *b, const ckb_gradient *grad, float pos)