Index: apps/installer-nano2g/flashfiles/iloader.conf |
— | — | @@ -18,11 +18,11 @@ |
19 | 19 | menu(nothememenu, 0, 0xffffffff, 0xfffffffe, 0xffffffff, 0xfffffffe, 0)
|
20 | 20 |
|
21 | 21 | nothememenu:
|
22 | | - .menuentry(" Uninstall iLoader \0", 16, 56, 0x0000, 0xffff, 0xffff, 0x1f00, uninstall)
|
23 | | - .menuentry(" Enter disk mode \0", 16, 64, 0x0000, 0xffff, 0xffff, 0x1f00, diskmode)
|
24 | | - .menuentry(" Run UMSboot \0", 16, 72, 0x0000, 0xffff, 0xffff, 0x1f00, umsboot)
|
25 | | - .menuentry(" Quit iLoader \0", 16, 80, 0x0000, 0xffff, 0xffff, 0x1f00, quit)
|
26 | | - .menuentry(" Power off \0", 16, 88, 0x0000, 0xffff, 0xffff, 0x1f00, off)
|
| 22 | + .menuentry(" Uninstall iLoader \0", 16, 56, 0x0000, 0xffff, 0xffff, 0x001f, uninstall)
|
| 23 | + .menuentry(" Enter disk mode \0", 16, 64, 0x0000, 0xffff, 0xffff, 0x001f, diskmode)
|
| 24 | + .menuentry(" Run UMSboot \0", 16, 72, 0x0000, 0xffff, 0xffff, 0x001f, umsboot)
|
| 25 | + .menuentry(" Quit iLoader \0", 16, 80, 0x0000, 0xffff, 0xffff, 0x001f, quit)
|
| 26 | + .menuentry(" Power off \0", 16, 88, 0x0000, 0xffff, 0xffff, 0x001f, off)
|
27 | 27 | .word(0)
|
28 | 28 |
|
29 | 29 | diskmode:
|
Index: apps/installer-nano2g/main.c |
— | — | @@ -602,7 +602,7 @@ |
603 | 603 | renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
|
604 | 604 | displaylcd(0, 175, 0, 131, lcdbuffer, 0);
|
605 | 605 | free(bmpbuffer);
|
606 | | - progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 100);
|
| 606 | + progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 100);
|
607 | 607 |
|
608 | 608 | syscfgptr = malloc(0x1000);
|
609 | 609 | if (appleflash)
|
— | — | @@ -775,7 +775,7 @@ |
776 | 776 | renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
|
777 | 777 | displaylcd(0, 175, 0, 131, lcdbuffer, 0);
|
778 | 778 | free(bmpbuffer);
|
779 | | - progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 100);
|
| 779 | + progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 100);
|
780 | 780 | if (fat32_resize_fulldisk(&progressbar))
|
781 | 781 | panic(PANIC_KILLTHREAD, "Data flash I/O error!");
|
782 | 782 | }
|
— | — | @@ -786,7 +786,7 @@ |
787 | 787 | bmpbuffer, &dummy);
|
788 | 788 | renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
|
789 | 789 | displaylcd(0, 175, 0, 131, lcdbuffer, 0);
|
790 | | - progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 100);
|
| 790 | + progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 100);
|
791 | 791 | disk_mount(0);
|
792 | 792 | int updating = mkdir("/iLoader");
|
793 | 793 | int status;
|
— | — | @@ -800,7 +800,7 @@ |
801 | 801 | status = script[sp + 2] + script[sp + 3];
|
802 | 802 | sp += 4;
|
803 | 803 | }
|
804 | | - progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, status);
|
| 804 | + progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, status);
|
805 | 805 | status = 0;
|
806 | 806 | while (script[sp])
|
807 | 807 | {
|
— | — | @@ -858,7 +858,7 @@ |
859 | 859 | ucl_decompress(bitmapdata[BMPIDX_FLASHING], bitmapsize[BMPIDX_FLASHING], bmpbuffer, &dummy);
|
860 | 860 | renderbmp(&lcdbuffer[176 * 36], bmpbuffer, 176);
|
861 | 861 | displaylcd(0, 175, 0, 131, lcdbuffer, 0);
|
862 | | - progressbar_init(&progressbar, 15, 160, 50, 60, 0xce79, 0x18e3, 0x7bf9, 0, 256);
|
| 862 | + progressbar_init(&progressbar, 15, 160, 50, 60, 0x79ce, 0xe318, 0xf97b, 0, 256);
|
863 | 863 | for (i = 0; i < 256; i++)
|
864 | 864 | {
|
865 | 865 | bootflash_writeraw(&norbuf[i << 12], i << 12, 1 << 12);
|