Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // wxHandleWXR.h: interface for the wxHandleWXR class.
 | |
| //
 | |
| //////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #if !defined(RC2WXR_H)
 | |
| #define RC2WXR_H
 | |
| 
 | |
| #include "wx/file.h"
 | |
| #include "stdio.h"
 | |
| 
 | |
| class rc2wxr : public wxObject
 | |
| {
 | |
| public:
 | |
|     rc2wxr();
 | |
|     ~rc2wxr();
 | |
|     void Convert(wxString wxrfile, wxString rcfile);
 | |
| 
 | |
| private:
 | |
|     wxFile m_rc;
 | |
|     FILE *m_wxr;
 | |
|     wxFileOffset m_filesize;
 | |
|     bool m_done;
 | |
|     int m_controlid;
 | |
|     void ParseDialog(wxString dlgname);
 | |
|     void ParseControls();
 | |
|     void ParseStaticText();
 | |
|     void ParseTextCtrl();
 | |
|     void ParsePushButton();
 | |
|     bool Separator(int ch);
 | |
|     void ParseGroupBox();
 | |
|     void ReadRect(int & x, int & y, int & width, int & height);
 | |
|     wxString GetToken();
 | |
|     wxString GetQuoteField();
 | |
|     void ReadChar(int &ch);
 | |
|     void ParseComboBox();
 | |
|     void ParseMenu(wxString name);
 | |
|     void ParsePopupMenu();
 | |
|     wxString PeekToken();
 | |
|     void ParseControlMS();
 | |
|     void ParseSlider(wxString label, wxString varname);
 | |
|     void ParseProgressBar(wxString label, wxString varname);
 | |
|     bool ReadOrs(wxString & w);
 | |
|     void ParseCtrlButton(wxString label, wxString varname);
 | |
| };
 | |
| 
 | |
| 
 | |
| #endif
 |