# HG changeset patch # User Matti Hamalainen # Date 1540283385 -10800 # Node ID 7401300452c201d264a14e17734a0195185c24df # Parent 9b715f7489b290b072be3bc3ee45bb56222aab18 Integrate the minor changes from Multipaint 2018b (v18.10.2018). diff -r 9b715f7489b2 -r 7401300452c2 events.pde --- a/events.pde Tue Sep 11 12:36:19 2018 +0300 +++ b/events.pde Tue Oct 23 11:29:45 2018 +0300 @@ -951,6 +951,7 @@ restore_undo(); refresh(); g_boxreconstruct = 2; + update_preview_window(); } if (g_data[int('U')] == 1) { @@ -958,6 +959,7 @@ message("Redo"); redo_undo(); refresh(); + update_preview_window(); } if (g_machine == SPECTRUM) diff -r 9b715f7489b2 -r 7401300452c2 interface.pde --- a/interface.pde Tue Sep 11 12:36:19 2018 +0300 +++ b/interface.pde Tue Oct 23 11:29:45 2018 +0300 @@ -166,7 +166,7 @@ // currently valid outputs are 0,10,20,1,11,21,2,12,22 // flat variants: 100,110,120,101,111,121,102,112,122 int base = 0; - if (g_aspect == AR_FLAT) base = 100; + if (g_aspect == AR_FLAT && !g_inhibit_aspect) base = 100; if (g_uiscale == 1) base += 10; if (g_uiscale == 3) base += 20; if (g_data[int('M')] == 1 && g_data[int('m')] == 1) g_data[int('m')] = 0; @@ -1244,7 +1244,7 @@ int bs = 8 * g_uiscale; int h = 0; if (g_button == RIGHT) h = 1; - e_rect(ox, oy, bs * 2, bs * 4, g_rgb[int(g_realback)]); + e_rect(ox, oy, bs * 2, bs * 4 - 1, g_rgb[int(g_realback)]); e_rect(ox + bs / 2, oy + 4 * g_uiscale, 12 * g_uiscale, bs * 2, g_rgb[int(g_realfront)]); if (doicon(ox, oy, bs * 2, bs * 3)) command(int('<')); if (g_machine == C64M || g_machine == MSX || g_machine == AMIGA) @@ -1298,7 +1298,7 @@ } else { - icontable(width - 32 * g_uiscale - 1, 0, 0, 1); + icontable(width - 32 * g_uiscale - 1, g_uiscale * 4, 0, 1); icontable(272 * g_uiscale, height - 32 * g_uiscale, 1, 1); palettebox(g_uiscale * 324 + 4, height - 32 * g_uiscale, width - (96 * g_uiscale) - 4); diff -r 9b715f7489b2 -r 7401300452c2 multipaint.pde --- a/multipaint.pde Tue Sep 11 12:36:19 2018 +0300 +++ b/multipaint.pde Tue Oct 23 11:29:45 2018 +0300 @@ -1,5 +1,5 @@ // -// Multipaint.JS 1.8.2018 +// Multipaint.JS v18.10.2018 // Tero Heikkinen (Dr. TerrorZ) // ProcessingJS port and changes by Matti Hämäläinen (ccr/TNSP) // processing setup draw and file things here @@ -261,7 +261,7 @@ sussborder(); setup_raster(); - message(" Multipaint| - 2018 -||v1.8.2018.JS"); + message(" Multipaint| .JS 2018 -|v18.10.2018"); message("*"); g_dirty = true; }