optionsframe.h 2.22 KB
Newer Older
plyatov's avatar
plyatov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
/////////////////////////////////////////////////////////////////////////////
// Name:        optionsframe.h
// Purpose:     
// Author:      jean-pierre charras
// Modified by: 
// Created:     01/27/04 14:48:57
// RCS-ID:      
// Copyright:   suite kicad
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _OPTIONSFRAME_H_
#define _OPTIONSFRAME_H_

#ifdef __GNUG__
#pragma interface "optionsframe.h"
#endif

/*!
 * Includes
 */

////@begin includes
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
38 39 40 41 42 43 44 45
#define ID_DIALOG 10000
#define ID_CHECKBOX 10001
#define ID_RADIOBOX 10002
#define ID_RADIOBOX1 10003
#define ID_RADIOBOX3 10005
#define ID_RADIOBOX2 10004
#define ID_BUTTON 10006
#define ID_BUTTON1 10007
plyatov's avatar
plyatov committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
////@end control identifiers

/*!
 * DisplayOptionFrame class declaration
 */

class DisplayOptionFrame: public wxDialog
{    
    DECLARE_CLASS( DisplayOptionFrame )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    DisplayOptionFrame( );
    DisplayOptionFrame( wxWindow* parent, wxWindowID id = -1, const wxString& caption = _("optionsframe"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = -1, const wxString& caption = _("optionsframe"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU );

    /// Creates the controls and sizers
    void CreateControls();

////@begin DisplayOptionFrame event handler declarations
69

plyatov's avatar
plyatov committed
70 71 72
////@end DisplayOptionFrame event handler declarations

////@begin DisplayOptionFrame member function declarations
73

plyatov's avatar
plyatov committed
74 75 76 77 78 79
////@end DisplayOptionFrame member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin DisplayOptionFrame member variables
80 81 82 83 84
    wxCheckBox* m_ShowGridButt;
    wxRadioBox* m_SelGridSize;
    wxRadioBox* m_SelShowPins;
    wxRadioBox* m_Selunits;
    WinEDA_DrawFrame * m_Parent;
plyatov's avatar
plyatov committed
85 86 87 88 89
////@end DisplayOptionFrame member variables
};

#endif
    // _OPTIONSFRAME_H_