mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 09:53:36 +02:00
listframe: allow round borders
Origin commit data
------------------
Commit: c7942adb8f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-07 (Mon, 07 Nov 2016)
Origin message was:
------------------
- listframe: allow round borders
This commit is contained in:
@@ -104,6 +104,8 @@ class CListFrame
|
||||
int m_nCurrentPage;
|
||||
int m_nSelectedLine;
|
||||
|
||||
int m_nBgRadius;
|
||||
|
||||
bool m_showSelection;
|
||||
|
||||
Font* m_pcFontTitle;
|
||||
@@ -141,6 +143,11 @@ class CListFrame
|
||||
bool setTitle(char* title);
|
||||
bool setSelectedLine(int selection);
|
||||
void setSelectedMarked(bool enable);
|
||||
void setBackGroundRadius(const int radius)
|
||||
{
|
||||
m_nBgRadius = radius;
|
||||
initFramesRel();
|
||||
};
|
||||
void clearMarked()
|
||||
{
|
||||
if (m_pLines)
|
||||
|
Reference in New Issue
Block a user