As for the green line, I'm afraid I must report that colour isn't actually part of the schema :cry:
if(myViewport->manager()->getViewportBorders()) { if(myViewport->manager()->isCurrentPort(myViewport->getPortIndex())) r->setColor(UI_Color(UT_RGB, 0.0F, 0.6F, 0.0F)); else r->setColor(UI_GREY20); r->rect2DS(x, y, x+w-1, y+h-1); }
I've submitted Bug: 132255 regarding this, as we do not like such hard coded colours.