- listframe: allow round borders

This commit is contained in:
svenhoefer
2016-11-07 13:45:55 +01:00
parent 664bd8dcf9
commit c7942adb8f
2 changed files with 35 additions and 23 deletions

View File

@@ -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)