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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [configtool/] [standalone/] [win32/] [Splash.h] - Blame information for rev 321

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

powered by: WebSVN 2.1.0

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