mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
themes: add option to enable frames for message and hint boxes
Origin commit data
------------------
Commit: e3f1754f14
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <gui/components/cc_timer.h>
|
||||
#include <driver/fontrenderer.h>
|
||||
#include <system/debug.h>
|
||||
#include <system/settings.h>
|
||||
|
||||
#define MSG_FONT g_Font[SNeutrinoSettings::FONT_TYPE_MESSAGE_TEXT]
|
||||
|
||||
@@ -164,7 +165,7 @@ void CHintBox::init( const std::string& Text,
|
||||
col_frame = color_frame;
|
||||
col_body = color_body;
|
||||
col_shadow = color_shadow;
|
||||
fr_thickness = frame_width;
|
||||
fr_thickness = g_settings.theme.message_frame_enable ? frame_width : 0;
|
||||
|
||||
hb_font = MSG_FONT;
|
||||
|
||||
|
Reference in New Issue
Block a user