Merge branch 'master' into jgrpp
# Conflicts: # CMakeLists.txt # bin/ai/CMakeLists.txt # bin/game/CMakeLists.txt # src/ai/ai_info.cpp # src/company_base.h # src/economy.cpp # src/game/game_info.cpp # src/gfx_type.h # src/linkgraph/linkgraph_gui.cpp # src/palette.cpp # src/palette_func.h # src/saveload/saveload.h # src/saveload/vehicle_sl.cpp # src/ship_cmd.cpp # src/train_cmd.cpp # src/vehicle_base.h # src/window.cpp # src/window_func.h
This commit is contained in:
@@ -1508,7 +1508,7 @@ uint BaseSettingEntry::Draw(GameSettings *settings_ptr, int left, int right, int
|
||||
|
||||
int x = rtl ? right : left;
|
||||
if (cur_row >= first_row) {
|
||||
int colour = _colour_gradient[COLOUR_ORANGE][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 */
|
||||
@@ -3445,7 +3445,7 @@ void ShowGameSettings()
|
||||
*/
|
||||
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right)
|
||||
{
|
||||
int colour = _colour_gradient[button_colour][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};
|
||||
@@ -3476,7 +3476,7 @@ void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clic
|
||||
*/
|
||||
void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable)
|
||||
{
|
||||
int colour = _colour_gradient[button_colour][2];
|
||||
int colour = GetColourGradient(button_colour, SHADE_DARKER);
|
||||
|
||||
Rect r = {x, y, x + SETTING_BUTTON_WIDTH - 1, y + SETTING_BUTTON_HEIGHT - 1};
|
||||
|
||||
|
Reference in New Issue
Block a user