Esempio n. 1
0
static MENU_UPDATE_FUNC(delete_config_update)
{
    if (config_deleted)
    {
        MENU_SET_RINFO("Restart");
        MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "Restart your camera to complete the process.");
    }

    MENU_SET_HELP("Only the current preset: %s", get_config_dir());
}
Esempio n. 2
0
static MENU_UPDATE_FUNC(focus_stack_update)
{
    if (FOCUS_BRACKET_COUNT <= 1)
    {
        MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "Focus stacking not configured.");
    }
    else
    {
        MENU_SET_VALUE(
            "(%d pics)",
            FOCUS_BRACKET_COUNT
        );
    }
}
Esempio n. 3
0
static MENU_UPDATE_FUNC(post_deflicker_update)
{
    if (!can_use_raw_overlays_photo())
        MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "Photo RAW data not available.");

    if (is_hdr_bracketing_enabled())
        MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "Not compatible with HDR bracketing.");

    if (image_review_time == 0)
        MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "Enable image review from Canon menu.");
    
    if (is_continuous_drive())
        MENU_SET_WARNING(MENU_WARN_ADVICE, "Not fully compatible with continuous drive.");

    if (post_deflicker)
    {
        MENU_SET_VALUE(post_deflicker_sidecar_type ? "UFRaw" : "XMP");
        MENU_SET_RINFO("%dEV/%d%%", post_deflicker_target_level, post_deflicker_percentile);
    }
    
    if (post_deflicker && post_deflicker_sidecar_type==1)
        MENU_SET_WARNING(MENU_WARN_INFO, "You must rename *.UFR to *.ufraw: rename 's/UFR$/ufraw/' *");
}
Esempio n. 4
0
static MENU_UPDATE_FUNC(gps_powersave_tweak_update)
{
    if (!gps_powersave_tweak)
    {
        return;
    }
    
    switch (gps_state)
    {
        case GPS_OFF:
            MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "GPS is turned off from Canon menu, nothing to do.");
            break;
        case GPS_EXTERNAL:
            MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "GPS set to external; this feature is only for the internal one.");
            break;
        case GPS_INTERNAL:
            MENU_SET_WARNING(MENU_WARN_INFO,        "Internal GPS will be re-enabled at next startup.");
            break;
        default:
            MENU_SET_WARNING(MENU_WARN_NOT_WORKING, "GPS broken (unknown state 0x%x)", gps_state);
            break;
    }
}