Subversion Repositories spk

Rev

Rev 183 | Rev 197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 183 Rev 196
Line 45... Line 45...
45
	///          resources associated with this form.
45
	///          resources associated with this form.
46
	/// </summary>
46
	/// </summary>
47
	public ref class MainGui : public System::Windows::Forms::Form
47
	public ref class MainGui : public System::Windows::Forms::Form
48
	{
48
	{
49
	public:
49
	public:
50
		MainGui(CPackages *p, Utils::CStringList *list, Utils::CStringList *removed, bool advanced)
50
		MainGui(CPackages *p, Utils::WStringList *list, Utils::WStringList *removed, bool advanced)
51
		{
51
		{
52
			InitializeComponent();
52
			InitializeComponent();
53
 
53
 
54
			// additional controls
54
			// additional controls
55
			m_pMenuBar = gcnew MenuBar(this, advanced);
55
			m_pMenuBar = gcnew MenuBar(this, advanced);
Line 179... Line 179...
179
		}
179
		}
180
		int GetMaxTips() { return (int)MAXTIPS; }
180
		int GetMaxTips() { return (int)MAXTIPS; }
181
		long GetIgnoreJoy() { return m_pLauncherFlags->iIgnoreJoy; }
181
		long GetIgnoreJoy() { return m_pLauncherFlags->iIgnoreJoy; }
182
 
182
 
183
		// gui updates
183
		// gui updates
184
		void UpdateDirList(const Utils::String &current);
184
		void UpdateDirList(const Utils::WString &current);
185
		void UpdatePackages();
185
		void UpdatePackages();
186
		void UpdateControls();
186
		void UpdateControls();
187
		bool UpdateBuiltInPackages();
187
		bool UpdateBuiltInPackages();
188
		void AddIconToPackages(String ^icon);
188
		void AddIconToPackages(String ^icon);
189
 
189
 
Line 310... Line 310...
310
 
310
 
311
		void RunFromToolItem(ToolStripMenuItem ^item);
311
		void RunFromToolItem(ToolStripMenuItem ^item);
312
 
312
 
313
		MenuBar			^m_pMenuBar;
313
		MenuBar			^m_pMenuBar;
314
		CPackages		*m_pPackages;
314
		CPackages		*m_pPackages;
315
		Utils::CStringList	*m_pDirList;
315
		Utils::WStringList	*m_pDirList;
316
		Utils::CStringList	*m_pRemovedDirList;
316
		Utils::WStringList	*m_pRemovedDirList;
317
		CyStringList	*m_pUpdateList;
317
		CyStringList	*m_pUpdateList;
318
		Utils::CStringList	*m_pFileErrors;
318
		Utils::CStringList	*m_pFileErrors;
319
		int				 m_iBackgroundTask;
319
		int				 m_iBackgroundTask;
320
		int				 m_iSortingColumn;
320
		int				 m_iSortingColumn;
321
		bool			 m_bSortingAsc;
321
		bool			 m_bSortingAsc;