1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 09:07:11 +02:00

gnuplot-gfx: fixed VGA color palette (grey lines need to be brighter)

This commit is contained in:
David Kühling 2011-01-08 12:38:42 +01:00
parent 55a6dd5db1
commit 72e12d0911

View File

@ -1,7 +1,7 @@
Index: gnuplot-4.4.0/term/linux.trm Index: gnuplot-4.4.0/term/linux.trm
=================================================================== ===================================================================
--- gnuplot-4.4.0.orig/term/linux.trm 2011-01-06 16:42:27.000000000 +0100 --- gnuplot-4.4.0.orig/term/linux.trm 2011-01-06 16:42:27.000000000 +0100
+++ gnuplot-4.4.0/term/linux.trm 2011-01-06 17:14:41.000000000 +0100 +++ gnuplot-4.4.0/term/linux.trm 2011-01-08 12:28:08.000000000 +0100
@@ -94,8 +94,12 @@ @@ -94,8 +94,12 @@
#define _STRING_H_ #define _STRING_H_
#include <vga.h> #include <vga.h>
@ -11,7 +11,7 @@ Index: gnuplot-4.4.0/term/linux.trm
+static int linux_vmode = G320x240x16M32; /* default mode */ +static int linux_vmode = G320x240x16M32; /* default mode */
+/* static int vgacolor[] = { 7, 8, 2, 3, 4, 5, 9, 14, 12, 15, 13, 10, 11, 1, 6 }; */ +/* static int vgacolor[] = { 7, 8, 2, 3, 4, 5, 9, 14, 12, 15, 13, 10, 11, 1, 6 }; */
+static int vgacolor[] = { +static int vgacolor[] = {
+ 0x808080, 0xc0c0c0, 0x008000, 0x008080, 0x800000, 0x800080, + 0xc0c0c0, 0x808080, 0x008000, 0x008080, 0x800000, 0x800080,
+ 0x0000ff, 0xffff00, 0xff0000, 0xffffff, 0xff00ff, 0x00ff00, + 0x0000ff, 0xffff00, 0xff0000, 0xffffff, 0xff00ff, 0x00ff00,
+ 0x00ffff, 0x000080, 0x808000 }; + 0x00ffff, 0x000080, 0x808000 };
static int graphics_on = FALSE; static int graphics_on = FALSE;