Subversion Repositories freemyipod

Rev

Rev 768 | Rev 806 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 768 Rev 777
Line 375... Line 375...
375
    return false;
375
    return false;
376
}
376
}
377
 
377
 
378
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_powerdown =
378
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_powerdown =
379
{
379
{
380
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 56)),
380
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
381
                          LIBUI_POINT(80, 79)),
381
                          LIBUI_POINT(80, 80)),
382
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 56)),
382
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
383
                                   LIBUI_POINT(80, 79)),
383
                                   LIBUI_POINT(80, 80)),
384
    .text = "Power off",
384
    .text = "Power off",
385
    .text_color = 0xffffcccc,
385
    .text_color = 0xffffcccc,
386
};
386
};
387
 
387
 
388
void run_powerdown(void** firmware, void** app, int* size)
388
void run_powerdown(void** firmware, void** app, int* size)
Line 391... Line 391...
391
    power_off();
391
    power_off();
392
}
392
}
393
 
393
 
394
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_rockbox =
394
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_rockbox =
395
{
395
{
396
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
396
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 80)),
397
                          LIBUI_POINT(80, 25)),
397
                          LIBUI_POINT(80, 80)),
398
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 0)),
398
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 80)),
399
                                   LIBUI_POINT(80, 25)),
399
                                   LIBUI_POINT(80, 80)),
400
    .text = "Rockbox",
400
    .text = "Rockbox",
401
    .text_color = 0xffffcccc,
401
    .text_color = 0xffffcccc,
402
};
402
};
403
 
403
 
404
void run_rockbox(void** firmware, void** app, int* size)
404
void run_rockbox(void** firmware, void** app, int* size)
Line 427... Line 427...
427
    }
427
    }
428
}
428
}
429
 
429
 
430
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_console =
430
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_console =
431
{
431
{
432
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 25)),
432
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 160)),
433
                          LIBUI_POINT(80, 31)),
433
                          LIBUI_POINT(80, 80)),
434
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 25)),
434
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 160)),
435
                                   LIBUI_POINT(80, 31)),
435
                                   LIBUI_POINT(80, 80)),
436
    .text = "emCORE console",
436
    .text = "emCORE console",
437
    .text_color = 0xffffcccc,
437
    .text_color = 0xffffcccc,
438
};
438
};
439
 
439
 
440
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_toolchooser =
440
struct chooser_renderer_iconflow_itemdata mainchooser_rparams_toolchooser =
441
{
441
{
442
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 136)),
442
    .icon = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 240)),
443
                          LIBUI_POINT(80, 84)),
443
                          LIBUI_POINT(80, 80)),
444
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 136)),
444
    .icon_selected = LIBUI_SURFACE(LIBUI_LOCATION(LIBUI_BUFFER(NULL, 80), LIBUI_POINT(0, 240)),
445
                                   LIBUI_POINT(80, 84)),
445
                                   LIBUI_POINT(80, 80)),
446
    .text = "Tools",
446
    .text = "Tools",
447
    .text_color = 0xffffcccc,
447
    .text_color = 0xffffcccc,
448
};
448
};
449
 
449
 
450
static void run_toolchooser(void** firmware, void** app, int* size)
450
static void run_toolchooser(void** firmware, void** app, int* size)