Root/gnuplot-gfx/patches/040-nomouse-fixes.patch

Source at commit 1b3135c created 9 years 8 days ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1Index: gnuplot-4.4.0/term/ggi.trm
2===================================================================
3--- gnuplot-4.4.0.orig/term/ggi.trm 2011-01-05 13:35:52.000000000 +0100
4+++ gnuplot-4.4.0/term/ggi.trm 2011-01-05 13:39:52.000000000 +0100
5@@ -499,6 +499,12 @@
6     ggiSetGCForeground(GGIvisual,GGIcolors[linetype]);
7 }
8 
9+TERM_PUBLIC int
10+GGI_y(int32_t y)
11+{
12+ return GGIymax - y;
13+}
14+
15 TERM_PUBLIC void GGI_move(unsigned int x, unsigned int y)
16 {
17     GGIx=x;
18@@ -831,12 +837,6 @@
19 }
20 
21 TERM_PUBLIC int
22-GGI_y(int32_t y)
23-{
24- return GGIymax - y;
25-}
26-
27-TERM_PUBLIC int
28 GGI_eventually_update_modifiers(const ggi_event* event, const int add)
29 {
30     int mod = 0;
31

Archive Download this file



interactive