changeset 2203:b259312ddb59

Add description field to DMC64Palette.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 01:58:05 +0300
parents 455a3849b8ac
children cbac4912992c
files tools/lib64gfx.c tools/lib64gfx.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri Jun 14 01:56:47 2019 +0300
+++ b/tools/lib64gfx.c	Fri Jun 14 01:58:05 2019 +0300
@@ -18,7 +18,8 @@
 DMC64Palette dmC64DefaultPalettes[] =
 {
     {
-        "Pepto",
+        "pepto",
+        "Pepto's classic (default)",
         {
             { 0x00, 0x00, 0x00, 0xff },
             { 0xFF, 0xFF, 0xFF, 0xff },
@@ -39,6 +40,7 @@
         },
     },
     {
+        "colodore",
         "Colodore",
         {
             { 0x00, 0x00, 0x00, 0xff },
@@ -60,6 +62,7 @@
         },
     },
     {
+        "vice3",
         "VICE 3.3",
         {
             { 0x00, 0x00, 0x00, 0xff },
--- a/tools/lib64gfx.h	Fri Jun 14 01:56:47 2019 +0300
+++ b/tools/lib64gfx.h	Fri Jun 14 01:58:05 2019 +0300
@@ -154,6 +154,7 @@
 typedef struct
 {
     char *name;
+    char *desc;
     DMColor colors[D64_NCOLORS];
 } DMC64Palette;