rgui: restore original ticker spacer

This commit is contained in:
natinusala 2019-02-21 12:01:42 +01:00
parent 6e20d216bd
commit 4d86030cc2

View File

@ -62,6 +62,8 @@
#define RGUI_TERM_WIDTH(width) (((width - RGUI_TERM_START_X(width) - RGUI_TERM_START_X(width)) / (FONT_WIDTH_STRIDE)))
#define RGUI_TERM_HEIGHT(width, height) (((height - RGUI_TERM_START_Y(height) - RGUI_TERM_START_X(width)) / (FONT_HEIGHT_STRIDE)) - 1)
#define RGUI_TICKER_SPACER " | "
typedef struct
{
uint32_t hover_color;
@ -1465,7 +1467,7 @@ static void rgui_frame(void *data, video_frame_info_t *video_info)
static void rgui_render(void *data, bool is_idle)
{
menu_animation_ctx_ticker_t ticker;
static const char* const ticker_spacer = TICKER_SPACER_DEFAULT;
static const char* const ticker_spacer = RGUI_TICKER_SPACER;
unsigned x, y;
size_t i, end, fb_pitch, old_start;
unsigned fb_width, fb_height;
@ -2305,7 +2307,7 @@ static void rgui_update_menu_sublabel(rgui_t *rgui)
if (!string_is_empty(entry.sublabel))
{
static const char* const sublabel_spacer = TICKER_SPACER_DEFAULT;
static const char* const sublabel_spacer = RGUI_TICKER_SPACER;
struct string_list *list = NULL;
size_t line_index;
bool prev_line_empty = true;