src/mainwindow.h

changeset 974
b2fa5f89798a
parent 971
c00f9665a9f8
child 978
4603d8fd063e
--- a/src/mainwindow.h	Mon Aug 31 22:40:49 2015 +0300
+++ b/src/mainwindow.h	Mon Aug 31 23:18:17 2015 +0300
@@ -173,6 +173,11 @@
 		return m_externalPrograms;
 	}
 
+	class GuiUtilities* guiUtilities()
+	{
+		return m_guiUtilities;
+	}
+
 public slots:
 	void updatePrimitives();
 	void changeCurrentFile();
@@ -188,6 +193,7 @@
 	struct ToolInfo { QMetaMethod method; Toolset* object; };
 
 	ConfigurationValueBag m_configOptions;
+	class GuiUtilities* m_guiUtilities;
 	GLRenderer*			m_renderer;
 	LDObjectList		m_sel;
 	QList<LDQuickColor>	m_quickColors;
@@ -232,12 +238,6 @@
 //! Displays an error prompt with the given \c message
 void Critical (const QString& message);
 
-//! Makes an icon of \c size x \c size pixels to represent \c colinfo
-QIcon MakeColorIcon (LDColor colinfo, const int size);
-
-//! Fills the given combo-box with color information
-void MakeColorComboBox (QComboBox* box);
-
 //! \returns a QImage from the given raw GL \c data
 QImage GetImageFromScreencap (uchar* data, int w, int h);
 

mercurial