| Index: apps/bootmenu-ipodclassic/images/icons.psd |
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Index: apps/bootmenu-ipodclassic/images/icons.png |
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Index: apps/bootmenu-ipodclassic/main.c |
| — | — | @@ -377,10 +377,10 @@ |
| 378 | 378 |
|
| 379 | 379 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_powerdown =
|
| 380 | 380 | {
|
| 381 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 56)),
|
| 382 | | - LIBUI_POINT(80, 79)),
|
| 383 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 56)),
|
| 384 | | - LIBUI_POINT(80, 79)),
|
| | 381 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
|
| | 382 | + LIBUI_POINT(80, 80)),
|
| | 383 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
|
| | 384 | + LIBUI_POINT(80, 80)),
|
| 385 | 385 | .text = "Power off",
|
| 386 | 386 | .text_color = 0xffffcccc,
|
| 387 | 387 | };
|
| — | — | @@ -393,10 +393,10 @@ |
| 394 | 394 |
|
| 395 | 395 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_rockbox =
|
| 396 | 396 | {
|
| 397 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
|
| 398 | | - LIBUI_POINT(80, 25)),
|
| 399 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
|
| 400 | | - LIBUI_POINT(80, 25)),
|
| | 397 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 80)),
|
| | 398 | + LIBUI_POINT(80, 80)),
|
| | 399 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 80)),
|
| | 400 | + LIBUI_POINT(80, 80)),
|
| 401 | 401 | .text = "Rockbox",
|
| 402 | 402 | .text_color = 0xffffcccc,
|
| 403 | 403 | };
|
| — | — | @@ -429,10 +429,10 @@ |
| 430 | 430 |
|
| 431 | 431 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_console =
|
| 432 | 432 | {
|
| 433 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 25)),
|
| 434 | | - LIBUI_POINT(80, 31)),
|
| 435 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 25)),
|
| 436 | | - LIBUI_POINT(80, 31)),
|
| | 433 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 160)),
|
| | 434 | + LIBUI_POINT(80, 80)),
|
| | 435 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 160)),
|
| | 436 | + LIBUI_POINT(80, 80)),
|
| 437 | 437 | .text = "emCORE console",
|
| 438 | 438 | .text_color = 0xffffcccc,
|
| 439 | 439 | };
|
| — | — | @@ -439,10 +439,10 @@ |
| 440 | 440 |
|
| 441 | 441 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_toolchooser =
|
| 442 | 442 | {
|
| 443 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 136)),
|
| 444 | | - LIBUI_POINT(80, 84)),
|
| 445 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 136)),
|
| 446 | | - LIBUI_POINT(80, 84)),
|
| | 443 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 240)),
|
| | 444 | + LIBUI_POINT(80, 80)),
|
| | 445 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 240)),
|
| | 446 | + LIBUI_POINT(80, 80)),
|
| 447 | 447 | .text = "Tools",
|
| 448 | 448 | .text_color = 0xffffcccc,
|
| 449 | 449 | };
|
| Index: apps/bootmenu-ipodnano2g/images/icons.psd |
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Index: apps/bootmenu-ipodnano2g/images/icons.png |
| Cannot display: file marked as a binary type. |
| svn:mime-type = application/octet-stream |
| Index: apps/bootmenu-ipodnano2g/main.c |
| — | — | @@ -449,9 +449,9 @@ |
| 450 | 450 |
|
| 451 | 451 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_powerdown =
|
| 452 | 452 | {
|
| 453 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 31)),
|
| | 453 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 0)),
|
| 454 | 454 | LIBUI_POINT(44, 44)),
|
| 455 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 31)),
|
| | 455 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 0)),
|
| 456 | 456 | LIBUI_POINT(44, 44)),
|
| 457 | 457 | .text = "Power off",
|
| 458 | 458 | .text_color = 0xffffcccc,
|
| — | — | @@ -465,10 +465,10 @@ |
| 466 | 466 |
|
| 467 | 467 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_crapple =
|
| 468 | 468 | {
|
| 469 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 123)),
|
| 470 | | - LIBUI_POINT(44, 43)),
|
| 471 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 123)),
|
| 472 | | - LIBUI_POINT(44, 43)),
|
| | 469 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 44)),
|
| | 470 | + LIBUI_POINT(44, 44)),
|
| | 471 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 44)),
|
| | 472 | + LIBUI_POINT(44, 44)),
|
| 473 | 473 | .text = "Original firmware",
|
| 474 | 474 | .text_color = 0xffffcccc,
|
| 475 | 475 | };
|
| — | — | @@ -494,10 +494,10 @@ |
| 495 | 495 |
|
| 496 | 496 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_rockbox =
|
| 497 | 497 | {
|
| 498 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 0)),
|
| 499 | | - LIBUI_POINT(44, 14)),
|
| 500 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 0)),
|
| 501 | | - LIBUI_POINT(44, 14)),
|
| | 498 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 88)),
|
| | 499 | + LIBUI_POINT(44, 44)),
|
| | 500 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 88)),
|
| | 501 | + LIBUI_POINT(44, 44)),
|
| 502 | 502 | .text = "Rockbox",
|
| 503 | 503 | .text_color = 0xffffcccc,
|
| 504 | 504 | };
|
| — | — | @@ -528,22 +528,12 @@ |
| 529 | 529 | }
|
| 530 | 530 | }
|
| 531 | 531 |
|
| 532 | | -struct chooser_renderer_iconflow_itemdata mainchooser_rparams_console =
|
| 533 | | -{
|
| 534 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 14)),
|
| 535 | | - LIBUI_POINT(44, 17)),
|
| 536 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 14)),
|
| 537 | | - LIBUI_POINT(44, 17)),
|
| 538 | | - .text = "emCORE console",
|
| 539 | | - .text_color = 0xffffcccc,
|
| 540 | | -};
|
| 541 | | -
|
| 542 | 532 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_diskmode =
|
| 543 | 533 | {
|
| 544 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 166)),
|
| 545 | | - LIBUI_POINT(44, 31)),
|
| 546 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 166)),
|
| 547 | | - LIBUI_POINT(44, 31)),
|
| | 534 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 132)),
|
| | 535 | + LIBUI_POINT(44, 44)),
|
| | 536 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 132)),
|
| | 537 | + LIBUI_POINT(44, 44)),
|
| 548 | 538 | .text = "Disk mode",
|
| 549 | 539 | .text_color = 0xffffcccc,
|
| 550 | 540 | };
|
| — | — | @@ -558,12 +548,22 @@ |
| 559 | 549 | }
|
| 560 | 550 | }
|
| 561 | 551 |
|
| | 552 | +struct chooser_renderer_iconflow_itemdata mainchooser_rparams_console =
|
| | 553 | +{
|
| | 554 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 176)),
|
| | 555 | + LIBUI_POINT(44, 44)),
|
| | 556 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 176)),
|
| | 557 | + LIBUI_POINT(44, 44)),
|
| | 558 | + .text = "emCORE console",
|
| | 559 | + .text_color = 0xffffcccc,
|
| | 560 | +};
|
| | 561 | +
|
| 562 | 562 | struct chooser_renderer_iconflow_itemdata mainchooser_rparams_toolchooser =
|
| 563 | 563 | {
|
| 564 | | - .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 75)),
|
| 565 | | - LIBUI_POINT(44, 47)),
|
| 566 | | - .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 75)),
|
| 567 | | - LIBUI_POINT(44, 47)),
|
| | 564 | + .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 220)),
|
| | 565 | + LIBUI_POINT(44, 44)),
|
| | 566 | + .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 44), LIBUI_POINT(0, 220)),
|
| | 567 | + LIBUI_POINT(44, 44)),
|
| 568 | 568 | .text = "Tools",
|
| 569 | 569 | .text_color = 0xffffcccc,
|
| 570 | 570 | };
|
| — | — | @@ -650,14 +650,14 @@ |
| 651 | 651 | .renderparams = &mainchooser_rparams_rockbox
|
| 652 | 652 | },
|
| 653 | 653 | {
|
| 654 | | - .user = NULL,
|
| | 654 | + .user = run_diskmode,
|
| 655 | 655 | .actionparams = NULL,
|
| 656 | | - .renderparams = &mainchooser_rparams_console
|
| | 656 | + .renderparams = &mainchooser_rparams_diskmode
|
| 657 | 657 | },
|
| 658 | 658 | {
|
| 659 | | - .user = run_diskmode,
|
| | 659 | + .user = NULL,
|
| 660 | 660 | .actionparams = NULL,
|
| 661 | | - .renderparams = &mainchooser_rparams_diskmode
|
| | 661 | + .renderparams = &mainchooser_rparams_console
|
| 662 | 662 | },
|
| 663 | 663 | {
|
| 664 | 664 | .user = run_toolchooser,
|