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

Subversion Repositories openrisc

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

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
//===========================================================================
26
//#####DESCRIPTIONBEGIN####
27
//
28
// Author(s):   sdf
29
// Contact(s):  sdf
30
// Date:                1998/08/11
31
// Version:             0.01
32
// Purpose:     
33
// Description: Interface of a CSplitterWndEx override for control/cell view split
34
// Requires:    
35
// Provides:    
36
// See also:    
37
// Known bugs:  
38
// Usage:       
39
//
40
//####DESCRIPTIONEND####
41
//
42
//===========================================================================#include "stdafx.h"
43
#ifndef _THINSPLITTER_H
44
#define _THINSPLITTER_H
45
#include "SplitterWndEx.h"
46
class CThinSplitter : public CSplitterWndEx {
47
public:
48
        CThinSplitter();
49
        virtual ~CThinSplitter();
50
        void DeleteColumn(int colDelete);
51
        void OnDrawSplitter( CDC* pDC, ESplitType nType, const CRect& rect );
52
        int HitTest(CPoint pt) const;
53
        BOOL SplitColumn(int cxBefore);
54
        void RecalcLayout();
55
        virtual BOOL CreateStatic( CWnd* pParentWnd, int nRows, int nCols, DWORD dwStyle = WS_CHILD | WS_VISIBLE, UINT nID = AFX_IDW_PANE_FIRST );
56
 
57
protected:
58
 
59
  CPen m_GrayPen;
60
        double m_fColumnRatio;
61
        //DECLARE_DYNCREATE(CThinSplitter)
62
        //{{AFX_MSG(CThinSplitter)
63
        afx_msg void OnSize(UINT nType, int cx, int cy);
64
        afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
65
        afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
66
        //}}AFX_MSG
67
        DECLARE_MESSAGE_MAP()
68
};
69
 
70
#endif
71
 
72
 
73
 
74
 
75
 

powered by: WebSVN 2.1.0

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