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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [common/] [win32/] [DescView.h] - Blame information for rev 321

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
#if !defined(AFX_DESCVIEW_H__EDC0D53F_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_)
26
#define AFX_DESCVIEW_H__EDC0D53F_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_
27
 
28
#if _MSC_VER >= 1000
29
#pragma once
30
#endif // _MSC_VER >= 1000
31
// DescView.h : header file
32
//
33
 
34
/////////////////////////////////////////////////////////////////////////////
35
// CDescView view
36
class CConfigItem;
37
class CDescView : public CScrollView
38
{
39
protected:
40
        CConfigItem *m_pti;
41
        CDescView();           // protected constructor used by dynamic creation
42
        DECLARE_DYNCREATE(CDescView)
43
 
44
// Attributes
45
public:
46
 
47
// Operations
48
public:
49
 
50
// Overrides
51
        // ClassWizard generated virtual function overrides
52
        //{{AFX_VIRTUAL(CDescView)
53
        protected:
54
        virtual void OnDraw(CDC* pDC);      // overridden to draw this view
55
        virtual void OnInitialUpdate();     // first time after construct
56
    public:
57
        virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
58
        //}}AFX_VIRTUAL
59
 
60
// Implementation
61
protected:
62
        void SetScrollInfo();
63
        int m_nTotalHeight;
64
        virtual ~CDescView();
65
#ifdef _DEBUG
66
        virtual void AssertValid() const;
67
        virtual void Dump(CDumpContext& dc) const;
68
#endif
69
 
70
        // Generated message map functions
71
        //{{AFX_MSG(CDescView)
72
        afx_msg BOOL OnEraseBkgnd(CDC* pDC);
73
        afx_msg void OnSize(UINT nType, int cx, int cy);
74
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
75
        afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
76
        //}}AFX_MSG
77
        DECLARE_MESSAGE_MAP()
78
};
79
 
80
/////////////////////////////////////////////////////////////////////////////
81
 
82
//{{AFX_INSERT_LOCATION}}
83
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
84
 
85
#endif // !defined(AFX_DESCVIEW_H__EDC0D53F_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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