File diff r28813:9053f0cc99ed → r28814:02b90af3b0cc
src/settings_gui.cpp
Show inline comments
 
@@ -1414,7 +1414,7 @@ uint BaseSettingEntry::Draw(GameSettings
 

	
 
	int x = rtl ? right : left;
 
	if (cur_row >= first_row) {
 
		int colour = GetColourGradient(COLOUR_ORANGE, SHADE_4);
 
		int colour = GetColourGradient(COLOUR_ORANGE, SHADE_NORMAL);
 
		y += (cur_row - first_row) * SETTING_HEIGHT; // Compute correct y start position
 

	
 
		/* Draw vertical for parent nesting levels */
 
@@ -2909,7 +2909,7 @@ void ShowGameSettings()
 
 */
 
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right)
 
{
 
	int colour = GetColourGradient(button_colour, SHADE_2);
 
	int colour = GetColourGradient(button_colour, SHADE_DARKER);
 
	Dimension dim = NWidgetScrollbar::GetHorizontalDimension();
 

	
 
	Rect lr = {x,                  y, x + (int)dim.width     - 1, y + (int)dim.height - 1};
 
@@ -2940,7 +2940,7 @@ void DrawArrowButtons(int x, int y, Colo
 
 */
 
void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable)
 
{
 
	int colour = GetColourGradient(button_colour, SHADE_2);
 
	int colour = GetColourGradient(button_colour, SHADE_DARKER);
 

	
 
	Rect r = {x, y, x + SETTING_BUTTON_WIDTH - 1, y + SETTING_BUTTON_HEIGHT - 1};