Set draw mode in the slider painter
This commit is contained in:
parent
d008fb3bc8
commit
c27b3cb192
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ void SimpleSlider::draw(CDrawContext* dc)
|
|||
CRect bounds = getViewSize();
|
||||
CRect handle = calculateHandleRect(getValueNormalized());
|
||||
|
||||
dc->setDrawMode(kAntiAliasing);
|
||||
|
||||
dc->setFrameColor(_frame);
|
||||
dc->drawRect(bounds, kDrawStroked);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue