mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CTextBox: user CORNER_ALL for corner type parameter to paint text background
Origin commit data
------------------
Commit: a7d8597f05
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-28 (Sun, 28 Apr 2013)
This commit is contained in:
@@ -172,7 +172,7 @@ class CTextBox
|
||||
void enableBackgroundPaint(bool mode = true){m_nPaintBackground = mode;};
|
||||
bool setText(const std::string* newText, int max_width = 0);
|
||||
void setTextColor(fb_pixel_t color_text){ m_textColor = color_text;};
|
||||
void setBackGroundRadius(const int radius, const int type){m_nBgRadius = radius; m_nBgRadiusType = type;};
|
||||
void setBackGroundRadius(const int radius, const int type = CORNER_ALL){m_nBgRadius = radius; m_nBgRadiusType = type;};
|
||||
void setTextBorderWidth(int border);
|
||||
void setTextFont(Font* font_text);
|
||||
void setTextMode(const int text_mode){m_nMode = text_mode;};
|
||||
|
Reference in New Issue
Block a user