1 |
786 |
skrzyp |
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####
|
2 |
|
|
// -------------------------------------------
|
3 |
|
|
// This file is part of the eCos host tools.
|
4 |
|
|
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
5 |
|
|
//
|
6 |
|
|
// This program is free software; you can redistribute it and/or modify
|
7 |
|
|
// it under the terms of the GNU General Public License as published by
|
8 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
9 |
|
|
// later version.
|
10 |
|
|
//
|
11 |
|
|
// This program is distributed in the hope that it will be useful, but
|
12 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 |
|
|
// General Public License for more details.
|
15 |
|
|
//
|
16 |
|
|
// You should have received a copy of the GNU General Public License
|
17 |
|
|
// along with this program; if not, write to the
|
18 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
19 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
|
|
// -------------------------------------------
|
21 |
|
|
// ####ECOSHOSTGPLCOPYRIGHTEND####
|
22 |
|
|
#if !defined(AFX_DESCVIEW_H__EDC0D53F_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_)
|
23 |
|
|
#define AFX_DESCVIEW_H__EDC0D53F_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_
|
24 |
|
|
|
25 |
|
|
#if _MSC_VER >= 1000
|
26 |
|
|
#pragma once
|
27 |
|
|
#endif // _MSC_VER >= 1000
|
28 |
|
|
// DescView.h : header file
|
29 |
|
|
//
|
30 |
|
|
|
31 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
32 |
|
|
// CDescView view
|
33 |
|
|
class CConfigItem;
|
34 |
|
|
class CDescView : public CScrollView
|
35 |
|
|
{
|
36 |
|
|
protected:
|
37 |
|
|
CConfigItem *m_pti;
|
38 |
|
|
CDescView(); // protected constructor used by dynamic creation
|
39 |
|
|
DECLARE_DYNCREATE(CDescView)
|
40 |
|
|
|
41 |
|
|
// Attributes
|
42 |
|
|
public:
|
43 |
|
|
|
44 |
|
|
// Operations
|
45 |
|
|
public:
|
46 |
|
|
|
47 |
|
|
// Overrides
|
48 |
|
|
// ClassWizard generated virtual function overrides
|
49 |
|
|
//{{AFX_VIRTUAL(CDescView)
|
50 |
|
|
protected:
|
51 |
|
|
virtual void OnDraw(CDC* pDC); // overridden to draw this view
|
52 |
|
|
virtual void OnInitialUpdate(); // first time after construct
|
53 |
|
|
public:
|
54 |
|
|
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
|
55 |
|
|
//}}AFX_VIRTUAL
|
56 |
|
|
|
57 |
|
|
// Implementation
|
58 |
|
|
protected:
|
59 |
|
|
void SetScrollInfo();
|
60 |
|
|
int m_nTotalHeight;
|
61 |
|
|
virtual ~CDescView();
|
62 |
|
|
#ifdef _DEBUG
|
63 |
|
|
virtual void AssertValid() const;
|
64 |
|
|
virtual void Dump(CDumpContext& dc) const;
|
65 |
|
|
#endif
|
66 |
|
|
|
67 |
|
|
// Generated message map functions
|
68 |
|
|
//{{AFX_MSG(CDescView)
|
69 |
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
70 |
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
71 |
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
72 |
|
|
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
73 |
|
|
//}}AFX_MSG
|
74 |
|
|
DECLARE_MESSAGE_MAP()
|
75 |
|
|
};
|
76 |
|
|
|
77 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
78 |
|
|
|
79 |
|
|
//{{AFX_INSERT_LOCATION}}
|
80 |
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
81 |
|
|
|
82 |
|
|
#endif // !defined(AFX_DESCVIEW_H__EDC0D53F_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_)
|