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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [standalone/] [win32/] [Splash.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
//===========================================================================
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 splash window class
31
// Requires:    
32
// Provides:    
33
// See also:    
34
// Known bugs:  
35
// Usage:       
36
//
37
//####DESCRIPTIONEND####
38
//
39
//===========================================================================
40
 
41
#ifndef _SPLASH_SCRN_
42
#define _SPLASH_SCRN_
43
 
44
// Splash.h : header file
45
//
46
 
47
/////////////////////////////////////////////////////////////////////////////
48
//   Splash Screen class
49
 
50
class CSplashWnd : public CWnd
51
{
52
// Construction
53
protected:
54
        CSplashWnd();
55
        DECLARE_DYNAMIC(CSplashWnd)
56
 
57
// Attributes:
58
public:
59
        CPalette Palette;
60
        CBitmap m_bitmap;
61
        CBitmap * m_pBitmap;
62
    HBITMAP m_hBitmap;
63
// Operations
64
public:
65
        static void EnableSplashScreen(BOOL bEnable = TRUE);
66
        static void ShowSplashScreen(CWnd* pParentWnd = NULL);
67
        static BOOL PreTranslateAppMessage(MSG* pMsg);
68
        void CreateDIBPalette (LPBITMAPINFO lpbmi, LPINT lpiNumColors);
69
 
70
// Overrides
71
        // ClassWizard generated virtual function overrides
72
        //{{AFX_VIRTUAL(CSplashWnd)
73
        //}}AFX_VIRTUAL
74
 
75
// Implementation
76
public:
77
        ~CSplashWnd();
78
        virtual void PostNcDestroy();
79
 
80
protected:
81
        BOOL Create(CWnd* pParentWnd = NULL);
82
        static BOOL c_bShowSplashWnd;
83
        static CSplashWnd* c_pSplashWnd;
84
        void HideSplashScreen();
85
        HBITMAP LoadResourceBitmap(HINSTANCE hInstance, LPCTSTR lpString);
86
 
87
// Generated message map functions
88
protected:
89
        //{{AFX_MSG(CSplashWnd)
90
        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
91
        afx_msg void OnPaint();
92
        afx_msg void OnTimer(UINT nIDEvent);
93
        //}}AFX_MSG
94
        DECLARE_MESSAGE_MAP()
95
};
96
 
97
 
98
#endif

powered by: WebSVN 2.1.0

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