linux build fixed

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent e9b247f28b
commit f19507195c
  1. 4
      src/tools/UBGraphicsProtractor.cpp
  2. 3
      src/tools/UBGraphicsProtractor.h

@ -12,6 +12,7 @@
#include "domain/UBGraphicsScene.h"
#include "board/UBBoardController.h"
#include "board/UBDrawingController.h"
#include "UBAbstractDrawRuler.h"
#include "core/memcheck.h"
@ -30,7 +31,8 @@ UBGraphicsProtractor::UBGraphicsProtractor()
, mResizeSvgItem(0)
, mMarkerSvgItem(0)
{
sFillTransparency = 127;
sDrawTransparency = 192;
create(*this);
setCacheMode(QGraphicsItem::DeviceCoordinateCache);

@ -92,6 +92,9 @@ class UBGraphicsProtractor : public UBAbstractDrawRuler, public QGraphicsEllipse
virtual void rotateAroundCenter(qreal angle);
virtual QPointF rotationCenter() const;
int sFillTransparency;
int sDrawTransparency;
};
#endif /* UBGRAPHICSPROTRACTOR_H_ */

Loading…
Cancel
Save