00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: showcase_splitterwindow.h,v 1.5 2002/09/25 07:50:15 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _SHOWCASE_SPLITTERWINDOW_H_
00019 #define _SHOWCASE_SPLITTERWINDOW_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "showcase_splitterwindow.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Begin feature removal condition
00037 //----------------------------------------------------------------------------------------
00038
00039 #if ( setupUSE_SHOWCASE )
00040
00041 //----------------------------------------------------------------------------------------
00042 // Headers
00043 //----------------------------------------------------------------------------------------
00044
00045 #include "wx/splitter.h"
00046
00047 // Forward declaration.
00048 class showcase_dialog;
00049 #include "showcase_dialog.h"
00050
00051 //----------------------------------------------------------------------------------------
00052 // Class definition: showcase_splitterwindow
00053 //----------------------------------------------------------------------------------------
00054
00056 class showcase_splitterwindow : public wxSplitterWindow
00057 {
00058
00059 DECLARE_DYNAMIC_CLASS( showcase_splitterwindow )
00060
00061 public:
00062
00064
00076 showcase_splitterwindow( wxWindow* parent,
00077 wxWindowID id = -1,
00078 const wxPoint& pos = wxDefaultPosition,
00079 const wxSize& size = wxDefaultSize,
00080 long style = wxSP_3D,
00081 const wxString& name = "the_showcase_splitterwindow",
00082 showcase_dialog* parent_showcase_dialog = NULL
00083 );
00084
00085 // Unused constructor: solely for usage of RTTI (DYNAMIC_CLASS) macros.
00086 showcase_splitterwindow() {};
00087
00089 ~showcase_splitterwindow();
00090
00092 void set_column_widths();
00093
00094 protected:
00095
00099 bool OnSashPositionChange( int new_sash_position );
00100 void on_splitter_sash_position_changed( wxSplitterEvent& event );
00101 wxWindow* m_parent;
00102 showcase_dialog* m_parent_showcase_dialog;
00103
00104 private:
00105
00106 DECLARE_EVENT_TABLE()
00107
00108 };
00109
00110 //----------------------------------------------------------------------------------------
00111 // End feature removal condition
00112 //----------------------------------------------------------------------------------------
00113
00114 #endif // setupUSE_SHOWCASE
00115
00116 //----------------------------------------------------------------------------------------
00117 // End single inclusion of this .h file condition
00118 //----------------------------------------------------------------------------------------
00119
00120 #endif // _SHOWCASE_SPLITTERWINDOW_H_