View | Details | Raw Unified
Collapse All | Expand All

(-) gnuplot-4.2.0/term/ggi.trm.orig (-10 / +10 lines)
 Lines 116-124    Link Here 
} GGI_vertex_t;
} GGI_vertex_t;
TERM_PUBLIC long int GGI_SetTime(const struct timeval* current);
TERM_PUBLIC long int GGI_SetTime(const struct timeval* current);
TERM_PUBLIC int GGI_from_keysym __PROTO((uint32 keysym));
TERM_PUBLIC int GGI_from_keysym __PROTO((uint32_t keysym));
TERM_PUBLIC int GGI_from_button __PROTO((uint32 button));
TERM_PUBLIC int GGI_from_button __PROTO((uint32_t button));
TERM_PUBLIC int GGI_y __PROTO((sint32 y));
TERM_PUBLIC int GGI_y __PROTO((int32_t y));
TERM_PUBLIC int GGI_dispatch_event __PROTO((const ggi_event* event));
TERM_PUBLIC int GGI_dispatch_event __PROTO((const ggi_event* event));
TERM_PUBLIC int GGI_eventually_update_modifiers __PROTO((const ggi_event* event, const int add));
TERM_PUBLIC int GGI_eventually_update_modifiers __PROTO((const ggi_event* event, const int add));
TERM_PUBLIC int GGI_waitforinput __PROTO((void));
TERM_PUBLIC int GGI_waitforinput __PROTO((void));
 Lines 134-146    Link Here 
TERM_PUBLIC void GGI_save_puts __PROTO((GGI_vertex_t* v, const int tag));
TERM_PUBLIC void GGI_save_puts __PROTO((GGI_vertex_t* v, const int tag));
TERM_PUBLIC void GGI_set_vertex __PROTO((GGI_vertex_t* v, const int x, const int y, const char* str, const int tag));
TERM_PUBLIC void GGI_set_vertex __PROTO((GGI_vertex_t* v, const int x, const int y, const char* str, const int tag));
TERM_PUBLIC void GGI_abort_zooming __PROTO((void));
TERM_PUBLIC void GGI_abort_zooming __PROTO((void));
TERM_PUBLIC void GGI_put_tmptext __PROTO((int, const char str[]));
TERM_PUBLIC void GGI_put_tmptext __PROTO((int, const char *str));
TERM_PUBLIC void GGI_relative __PROTO((int r[2]));
TERM_PUBLIC void GGI_relative __PROTO((int *r));
TERM_PUBLIC void GGI_clear_hline __PROTO((int x1, int x2, int y));
TERM_PUBLIC void GGI_clear_hline __PROTO((int x1, int x2, int y));
TERM_PUBLIC void GGI_clear_vline __PROTO((int y1, int y2, int x));
TERM_PUBLIC void GGI_clear_vline __PROTO((int y1, int y2, int x));
TERM_PUBLIC void GGI_draw_hline __PROTO((int x1, int x2, int y));
TERM_PUBLIC void GGI_draw_hline __PROTO((int x1, int x2, int y));
TERM_PUBLIC void GGI_draw_vline __PROTO((int y1, int y2, int x));
TERM_PUBLIC void GGI_draw_vline __PROTO((int y1, int y2, int x));
TERM_PUBLIC void GGI_set_clipboard __PROTO((const char[]));
TERM_PUBLIC void GGI_set_clipboard __PROTO((const char *s));
#endif /* USE_MOUSE */
#endif /* USE_MOUSE */
TERM_PUBLIC int GGI_make_palette __PROTO((t_sm_palette*));
TERM_PUBLIC int GGI_make_palette __PROTO((t_sm_palette*));
 Lines 645-651    Link Here 
/* translate ggi keysym to gnuplot keysym */
/* translate ggi keysym to gnuplot keysym */
TERM_PUBLIC int
TERM_PUBLIC int
GGI_from_keysym(uint32 keysym)
GGI_from_keysym(uint32_t keysym)
{
{
    switch (keysym) {
    switch (keysym) {
	case GIIUC_BackSpace:
	case GIIUC_BackSpace:
 Lines 811-817    Link Here 
}
}
TERM_PUBLIC int
TERM_PUBLIC int
GGI_from_button(uint32 button)
GGI_from_button(uint32_t button)
{
{
    switch (button) {
    switch (button) {
    case GII_PBUTTON_LEFT:
    case GII_PBUTTON_LEFT:
 Lines 827-833    Link Here 
}
}
TERM_PUBLIC int
TERM_PUBLIC int
GGI_y(sint32 y)
GGI_y(int32_t y)
{
{
    return GGIymax - y;
    return GGIymax - y;
}
}
 Lines 1363-1369    Link Here 
}
}
TERM_PUBLIC void
TERM_PUBLIC void
GGI_set_clipboard(const char s[])
GGI_set_clipboard(const char *s)
{
{
    /* XXX: not implemented */
    /* XXX: not implemented */
    (void) s;			/* avoid -Wunused */
    (void) s;			/* avoid -Wunused */