mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
- settings.h: use CORNER_RADIUS_NONE defines ...
to determinate RADIUS defines Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -921,10 +921,10 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO
|
||||
#define CORNER_RADIUS_MIN CFrameBuffer::getInstance()->scale2Res(3)
|
||||
#define CORNER_RADIUS_NONE 0
|
||||
|
||||
#define RADIUS_LARGE (g_settings.rounded_corners ? CORNER_RADIUS_LARGE : 0)
|
||||
#define RADIUS_MID (g_settings.rounded_corners ? CORNER_RADIUS_MID : 0)
|
||||
#define RADIUS_SMALL (g_settings.rounded_corners ? CORNER_RADIUS_SMALL : 0)
|
||||
#define RADIUS_MIN (g_settings.rounded_corners ? CORNER_RADIUS_MIN : 0)
|
||||
#define RADIUS_LARGE (g_settings.rounded_corners ? CORNER_RADIUS_LARGE : CORNER_RADIUS_NONE)
|
||||
#define RADIUS_MID (g_settings.rounded_corners ? CORNER_RADIUS_MID : CORNER_RADIUS_NONE)
|
||||
#define RADIUS_SMALL (g_settings.rounded_corners ? CORNER_RADIUS_SMALL : CORNER_RADIUS_NONE)
|
||||
#define RADIUS_MIN (g_settings.rounded_corners ? CORNER_RADIUS_MIN : CORNER_RADIUS_NONE)
|
||||
#define RADIUS_NONE 0
|
||||
|
||||
// offsets
|
||||
|
Reference in New Issue
Block a user