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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [Utils/] [win32/] [DoubleEdit.h] - Blame information for rev 790

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

Line No. Rev Author Line
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
// DoubleEdit.h: interface for the CDoubleEdit class.
23
//
24
//////////////////////////////////////////////////////////////////////
25
 
26
#if !defined(AFX_DOUBLEEDIT_H__A38F0509_4EFF_11D3_8003_00A0C9554250__INCLUDED_)
27
#define AFX_DOUBLEEDIT_H__A38F0509_4EFF_11D3_8003_00A0C9554250__INCLUDED_
28
 
29
#if _MSC_VER > 1000
30
#pragma once
31
#endif // _MSC_VER > 1000
32
 
33
#include "CellEdit.h"
34
class CConfigItem;
35
 
36
class CDoubleEdit : public CCellEdit
37
{
38
public:
39
        CDoubleEdit(double dInitialValue);
40
        virtual ~CDoubleEdit();
41
 
42
// Overrides
43
        // ClassWizard generated virtual function overrides
44
        //{{AFX_VIRTUAL(CDoubleEdit)
45
        public:
46
        protected:
47
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
48
        //}}AFX_VIRTUAL
49
 
50
protected:
51
 
52
        CString TrimRightNoCase (const CString & strInput, LPCTSTR lpszTrimChars);
53
        CString m_strPrevText;
54
 
55
        //{{AFX_MSG(CDoubleEdit)
56
        afx_msg void OnUpdate();
57
        //}}AFX_MSG
58
 
59
        DECLARE_MESSAGE_MAP()
60
};
61
 
62
#endif // !defined(AFX_DOUBLEEDIT_H__A38F0509_4EFF_11D3_8003_00A0C9554250__INCLUDED_)

powered by: WebSVN 2.1.0

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