mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
settings.h: use CORNER_RADIUS_NONE defines ...
to determinate RADIUS defines
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: d7ce3dbf4c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
Origin message was:
------------------
- 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