CComponents: epand method setFrameThickness() to change selected frame

This commit is contained in:
2014-06-13 20:34:09 +02:00
committed by svenhoefer
parent 2f0e4e1687
commit 8bbd7024d9
2 changed files with 11 additions and 3 deletions

View File

@@ -282,3 +282,11 @@ inline void CComponents::setYPos(const int& ypos)
{
y = ypos;
}
void CComponents::setFrameThickness(const int& thickness, const int& thickness_sel)
{
fr_thickness = thickness;
if (fr_thickness_sel != thickness_sel)
fr_thickness_sel = thickness_sel;
}