mirror of https://github.com/PCSX2/pcsx2.git
gsdx-gui-linux: add some tooltips for the hw options
This commit is contained in:
parent
921fa3bab8
commit
643b1647c4
|
@ -292,6 +292,11 @@ void populate_hw_table(GtkWidget* hw_table)
|
||||||
GtkWidget* acc_blend_check = CreateCheckBox("Accurate Blend", "accurate_blend", false);
|
GtkWidget* acc_blend_check = CreateCheckBox("Accurate Blend", "accurate_blend", false);
|
||||||
GtkWidget* acc_date_check = CreateCheckBox("Accurate Date", "accurate_date", false);
|
GtkWidget* acc_date_check = CreateCheckBox("Accurate Date", "accurate_date", false);
|
||||||
|
|
||||||
|
// Some helper string
|
||||||
|
gtk_widget_set_tooltip_text(paltex_check, dialog_message(IDC_PALTEX));
|
||||||
|
gtk_widget_set_tooltip_text(acc_blend_check, dialog_message(IDC_ACCURATE_BLEND));
|
||||||
|
gtk_widget_set_tooltip_text(acc_date_check, dialog_message(IDC_ACCURATE_DATE));
|
||||||
|
|
||||||
s_table_line = 0;
|
s_table_line = 0;
|
||||||
InsertWidgetInTable(hw_table, filter_label, filter_combo_box);
|
InsertWidgetInTable(hw_table, filter_label, filter_combo_box);
|
||||||
InsertWidgetInTable(hw_table, af_label, af_combo_box);
|
InsertWidgetInTable(hw_table, af_label, af_combo_box);
|
||||||
|
|
|
@ -92,6 +92,19 @@ const char* dialog_message(int ID, bool* updateText) {
|
||||||
" 0500 0500, fixes Persona 3 minimap, helps Haunting Ground.\n"
|
" 0500 0500, fixes Persona 3 minimap, helps Haunting Ground.\n"
|
||||||
" 0000 1000, fixes Xenosaga hair edges (DX10+ Issue)\n";
|
" 0000 1000, fixes Xenosaga hair edges (DX10+ Issue)\n";
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
case IDC_PALTEX:
|
||||||
|
return "When checked 4/8 bits texture will be send to the GPU with a palette. GPU will be in charge of the conversion. "
|
||||||
|
"(Note it was never tested on openGL)\n\n"
|
||||||
|
"When uncheked the CPU will convert directly the texture to 32 bits\n\n"
|
||||||
|
"It is a basically a trade-off between GPU/CPU";
|
||||||
|
case IDC_ACCURATE_DATE:
|
||||||
|
return "Implement a more accurate algorithm to compute GS destination alpha testing.\n\n"
|
||||||
|
"It could be slower when the effects are used.\n\nNote: it requires the 4.2 openGL extension GL_ARB_shader_image_load_store";
|
||||||
|
case IDC_ACCURATE_BLEND:
|
||||||
|
return "Allow to solve the impossible blending error message.\n\n"
|
||||||
|
"It could be slower when the effect are used.\n\nNote: it requires the 4.5 openGL extension GL_ARB_texture_barrier";
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
if (updateText)
|
if (updateText)
|
||||||
*updateText = false;
|
*updateText = false;
|
||||||
|
|
|
@ -62,6 +62,9 @@ enum {
|
||||||
IDC_STATIC_TCOFFSETX,
|
IDC_STATIC_TCOFFSETX,
|
||||||
IDC_TCOFFSETY,
|
IDC_TCOFFSETY,
|
||||||
IDC_TCOFFSETY2,
|
IDC_TCOFFSETY2,
|
||||||
IDC_STATIC_TCOFFSETY
|
IDC_STATIC_TCOFFSETY,
|
||||||
|
IDC_PALTEX,
|
||||||
|
IDC_ACCURATE_BLEND,
|
||||||
|
IDC_ACCURATE_DATE
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue