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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [SplitterWndEx.h] - Blame information for rev 786

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
//===========================================================================
23
//#####DESCRIPTIONBEGIN####
24
//
25
// Author(s):   sdf
26
// Contact(s):  sdf
27
// Date:                1998/08/11
28
// Version:             0.01
29
// Purpose:     
30
// Description: Interface of the customer splitter window class
31
// Requires:    
32
// Provides:    
33
// See also:    
34
// Known bugs:  
35
// Usage:       
36
//
37
//####DESCRIPTIONEND####
38
//
39
//===========================================================================
40
#ifndef _SPLITTERWNDEX
41
#define _SPLITTERWNDEX
42
#if _MSC_VER >= 1000
43
#pragma once
44
#endif // _MSC_VER >= 1000
45
////////////////////////////////////////////////////////////////////////////
46
//
47
// splitex.h
48
// (c) 1997, Oleg G. Galkin
49
 
50
class CSplitterWndEx : public CSplitterWnd
51
{
52
public:
53
        void SetSplitPoint (double fSplit);
54
        double GetSplitPoint();
55
        void RecalcLayout();
56
        void ShowPane (CWnd *pWnd,BOOL bShow);
57
    CSplitterWndEx();
58
        //virtual BOOL CreateStatic( CWnd* pParentWnd, int nRows, int nCols, DWORD dwStyle = WS_CHILD | WS_VISIBLE, UINT nID = AFX_IDW_PANE_FIRST );
59
 
60
// ClassWizard generated virtual function overrides
61
     //{{AFX_VIRTUAL(CSplitterWndEx)
62
     //}}AFX_VIRTUAL
63
 
64
// Generated message map functions
65
protected:
66
  bool IsHorizontal() const { return m_nCols>m_nRows; }
67
        void SwapRowColInfo();
68
        double m_fRowColumnRatio;
69
        BOOL m_bParentHide;
70
        CWnd * m_pwnd1;
71
        CWnd * m_pwnd2;
72
     //{{AFX_MSG(CSplitterWndEx)
73
        afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
74
        afx_msg void OnSize(UINT nType, int cx, int cy);
75
        //}}AFX_MSG
76
 
77
    DECLARE_MESSAGE_MAP()
78
};
79
#endif

powered by: WebSVN 2.1.0

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