static void pet_ui_specific(WPARAM wparam, HWND hwnd) { switch (wparam) { case IDM_PET_SETTINGS: ui_pet_settings_dialog(hwnd); break; case IDM_PETREU_SETTINGS: ui_petreu_settings_dialog(hwnd); break; case IDM_SIDCART_SETTINGS: ui_sidcart_settings_dialog(hwnd); break; case IDM_ROM_SETTINGS: uirom_settings_dialog(hwnd, translate_res(IDD_PETROM_SETTINGS_DIALOG), translate_res(IDD_PETDRIVEROM_SETTINGS_DIALOG), romset_dialog_resources, uirom_settings); break; case IDM_VIDEO_SETTINGS: ui_video_settings_dialog(hwnd, UI_VIDEO_CHIP_CRTC, UI_VIDEO_CHIP_NONE); break; case IDM_DRIVE_SETTINGS: uidrivepetcbm2_settings_dialog(hwnd); break; case IDM_ACIA_SETTINGS: ui_acia_settings_dialog(hwnd, 0, NULL, 0, 0); break; case IDM_KEYBOARD_SETTINGS: uikeyboard_settings_dialog(hwnd, &uikeyboard_config); break; } }
static void pet_ui_specific(WPARAM wparam, HWND hwnd) { switch (wparam) { case IDM_PETMODEL_SETTINGS: ui_petmodel_settings_dialog(hwnd); break; case IDM_PET_SETTINGS: ui_pet_settings_dialog(hwnd); break; case IDM_PETCOLOUR_SETTINGS: ui_petcolour_settings_dialog(hwnd); break; case IDM_PETDWW_SETTINGS: ui_petdww_settings_dialog(hwnd); break; case IDM_PETREU_SETTINGS: ui_petreu_settings_dialog(hwnd); break; case IDM_SIDCART_SETTINGS: ui_sidcart_settings_dialog(hwnd); break; case IDM_ROM_SETTINGS: uirom_settings_dialog(hwnd, IDD_PETROM_SETTINGS_DIALOG, IDD_PETDRIVEROM_SETTINGS_DIALOG, uirom_settings, pet_main_trans, pet_drive_trans, pet_generic_trans, pet_main_left_group, pet_main_middle_group, pet_main_right_group, pet_drive_left_group, pet_drive_middle_group, pet_drive_right_group); break; case IDM_VIDEO_SETTINGS: ui_video_settings_dialog(hwnd, UI_VIDEO_CHIP_CRTC, UI_VIDEO_CHIP_NONE); break; case IDM_DRIVE_SETTINGS: uidrivepetcbm2_settings_dialog(hwnd); break; case IDM_ACIA_SETTINGS: ui_acia_settings_dialog(hwnd); break; case IDM_EXTRA_JOY_SETTINGS: ui_extra_joystick_settings_dialog(hwnd); break; case IDM_KEYBOARD_SETTINGS: uikeyboard_settings_dialog(hwnd, &uikeyboard_config); break; } }