Ejemplo n.º 1
0
void ui_acia128_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_gui128(), translate_text(IDS_ACIA_SETTINGS), ui_to_from128);
}
Ejemplo n.º 2
0
void ui_ds12c887rtc_c128_settings_dialog(video_canvas_t *canvas)
{
    APTR window;

    ds12c887rtc_canvas = canvas;
    intl_convert_mui_table(ui_ds12c887rtc_enable_translate, ui_ds12c887rtc_enable);

    window = mui_make_simple_window(build_gui128(), translate_text(IDS_DS12C887RTC_SETTINGS));

    if (window != NULL) {
        mui_add_window(window);
        ui_get_to(ui_to_from128);
        set(window, MUIA_Window_Open, TRUE);
        if (mui_run() == BTN_OK) {
            ui_get_from(ui_to_from128);
        }
        set(window, MUIA_Window_Open, FALSE);
        mui_rem_window(window);
        MUI_DisposeObject(window);
    }
}
Ejemplo n.º 3
0
void ui_sid_settings128_dialog(void)
{
    APTR window;

    intl_convert_mui_table(ui_sid_samplemethod_translate, ui_sid_samplemethod);
    intl_convert_mui_table(ui_sid_enable_translate, ui_sid_enable);

    window = mui_make_simple_window(build_gui128(), translate_text(IDS_SID_SETTINGS));

    if (window != NULL) {
        mui_add_window(window);
        ui_get_to(ui_to_from128);
        set(window, MUIA_Window_Open, TRUE);
        if (mui_run() == BTN_OK) {
            ui_get_from(ui_to_from128);
        }
        set(window, MUIA_Window_Open, FALSE);
        mui_rem_window(window);
        MUI_DisposeObject(window);
    }
}