[commit] r2429 - trunk/SDK/DecoratorLib

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Feb 14 14:04:15 CST 2014


Author: ksmyth
Date: Fri Feb 14 14:04:14 2014
New Revision: 2429

Log:
Remove unused member variables. Reorder member variables for less memory usage

Modified:
   trunk/SDK/DecoratorLib/VectorPart.h

Modified: trunk/SDK/DecoratorLib/VectorPart.h
==============================================================================
--- trunk/SDK/DecoratorLib/VectorPart.h	Thu Feb 13 12:53:05 2014	(r2428)
+++ trunk/SDK/DecoratorLib/VectorPart.h	Fri Feb 14 14:04:14 2014	(r2429)
@@ -192,28 +192,25 @@
 	CString						gradientColorVariableName;
 	CString						shadowColorVariableName;
 
-	std::vector<VectorCommand>	m_Commands;
 	COLORREF					m_crPen;
 	COLORREF					m_crBrush;
-	bool						m_bCastShadow;
 	COLORREF					m_crShadow;
+	bool						m_bCastShadow;
+	bool						m_bGradientFill;
 	long						m_iShadowThickness;
 	long						m_iShadowDirection;
-	bool						m_bGradientFill;
 	COLORREF					m_crGradient;
 	long						m_iGradientDirection;
 
-	bool						m_bOriginalPenSaved;
-	CPen*						m_originalPen;
-	bool						m_bOriginalBrushSaved;
-	CBrush*						m_originalBrush;
+	std::vector<VectorCommand>	m_Commands;
+
 	Gdiplus::GraphicsPath*		m_mainPath;
 	Gdiplus::GraphicsPath*		m_shadowPath;
 	bool						m_bInMainPathDefinition;
 	bool						m_bInShadowPathDefinition;
+	bool						m_bShadowCasted;
 	Gdiplus::Brush*				m_CurrentBrush;
 	Gdiplus::Pen*				m_CurrentPen;
-	bool						m_bShadowCasted;
 
 	long						m_iDefaultWidth;
 	long						m_iDefaultHeight;


More information about the gme-commit mailing list