![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure |
#include <LabelMgr.hpp>
Inherits StelLabel.
Public Member Functions | |
| ScreenLabel (const QString &text, int x, int y, StelFont *font, Vec3f color) | |
| virtual bool | draw (StelCore *core, const StelPainter &sPainter) |
| ScreenLabel::ScreenLabel | ( | const QString & | text, | |
| int | x, | |||
| int | y, | |||
| StelFont * | font, | |||
| Vec3f | color | |||
| ) |
Constructor of a SkyLabel which is to be displayed at a fixed position on the screen.
| text | the text for the label | |
| x | the x-position on the screen (pixels from the left side) | |
| y | the y-position on the screen (pixels from the bottom side) | |
| font | the font to use | |
| color | the color for the label |
| virtual bool ScreenLabel::draw | ( | StelCore * | core, | |
| const StelPainter & | sPainter | |||
| ) | [virtual] |
draw the label on the sky
| core | the StelCore object | |
| sPainter | the StelPainter to use for drawing operations |
1.5.5