You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.3 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #pragma once
  8. #include <wx/artprov.h>
  9. #include <wx/xrc/xmlres.h>
  10. #include <wx/intl.h>
  11. #include "dialog_shim.h"
  12. #include <wx/string.h>
  13. #include <wx/dirctrl.h>
  14. #include <wx/gdicmn.h>
  15. #include <wx/font.h>
  16. #include <wx/colour.h>
  17. #include <wx/settings.h>
  18. #include <wx/sizer.h>
  19. #include <wx/panel.h>
  20. #include <wx/splitter.h>
  21. #include <wx/stattext.h>
  22. #include <wx/choice.h>
  23. #include <wx/button.h>
  24. #include <wx/bitmap.h>
  25. #include <wx/image.h>
  26. #include <wx/icon.h>
  27. #include <wx/dialog.h>
  28. ///////////////////////////////////////////////////////////////////////////
  29. ///////////////////////////////////////////////////////////////////////////////
  30. /// Class DIALOG_SELECT_3D_MODEL_BASE
  31. ///////////////////////////////////////////////////////////////////////////////
  32. class DIALOG_SELECT_3D_MODEL_BASE : public DIALOG_SHIM
  33. {
  34. private:
  35. protected:
  36. wxSplitterWindow* m_splitterWin;
  37. wxPanel* m_panelLeft;
  38. wxGenericDirCtrl* m_FileTree;
  39. wxPanel* m_pane3Dviewer;
  40. wxBoxSizer* m_Sizer3Dviewer;
  41. wxStaticText* m_stDirChoice;
  42. wxChoice* m_dirChoices;
  43. wxButton* m_cfgPathsButt;
  44. wxStdDialogButtonSizer* m_sdbSizer;
  45. wxButton* m_sdbSizerOK;
  46. wxButton* m_sdbSizerCancel;
  47. // Virtual event handlers, override them in your derived class
  48. virtual void OnFileActivated( wxCommandEvent& event ) { event.Skip(); }
  49. virtual void OnSelectionChanged( wxCommandEvent& event ) { event.Skip(); }
  50. virtual void SetRootDir( wxCommandEvent& event ) { event.Skip(); }
  51. virtual void Cfg3DPaths( wxCommandEvent& event ) { event.Skip(); }
  52. public:
  53. DIALOG_SELECT_3D_MODEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select 3D Model"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
  54. ~DIALOG_SELECT_3D_MODEL_BASE();
  55. void m_splitterWinOnIdle( wxIdleEvent& )
  56. {
  57. m_splitterWin->SetSashPosition( 300 );
  58. m_splitterWin->Disconnect( wxEVT_IDLE, wxIdleEventHandler( DIALOG_SELECT_3D_MODEL_BASE::m_splitterWinOnIdle ), NULL, this );
  59. }
  60. };