]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/foldbar/extended/extended.h
mark slider as being transparent, otherwise it has ugly solid grey background when...
[wxWidgets.git] / contrib / samples / foldbar / extended / extended.h
index a30c6222c13841da9afd927a7d6af7aea455a891..4a891e6f10c610599536e457d0662b8ddb53c0ba 100644 (file)
@@ -9,19 +9,19 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/toolbar.h"
-#include "foldpanelbar.h"
+#include "wx/foldbar/foldpanelbar.h"
 
 wxMenuBar *CreateMenuBar(bool with_window);
 
 enum
 {
-       ID_COLLAPSEME = 10000,
-       ID_APPLYTOALL,
-       ID_USE_HGRADIENT,
-       ID_USE_VGRADIENT,
-       ID_USE_SINGLE,
-       ID_USE_RECTANGLE,
-       ID_USE_FILLED_RECTANGLE
+    ID_COLLAPSEME = 10000,
+    ID_APPLYTOALL,
+    ID_USE_HGRADIENT,
+    ID_USE_VGRADIENT,
+    ID_USE_SINGLE,
+    ID_USE_RECTANGLE,
+    ID_USE_FILLED_RECTANGLE
 };
 
 // Define a new application
@@ -57,23 +57,23 @@ class MyFrame: public wxMDIParentFrame
     void OnCreateBottomStyle(wxCommandEvent& event);
     void OnCreateNormalStyle(wxCommandEvent& event);
 
-       void OnCollapseMe(wxCommandEvent &event);
-       void OnExpandMe(wxCommandEvent &event);
+    void OnCollapseMe(wxCommandEvent &event);
+    void OnExpandMe(wxCommandEvent &event);
 
-       void OnSlideColour(wxScrollEvent &event);
+    void OnSlideColour(wxScrollEvent &event);
 
-       void OnStyleChange(wxCommandEvent &event);
+    void OnStyleChange(wxCommandEvent &event);
 
 protected:
     wxSashLayoutWindow* m_leftWindow1;
 
 private:
-       void ReCreateFoldPanel(int fpb_flags);
-       wxFoldPanelBar *_pnl;
-       wxButton *_btn;
-       wxCheckBox *_single;
-       wxSlider *_rslider1, *_gslider1, *_bslider1, *_rslider2, *_gslider2, *_bslider2; 
-       int _flags;
+    void ReCreateFoldPanel(int fpb_flags);
+    wxFoldPanelBar *m_pnl;
+    wxButton *m_btn;
+    wxCheckBox *m_single;
+    wxSlider *m_rslider1, *m_gslider1, *m_bslider1, *m_rslider2, *m_gslider2, *m_bslider2;
+    int m_flags;
 
 DECLARE_EVENT_TABLE()
 };