OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [standalone/] [wxwin/] [sectiondlg.h] - Blame information for rev 574

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 unneback
//####COPYRIGHTBEGIN####
2
//
3
// ----------------------------------------------------------------------------
4
// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
5
//
6
// This program is part of the eCos host tools.
7
//
8
// This program is free software; you can redistribute it and/or modify it
9
// under the terms of the GNU General Public License as published by the Free
10
// Software Foundation; either version 2 of the License, or (at your option)
11
// any later version.
12
//
13
// This program is distributed in the hope that it will be useful, but WITHOUT
14
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
16
// more details.
17
//
18
// You should have received a copy of the GNU General Public License along with
19
// this program; if not, write to the Free Software Foundation, Inc.,
20
// 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21
//
22
// ----------------------------------------------------------------------------
23
//
24
//####COPYRIGHTEND####
25
// sectiondlg.h.cpp :
26
//
27
//===========================================================================
28
//#####DESCRIPTIONBEGIN####
29
//
30
// Author(s):   julians
31
// Contact(s):  julians
32
// Date:        2000/09/27
33
// Version:     $Id: sectiondlg.h,v 1.1.1.1 2004-02-14 13:28:51 phoenix Exp $
34
// Purpose:
35
// Description: Header file for ecSectionDialog
36
// Requires:
37
// Provides:
38
// See also:
39
// Known bugs:
40
// Usage:
41
//
42
//####DESCRIPTIONEND####
43
//
44
//===========================================================================
45
 
46
#ifndef _ECOS_SECTIONDLG_H_
47
#define _ECOS_SECTIONDLG_H_
48
 
49
#ifdef __GNUG__
50
    #pragma interface "sectiondlg.cpp"
51
#endif
52
 
53
#include "wx/notebook.h"
54
 
55
//----------------------------------------------------------------------------
56
// ecSectionDialog
57
//----------------------------------------------------------------------------
58
 
59
class ecSectionGeneralDialog;
60
class ecSectionRelocationDialog;
61
class ecSectionNoteDialog;
62
 
63
class ecSectionDialog: public wxDialog
64
{
65
DECLARE_CLASS(ecSectionDialog)
66
public:
67
    ecSectionDialog(wxWindow* parent);
68
 
69
    void OnOK(wxCommandEvent& event);
70
    void OnCancel(wxCommandEvent& event);
71
    void OnHelp(wxCommandEvent& event);
72
    void OnApply(wxCommandEvent& event);
73
    void OnPageChange(wxNotebookEvent& event);
74
 
75
    virtual bool TransferDataToWindow();
76
    virtual bool TransferDataFromWindow();
77
 
78
    inline wxNotebook* GetNotebook() const { return m_notebook; }
79
 
80
protected:
81
 
82
    ecSectionGeneralDialog*             m_general;
83
    ecSectionRelocationDialog*          m_relocation;
84
    ecSectionNoteDialog*                m_note;
85
    wxNotebook*                         m_notebook;
86
 
87
DECLARE_EVENT_TABLE()
88
};
89
 
90
/* General page
91
 */
92
 
93
class ecSectionGeneralDialog: public wxPanel
94
{
95
DECLARE_CLASS(ecSectionGeneralDialog)
96
public:
97
    ecSectionGeneralDialog(wxWindow* parent);
98
 
99
    void CreateControls( wxPanel *parent);
100
 
101
    virtual bool TransferDataToWindow();
102
    virtual bool TransferDataFromWindow();
103
};
104
 
105
#define ecID_SECTION_GENERAL_LINKER 10037
106
#define ecID_SECTION_GENERAL_USER 10038
107
#define ecID_SECTION_GENERAL_LINKER_TEXT 10039
108
#define ecID_SECTION_GENERAL_USER_TEXT 10040
109
#define ecID_SECTION_GENERAL_KNOWN_SIZE 10041
110
#define ecID_SECTION_GENERAL_KNOWN_SIZE_CHOICE 10042
111
#define ecID_SECTION_GENERAL_ABSOLUTE 10043
112
#define ecID_SECTION_GENERAL_FOLLOWING 10044
113
#define ecID_SECTION_GENERAL_ABSOLUTE_TEXT 10045
114
#define ecID_SECTION_GENERAL_FOLLOWING_TEXT 10046
115
#define ecID_SECTION_GENERAL_ALIGNMENT 10047
116
 
117
/* Relocation page
118
 */
119
 
120
class ecSectionRelocationDialog: public wxPanel
121
{
122
DECLARE_CLASS(ecSectionRelocationDialog)
123
public:
124
    ecSectionRelocationDialog(wxWindow* parent);
125
 
126
    void CreateControls( wxPanel *parent);
127
 
128
    virtual bool TransferDataToWindow();
129
    virtual bool TransferDataFromWindow();
130
};
131
 
132
#define ecID_SECTION_RELOCATION_RELOCATE 10048
133
#define ecID_SECTION_RELOCATION_ABSOLUTE 10049
134
#define ecID_SECTION_RELOCATION_ABSOLUTE_TEXT 10050
135
#define ecID_SECTION_RELOCATION_FOLLOWING 10051
136
#define ecID_SECTION_RELOCATION_FOLLOWING_CHOICE 10052
137
 
138
/* Note page
139
 */
140
 
141
class ecSectionNoteDialog: public wxPanel
142
{
143
DECLARE_CLASS(ecSectionNoteDialog)
144
public:
145
    ecSectionNoteDialog(wxWindow* parent);
146
 
147
    void CreateControls( wxPanel *parent);
148
 
149
    virtual bool TransferDataToWindow();
150
    virtual bool TransferDataFromWindow();
151
};
152
 
153
#define ecID_SECTION_NOTE_TEXT 10053
154
 
155
#endif
156
    // _ECOS_SECTIONDLG_H_

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.