• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/samples/foldbar/foldpanelbar/
1/////////////////////////////////////////////////////////////////////////////
2// Name:        layouttest.h
3// Purpose:
4// Author:      Jorgen Bodde
5// Modified by:
6// Created:     25/06/2004
7// RCS-ID:      $Id: layouttest.h 35650 2005-09-23 12:56:45Z MR $
8// Copyright:   (c) Jorgen Bodde
9// Licence:     wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _LAYOUTTEST_H_
13#define _LAYOUTTEST_H_
14
15/*!
16 * Includes
17 */
18
19////@begin includes
20////@end includes
21
22/*!
23 * Forward declarations
24 */
25
26////@begin forward declarations
27////@end forward declarations
28
29/*!
30 * Control identifiers
31 */
32
33////@begin control identifiers
34#define ID_DIALOG 10001
35#define SYMBOL_LAYOUTTEST_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
36#define SYMBOL_LAYOUTTEST_TITLE _("Layout Test")
37#define SYMBOL_LAYOUTTEST_IDNAME ID_DIALOG
38#define SYMBOL_LAYOUTTEST_SIZE wxSize(400, 300)
39#define SYMBOL_LAYOUTTEST_POSITION wxDefaultPosition
40#define ID_PANEL1 10006
41#define ID_BUTTON 10007
42////@end control identifiers
43
44/*!
45 * Compatibility
46 */
47
48#ifndef wxCLOSE_BOX
49#define wxCLOSE_BOX 0x1000
50#endif
51#ifndef wxFIXED_MINSIZE
52#define wxFIXED_MINSIZE 0
53#endif
54
55/*!
56 * LayoutTest class declaration
57 */
58
59class LayoutTest: public wxPanel
60{
61    DECLARE_CLASS( LayoutTest )
62    DECLARE_EVENT_TABLE()
63
64public:
65    /// Constructors
66    LayoutTest( );
67    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 );
68
69    /// Creation
70    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 );
71
72    /// Creates the controls and sizers
73    void CreateControls();
74
75////@begin LayoutTest event handler declarations
76
77////@end LayoutTest event handler declarations
78
79////@begin LayoutTest member function declarations
80
81
82    /// Retrieves bitmap resources
83    wxBitmap GetBitmapResource( const wxString& name );
84
85    /// Retrieves icon resources
86    wxIcon GetIconResource( const wxString& name );
87////@end LayoutTest member function declarations
88
89    /// Should we show tooltips?
90    static bool ShowToolTips();
91
92////@begin LayoutTest member variables
93////@end LayoutTest member variables
94};
95
96#endif
97    // _LAYOUTTEST_H_
98