Пример #1
0
int cbm2ui_init(void)
{
    ui_set_application_icon(cbm2_icon_data);
    cbm2ui_dynamic_menu_create();
    ui_set_left_menu(cbm2_left_menu);

    ui_set_right_menu(cbm6x0_right_menu);
    ui_set_topmenu(cbm6x0_top_menu);

    ui_set_tape_menu(cbm2_tape_menu);
    ui_set_speedmenu(ui_performance_settings_menu);
    ui_update_menus();

    return 0;
}
Пример #2
0
int cbm5x0ui_init(void)
{
    ui_set_application_icon(cbm2_icon_data);
    cbm2ui_dynamic_menu_create();
    ui_set_left_menu(cbm2_left_menu);

    ui_set_right_menu(cbm5x0_right_menu);
    ui_set_topmenu(cbm5x0_top_menu);

    ui_set_tape_menu(cbm2_tape_menu);
    ui_set_speedmenu(ui_performance_settings_menu);

    ui_set_drop_callback(uiattach_autostart_file);

    ui_update_menus();

    return 0;
}
Пример #3
0
int cbm2ui_init(void)
{
    memcpy(set_video_standard_submenu,
           set_video_standard_cbm2_submenu,
           sizeof(set_video_standard_cbm2_submenu));

    ui_set_application_icon(cbm2_icon_data);
    cbm2ui_dynamic_menu_create();
    ui_set_left_menu(cbm2_left_menu);


    ui_set_right_menu(cbm2_right_menu);

    ui_set_tape_menu(cbm2_tape_menu);
    ui_set_topmenu(cbm2_top_menu);
    ui_set_speedmenu(ui_performance_settings_menu);
    ui_update_menus();

    return 0;
}