Develop and Download Open Source Software

Browse CVS Repository

Contents of /satellite/neuromanager/NeuroManagerView.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download) (as text)
Sat Feb 4 13:38:16 2006 UTC (18 years, 2 months ago) by orrisroot
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
File MIME type: text/x-chdr
FILE REMOVED
moved main application sources to neuromanager directory.

1 /* --------------------------------------------------------------------- */
2 /* NeuroManager - A spike train analysis tool */
3 /* Copyright (c) 2005-2006 RIKEN, Japan. All rights reserved. */
4 /* http://satellite.sourceforge.jp/ */
5 /* --------------------------------------------------------------------- */
6 /* This program is free software; you can redistribute it and/or */
7 /* modify it under the terms of the GNU General Public License */
8 /* as published by the Free Software Foundation; either version 2 */
9 /* of the License, or (at your option) any later version. */
10 /* */
11 /* This program is distributed in the hope that it will be useful, */
12 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14 /* GNU 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; see the file COPYING.txt. If not, write */
18 /* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth */
19 /* Floor, Boston, MA 02110-1301, USA. */
20 /* --------------------------------------------------------------------- */
21
22 /* $Id: NeuroManagerView.h,v 1.7 2006/01/24 01:59:57 orrisroot Exp $ */
23
24 // NeuroManagerView.h : interface of the CNeuroManagerView class
25 //
26
27 #pragma once
28
29 class CNeuroManagerView : public CView
30 {
31 protected:
32 // create from serialization only
33 CNeuroManagerView();
34 DECLARE_DYNCREATE( CNeuroManagerView )
35
36 // Attributes
37 public:
38 CNeuroManagerDoc* GetDocument() const;
39
40 // Operations
41 public:
42
43 // Overrides
44 public:
45 virtual void OnDraw( CDC* pDC ); // overridden to draw this view
46 virtual BOOL PreCreateWindow( CREATESTRUCT& cs );
47 protected:
48 virtual BOOL OnPreparePrinting( CPrintInfo* pInfo );
49 virtual void OnBeginPrinting( CDC* pDC, CPrintInfo* pInfo );
50 virtual void OnEndPrinting( CDC* pDC, CPrintInfo* pInfo );
51 virtual void OnInitialUpdate();
52
53 // Implementation
54 public:
55 virtual ~CNeuroManagerView();
56 #ifdef _DEBUG
57
58 virtual void AssertValid() const;
59 virtual void Dump( CDumpContext& dc ) const;
60 #endif
61
62 protected:
63
64 // Generated message map functions
65 protected:
66 DECLARE_MESSAGE_MAP()
67 afx_msg BOOL OnEraseBkgnd( CDC* pDC );
68 afx_msg void OnDestroy();
69
70 private:
71 CBrush m_BkgndBrush; // new background brush
72 HBRUSH m_hOldBkgndBrush; // previous background brush
73 };
74
75 #ifndef _DEBUG // debug version in NeuroManagerView.cpp
76 inline CNeuroManagerDoc* CNeuroManagerView::GetDocument() const
77 {
78 return reinterpret_cast<CNeuroManagerDoc*>( m_pDocument );
79 }
80 #endif
81

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26