- add and use FRAME_WIDTH defines; ...

replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-09-20 13:46:31 +02:00
committed by Thilo Graf
parent ecdc1acb9f
commit 6ee3e54741
15 changed files with 18 additions and 17 deletions

View File

@@ -944,6 +944,7 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO
#define SCROLLBAR_WIDTH (OFFSET_INNER_MID + 2*OFFSET_INNER_MIN)
#define FRAME_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(2)
#define FRAME_WIDTH_NONE 0
#define DETAILSLINE_WIDTH CFrameBuffer::getInstance()->scale2Res(16)