mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-03 04:19:47 -08:00
CSCFusionStyle (WIP)
This commit is contained in:
@@ -190,6 +190,20 @@ void CSCFusionStyle::drawPrimitive(PrimitiveElement element,
|
||||
{
|
||||
return;
|
||||
}
|
||||
case PE_PanelItemViewRow:
|
||||
{
|
||||
int x, y, width, height;
|
||||
option->rect.getRect(&x, &y, &width, &height);
|
||||
|
||||
QPainterPath roundRect = roundRectPath(option->rect, 0);
|
||||
|
||||
QBrush brush = option->palette.base();
|
||||
painter->save();
|
||||
painter->setRenderHint(QPainter::Antialiasing, true);
|
||||
painter->fillPath(roundRect, brush);
|
||||
painter->restore();
|
||||
break;
|
||||
}
|
||||
case PE_FrameGroupBox:
|
||||
case PE_FrameWindow:
|
||||
case PE_Frame:
|
||||
@@ -206,6 +220,7 @@ void CSCFusionStyle::drawPrimitive(PrimitiveElement element,
|
||||
painter->restore();
|
||||
break;
|
||||
}
|
||||
case PE_PanelButtonTool:
|
||||
case PE_PanelButtonCommand:
|
||||
{
|
||||
GUI20Skin& skin = GUI20Skin::Instance();
|
||||
|
||||
Reference in New Issue
Block a user