src/glRenderer.h

changeset 869
7184f3bae695
parent 866
4951b737f8cb
child 897
ef9e4469975a
--- a/src/glRenderer.h	Sun Aug 31 14:38:53 2014 +0300
+++ b/src/glRenderer.h	Sun Aug 31 20:39:30 2014 +0300
@@ -157,6 +157,7 @@
 	Vertex					coordconv2_3 (const QPoint& pos2d, bool snap) const;
 	QPoint					coordconv3_2 (const Vertex& pos3d);
 	EditModeType			currentEditModeType() const;
+	int						depthNegateFactor() const;
 	void					drawBlip (QPainter& paint, QPointF pos) const;
 	void					drawGLScene();
 	void					forgetObject (LDObjectPtr obj);
@@ -175,6 +176,7 @@
 	QPen					linePen() const;
 	bool					mouseHasMoved() const;
 	QPoint const&			mousePosition() const;
+	QPointF const&			mousePositionF() const;
 	void					needZoomToFit();
 	void					pick (int mouseX, int mouseY, bool additive);
 	void					pick (QRect const& range, bool additive);
@@ -224,6 +226,7 @@
 							m_panning;
 	QPoint					m_mousePosition,
 							m_globalpos;
+	QPointF					m_mousePositionF;
 	QPen					m_thinBorderPen;
 	ECamera					m_camera,
 							m_toolTipCamera;
@@ -295,4 +298,6 @@
 	return currentDocumentData().zoom[camera()];
 }
 
+LDFixedCamera const& GetFixedCamera (ECamera cam);
+
 extern const char* g_CameraNames[7];

mercurial