[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Sun Nov 25 18:53:45 CET 2007
SVN commit 741459 by harris:
Draw infoboxes with a semi-transparent background. I had been using
Options::boxBGMode(), but this isn't implemented yet, and it will have
to wait until 4.1.
CCMAIL: kstars-devel at kde.org
M +2 -1 skymapdraw.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymapdraw.cpp #741458:741459
@@ -356,12 +356,13 @@
transientObject()->drawNameLabel( p, o.x(), o.y() );
}
+//FIXME: Implement Options::boxBGMode()
void SkyMap::drawBoxes( QPainter &p ) {
if ( ks ) { //only if we are drawing in the GUI window
ks->infoBoxes()->drawBoxes( p,
data->colorScheme()->colorNamed( "BoxTextColor" ),
data->colorScheme()->colorNamed( "BoxGrabColor" ),
- data->colorScheme()->colorNamed( "BoxBGColor" ), Options::boxBGMode() );
+ data->colorScheme()->colorNamed( "BoxBGColor" ), 1 /*Options::boxBGMode()*/ );
}
}
More information about the Kstars-devel
mailing list