]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/foldbar/foldpanelbar/layouttest.h
added foldbar contrib
[wxWidgets.git] / contrib / samples / foldbar / foldpanelbar / layouttest.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: layouttest.h
3 // Purpose:
4 // Author: Jorgen Bodde
5 // Modified by:
6 // Created: 06/25/04 19:48:57
7 // RCS-ID:
8 // Copyright:
9 // Licence:
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _LAYOUTTEST_H_
13 #define _LAYOUTTEST_H_
14
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "layouttest.cpp"
17 #endif
18
19 /*!
20 * Includes
21 */
22
23 ////@begin includes
24 ////@end includes
25
26 /*!
27 * Forward declarations
28 */
29
30 ////@begin forward declarations
31 ////@end forward declarations
32
33 /*!
34 * Control identifiers
35 */
36
37 ////@begin control identifiers
38 #define ID_DIALOG 10001
39 #define SYMBOL_LAYOUTTEST_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
40 #define SYMBOL_LAYOUTTEST_TITLE _("Layout Test")
41 #define SYMBOL_LAYOUTTEST_IDNAME ID_DIALOG
42 #define SYMBOL_LAYOUTTEST_SIZE wxSize(400, 300)
43 #define SYMBOL_LAYOUTTEST_POSITION wxDefaultPosition
44 #define ID_PANEL1 10006
45 #define ID_BUTTON 10007
46 ////@end control identifiers
47
48 /*!
49 * Compatibility
50 */
51
52 #ifndef wxCLOSE_BOX
53 #define wxCLOSE_BOX 0x1000
54 #endif
55 #ifndef wxFIXED_MINSIZE
56 #define wxFIXED_MINSIZE 0
57 #endif
58
59 /*!
60 * LayoutTest class declaration
61 */
62
63 class LayoutTest: public wxPanel
64 {
65 DECLARE_CLASS( LayoutTest )
66 DECLARE_EVENT_TABLE()
67
68 public:
69 /// Constructors
70 LayoutTest( );
71 LayoutTest( wxWindow* parent, wxWindowID id = SYMBOL_LAYOUTTEST_IDNAME, const wxString& caption = SYMBOL_LAYOUTTEST_TITLE, const wxPoint& pos = SYMBOL_LAYOUTTEST_POSITION, const wxSize& size = SYMBOL_LAYOUTTEST_SIZE, long style = SYMBOL_LAYOUTTEST_STYLE );
72
73 /// Creation
74 bool Create( wxWindow* parent, wxWindowID id = SYMBOL_LAYOUTTEST_IDNAME, const wxString& caption = SYMBOL_LAYOUTTEST_TITLE, const wxPoint& pos = SYMBOL_LAYOUTTEST_POSITION, const wxSize& size = SYMBOL_LAYOUTTEST_SIZE, long style = SYMBOL_LAYOUTTEST_STYLE );
75
76 /// Creates the controls and sizers
77 void CreateControls();
78
79 ////@begin LayoutTest event handler declarations
80
81 ////@end LayoutTest event handler declarations
82
83 ////@begin LayoutTest member function declarations
84
85
86 /// Retrieves bitmap resources
87 wxBitmap GetBitmapResource( const wxString& name );
88
89 /// Retrieves icon resources
90 wxIcon GetIconResource( const wxString& name );
91 ////@end LayoutTest member function declarations
92
93 /// Should we show tooltips?
94 static bool ShowToolTips();
95
96 ////@begin LayoutTest member variables
97 ////@end LayoutTest member variables
98 };
99
100 #endif
101 // _LAYOUTTEST_H_