added more cpp files for faster compile speeds
removed many obsolte elements many improvements and fixes
This commit is contained in:
@@ -49,24 +49,18 @@ public:
|
||||
|
||||
|
||||
if (selectedUserIdx == 0) {
|
||||
//p.setPenBrush(Qt::black, CFG::SEL_COLOR);
|
||||
//p.drawCircle(ap->pos.xy());
|
||||
p.drawPixmap(fpl->posOnFloor, pixmapSel);
|
||||
} else if (hasFocus()) {
|
||||
//p.setPenBrush(Qt::black, Qt::NoBrush);
|
||||
//p.drawCircle(ap->pos.xy());
|
||||
p.drawPixmap(fpl->posOnFloor, pixmapFocused);
|
||||
} else {
|
||||
//p.setPenBrush(Qt::gray, Qt::NoBrush);
|
||||
//p.drawCircle(ap->pos.xy());
|
||||
p.drawPixmap(fpl->posOnFloor, pixmapUnfocused);
|
||||
}
|
||||
|
||||
// label
|
||||
p.setPenBrush(Qt::black, Qt::NoBrush);
|
||||
p.drawDot(fpl->posOnFloor);
|
||||
|
||||
if (p.getScaler().getScale() >= 10) {
|
||||
//p.setPenBrush(Qt::black, Qt::NoBrush);
|
||||
//p.drawDot(fpl->posOnFloor);
|
||||
if (p.getScaler().getScale() >= 12) {
|
||||
p.setPenBrush(Qt::black, Qt::NoBrush);
|
||||
const std::string str = fpl->name;
|
||||
p.p->drawText(p.getScaler().xms(fpl->posOnFloor.x) + 10, p.getScaler().yms(fpl->posOnFloor.y) + 5, str.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user