Lines 6047-6053
int _ctx_is_rasterizer (Ctx *ctx);
Link Here
|
6047 |
|
6047 |
|
6048 |
int ctx_color (Ctx *ctx, const char *string); |
6048 |
int ctx_color (Ctx *ctx, const char *string); |
6049 |
typedef struct _CtxState CtxState; |
6049 |
typedef struct _CtxState CtxState; |
6050 |
CtxColor *ctx_color_new (); |
|
|
6051 |
CtxState *ctx_get_state (Ctx *ctx); |
6050 |
CtxState *ctx_get_state (Ctx *ctx); |
6052 |
void ctx_color_get_rgba (CtxState *state, CtxColor *color, float *out); |
6051 |
void ctx_color_get_rgba (CtxState *state, CtxColor *color, float *out); |
6053 |
void ctx_color_set_rgba (CtxState *state, CtxColor *color, float r, float g, float b, float a); |
6052 |
void ctx_color_set_rgba (CtxState *state, CtxColor *color, float r, float g, float b, float a); |
Lines 11081-11087
static void
Link Here
|
11081 |
ctx_matrix_set (CtxMatrix *matrix, float a, float b, float c, float d, float e, float f, float g, float h, float i); |
11080 |
ctx_matrix_set (CtxMatrix *matrix, float a, float b, float c, float d, float e, float f, float g, float h, float i); |
11082 |
|
11081 |
|
11083 |
|
11082 |
|
11084 |
static void ctx_font_setup (); |
|
|
11085 |
static float ctx_state_get (CtxState *state, uint32_t hash); |
11083 |
static float ctx_state_get (CtxState *state, uint32_t hash); |
11086 |
|
11084 |
|
11087 |
#if CTX_RASTERIZER |
11085 |
#if CTX_RASTERIZER |
Lines 40708-40716
static void ctx_events_deinit (Ctx *ctx)
Link Here
|
40708 |
#if CTX_TERMINAL_EVENTS |
40706 |
#if CTX_TERMINAL_EVENTS |
40709 |
|
40707 |
|
40710 |
|
40708 |
|
40711 |
static int mice_has_event (); |
40709 |
static int mice_has_event (void); |
40712 |
static char *mice_get_event (); |
40710 |
static char *mice_get_event (void); |
40713 |
static void mice_destroy (); |
40711 |
static void mice_destroy (void); |
40714 |
static int mice_get_fd (EvSource *ev_source); |
40712 |
static int mice_get_fd (EvSource *ev_source); |
40715 |
static void mice_set_coord (EvSource *ev_source, double x, double y); |
40713 |
static void mice_set_coord (EvSource *ev_source, double x, double y); |
40716 |
|
40714 |
|
Lines 40759-40771
static int mmm_evsource_mice_init ()
Link Here
|
40759 |
return 0; |
40757 |
return 0; |
40760 |
} |
40758 |
} |
40761 |
|
40759 |
|
40762 |
static void mice_destroy () |
40760 |
static void mice_destroy (void) |
40763 |
{ |
40761 |
{ |
40764 |
if (mrg_mice_this->fd != -1) |
40762 |
if (mrg_mice_this->fd != -1) |
40765 |
close (mrg_mice_this->fd); |
40763 |
close (mrg_mice_this->fd); |
40766 |
} |
40764 |
} |
40767 |
|
40765 |
|
40768 |
static int mice_has_event () |
40766 |
static int mice_has_event (void) |
40769 |
{ |
40767 |
{ |
40770 |
struct timeval tv; |
40768 |
struct timeval tv; |
40771 |
int retval; |
40769 |
int retval; |
Lines 40783-40789
static int mice_has_event ()
Link Here
|
40783 |
return 0; |
40781 |
return 0; |
40784 |
} |
40782 |
} |
40785 |
|
40783 |
|
40786 |
static char *mice_get_event () |
40784 |
static char *mice_get_event (void) |
40787 |
{ |
40785 |
{ |
40788 |
const char *ret = "pm"; |
40786 |
const char *ret = "pm"; |
40789 |
double relx, rely; |
40787 |
double relx, rely; |