Example #1
0
void ui_acia4_settings_dialog(void)
{
    intl_convert_mui_table(ui_acia_enable_translate, ui_acia_enable);
    intl_convert_mui_table(ui_acia_device_translate, ui_acia_device);
    intl_convert_mui_table(ui_acia_interrupt_translate, ui_acia_interrupt);
    mui_show_dialog(build_gui4(), translate_text(IDS_ACIA_SETTINGS), ui_to_from4);
}
Example #2
0
void ui_sound_settings_dialog(void)
{
    intl_convert_mui_table(ui_sound_adjusting_translate, ui_sound_adjusting);
    intl_convert_mui_table(ui_sound_fragment_size_translate, ui_sound_fragment_size);
    intl_convert_mui_table(ui_sound_output_mode_translate, ui_sound_output_mode);
    mui_show_dialog(build_gui(), translate_text(IDS_SOUND_SETTINGS), ui_to_from);
}
Example #3
0
void ui_joystick_settings_plus4_dialog(void)
{
    intl_convert_mui_table(ui_joystick_translate, ui_joystick);
    intl_convert_mui_table(ui_joystick_enable_translate, ui_joystick_enable);
    intl_convert_mui_table(ui_userport_joystick_translate, ui_userport_joystick);
    mui_show_dialog(build_gui_plus4(), translate_text(IDS_JOYSTICK_SETTINGS), ui_to_from_plus4);
}
Example #4
0
void ui_sidcart_plus4_settings_dialog(char *addr1, char *addr2, char *clock)
{
    intl_convert_mui_table(ui_sidcart_enable_translate, ui_sidcart_enable);
    ui_sidcart_address[0] = addr1;
    ui_sidcart_address[1] = addr2;
    ui_sidcart_clock[1] = clock;
    mui_show_dialog(build_gui_plus4(), translate_text(IDS_SIDCART_SETTINGS), ui_to_from);
}
Example #5
0
void ui_show_text(const char *title, const char *description, const char *text)
{
    APTR gui = GroupObject,
                 Child, LLabel(description),
                 Child, List(text),
               End;

    mui_show_dialog(gui, (char *)title, NULL);
}
Example #6
0
void uidrivepetcbm2_settings_dialog(void)
{
    intl_convert_mui_table(drive_number_strings_translate, drive_number_strings);
    intl_convert_mui_table(drive_type_strings_translate, drive_type_strings_8);
    intl_convert_mui_table(drive_type_strings_translate, drive_type_strings_9);
    intl_convert_mui_table(drive_type_strings_translate, drive_type_strings_10);
    intl_convert_mui_table(drive_type_strings_translate, drive_type_strings_11);
    intl_convert_mui_table(drive_extend_strings_translate, drive_extend_strings);
    mui_show_dialog(build_gui(), translate_text(IDS_DRIVE_SETTINGS), ui_to_from);
}
Example #7
0
void ui_about(void)
{
    APTR gui = GroupObject, End;
    int i = 0;
    static const char *authors_start[] = {
        "VICE",
        "",
        "Versatile Commodore Emulator",
        "",
#ifdef USE_SVN_REVISION
        "Version " VERSION "rev " VICE_SVN_REV_STRING " (" PLATFORM_CPU " " PLATFORM_OS " " PLATFORM_COMPILER ")",
#else
        "Version " VERSION " (" PLATFORM_CPU " " PLATFORM_OS " " PLATFORM_COMPILER ")",
#endif
        "",
        "The VICE Team",
        NULL};

    static const char *authors_end[] = {
        "",
        "Official VICE homepage:",
        "http://vice-emu.sourceforge.net/",
        NULL};

    char *tmp = NULL;

    for (i = 0; authors_start[i] != NULL; i++) {
        if (i <= 5) { /* centered */
            DoMethod(gui, OM_ADDMEMBER, CLabel(authors_start[i]));
        } else {
            DoMethod(gui, OM_ADDMEMBER, LLabel(authors_start[i]));
        }
    }

    for (i = 0; core_team[i].name; i++) {
        tmp = util_concat("Copyright \xa9 ", core_team[i].years, " ", core_team[i].name, NULL);
        DoMethod(gui, OM_ADDMEMBER, LLabel(tmp));
        lib_free(tmp);
    }

    for (i = 0; authors_end[i] != NULL; i++) {
        DoMethod(gui, OM_ADDMEMBER, LLabel(authors_end[i]));
    }

    mui_show_dialog(gui, translate_text(IDS_ABOUT), NULL);
}
Example #8
0
void ui_mouse_settings_dialog(void)
{
    intl_convert_mui_table(ui_mouse_type_translate, ui_mouse_type);
    intl_convert_mui_table(ui_mouse_port_translate, ui_mouse_port);
    mui_show_dialog(build_gui(), translate_text(IDS_MOUSE_SETTINGS), ui_to_from);
}
Example #9
0
void ui_vicii_settings_dialog(void)
{
    intl_convert_mui_table(ui_vicii_enable_translate, ui_vicii_enable);
    intl_convert_mui_table(ui_vicii_borders_translate, ui_vicii_borders);
    mui_show_dialog(build_gui(), translate_text(IDS_VICII_SETTINGS), ui_to_from);
}
Example #10
0
void ui_ted_settings_dialog(void)
{
    intl_convert_mui_table(ui_ted_borders_translate, ui_ted_borders);
    mui_show_dialog(build_gui(), translate_text(IDS_TED_SETTINGS), ui_to_from);
}
Example #11
0
void ui_vic_settings_dialog(void)
{
    intl_convert_mui_table(ui_vic20mem_enable_translate, ui_vic20mem_enable);
    mui_show_dialog(build_gui(), translate_text(IDS_VIC_SETTINGS), ui_to_from);
}
Example #12
0
void ui_ram_settings_dialog(void)
{
    mui_show_dialog(build_gui(), translate_text(IDS_RAM_SETTINGS), ui_to_from);
}
Example #13
0
void ui_joystick_fire_plus4_dialog(void)
{
    intl_convert_mui_table(ui_joystick_fire_translate, ui_joystick_fire);
    mui_show_dialog(build_gui_fire_plus4(), translate_text(IDMS_JOYSTICK_FIRE_SELECT), ui_to_from_fire);
}
Example #14
0
void ui_joystick_device_plus4_dialog(void)
{
    intl_convert_mui_table(ui_joystick_device_translate, ui_joystick_device);
    intl_convert_mui_table(ui_joystick_enable_translate, ui_joystick_enable);
    mui_show_dialog(build_gui_device_plus4(), translate_text(IDMS_JOYSTICK_DEVICE_SELECT), ui_to_from_device_plus4);
}
Example #15
0
void ui_acia_settings_dialog(void)
{
    intl_convert_mui_table(ui_acia_device_translate, ui_acia_device);
    mui_show_dialog(build_gui(), translate_text(IDS_ACIA_SETTINGS), ui_to_from);
}
Example #16
0
void ui_sound_settings_dialog(void)
{
  intl_convert_mui_table(ui_sound_oversample_translate, ui_sound_oversample);
  intl_convert_mui_table(ui_sound_adjusting_translate, ui_sound_adjusting);
  mui_show_dialog(build_gui(), translate_text(IDS_SOUND_SETTINGS), ui_to_from);
}