minor updated GUI
This commit is contained in:
@ -2833,6 +2833,7 @@ pw_tray_icon () {
|
||||
return 0
|
||||
}
|
||||
|
||||
# GUI EDIT_DB
|
||||
pw_gui_for_edit_db () {
|
||||
KEY_EDIT_DB_GUI=$RANDOM
|
||||
if [[ "${PW_WINE_CPU_TOPOLOGY}" == *[0-9]:* ]] && [[ "${PW_WINE_CPU_TOPOLOGY}" != "disabled" ]] ; then
|
||||
@ -2963,7 +2964,7 @@ A brief instruction:
|
||||
--field="$(eval_gettext "Force certain locale for an app:")!$(eval_gettext "Fixes encoding issues in legacy software") :CB" "${PW_LOCALE_SELECT}!disabled!$LOCALE_LIST" \
|
||||
1> "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" 2>/dev/null &
|
||||
|
||||
"${pw_yad}" --notebook --key="$KEY_EDIT_DB_GUI" --title "$(eval_gettext "EDIT DB")" --text-align=center --height="550" \
|
||||
"${pw_yad}" --notebook --key="$KEY_EDIT_DB_GUI" --title "$(eval_gettext "EDIT DB")" --text-align=center --height="600" \
|
||||
--text "$(eval_gettext "Change settings in database file for") <b>${PORTWINE_DB}</b>\n $(eval_gettext "<b>NOTE:</b> To display help for each item, simply hover your mouse over the text")" \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" --separator=" " --expand --center \
|
||||
--tab="$(eval_gettext "MAIN")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
@ -3245,6 +3246,7 @@ gui_proton_downloader () {
|
||||
}
|
||||
export -f gui_proton_downloader
|
||||
|
||||
# GUI VKBASALT
|
||||
gui_vkBasalt () {
|
||||
KEY_FX_GUI=$RANDOM
|
||||
FILE_VKBASALT_CONF="${PORT_WINE_PATH}/data/vkBasalt.conf"
|
||||
@ -3339,7 +3341,7 @@ gui_vkBasalt () {
|
||||
--field="AMD FidelityFX - Contrast Adaptive Sharpening"!"$(eval_gettext "AMD FidelityFX - CAS is designed to dramatically improve texture sharpness without additional modification settings for games, with minimal loss of performance. (For older games it is recommended to set value = 100)")":SCL "${VKBASALT_FFX_CAS_GUI}" \
|
||||
1> "${PORT_WINE_TMP_PATH}/tmp_yad_cas_set" 2>/dev/null &
|
||||
|
||||
"${pw_yad}" --paned --key="$KEY_FX_GUI" --height="550" --title="vkBasalt" --center \
|
||||
"${pw_yad}" --paned --key="$KEY_FX_GUI" --height="600" --title="vkBasalt" --center \
|
||||
--separator=" " --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--button="$(eval_gettext "CANCEL THE CHANGES")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Cancel the current changes and return to the previous menu")":1 \
|
||||
--button="$(eval_gettext "DISABLE VKBASALT")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(eval_gettext "Disable vkBasalt and go to the previous menu")":180 \
|
||||
@ -3800,6 +3802,7 @@ portwine_missing_shortcut () {
|
||||
exit 0
|
||||
}
|
||||
|
||||
# GUI WINETRICKS | GUI PREFIX MANAGER
|
||||
pw_prefix_manager () {
|
||||
update_winetricks
|
||||
start_portwine
|
||||
@ -3862,7 +3865,7 @@ pw_prefix_manager () {
|
||||
--column=set --column=dll --column=info < "${PORT_WINE_TMP_PATH}/settings_list_tmp" 1>> "${PORT_WINE_TMP_PATH}/to_winetricks" 2>/dev/null &
|
||||
|
||||
"${pw_yad}" --key=$KEY_EDIT_MANAGER_GUI --notebook \
|
||||
--width=900 --height=800 --expand \
|
||||
--width=700 --height=700 --expand \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" --title "$(eval_gettext 'PREFIX MANAGER')" \
|
||||
--button="$(eval_gettext "CANCEL")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":1 \
|
||||
--button="$(eval_gettext "OK")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":0 \
|
||||
|
Reference in New Issue
Block a user