Fixed compilation

This commit is contained in:
Sergii Pylypenko
2021-12-01 01:00:56 +02:00
parent 0117af167d
commit e69cf43dff
2 changed files with 3 additions and 7 deletions

View File

@@ -14,13 +14,9 @@
#include "widgets/dropdown_type.h"
/** Width of setting buttons */
#define SETTING_BUTTON_WIDTH (GetMinButtonSize() * 2)
#define SETTING_BUTTON_WIDTH ((int)GetMinButtonSize() * 2)
/** Height of setting buttons */
#define SETTING_BUTTON_HEIGHT (GetMinButtonSize())
extern int SETTING_BUTTON_WIDTH; ///< Width of setting buttons
extern int SETTING_BUTTON_HEIGHT; ///< Height of setting buttons
#define SETTING_BUTTON_HEIGHT ((int)GetMinButtonSize())
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable);