/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/src/msw/dcscreen.cpp
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/src/msw/dcscreen.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 11 months ago) by william
File size: 1046 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/msw/dcscreen.cpp
3 // Purpose: wxScreenDC class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id: dcscreen.cpp 39123 2006-05-09 13:55:29Z ABX $
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #include "wx/dcscreen.h"
20
21 #ifndef WX_PRECOMP
22 #include "wx/string.h"
23 #include "wx/window.h"
24 #endif
25
26 #include "wx/msw/private.h"
27
28 IMPLEMENT_DYNAMIC_CLASS(wxScreenDC, wxDC)
29
30 // Create a DC representing the whole screen
31 wxScreenDC::wxScreenDC()
32 {
33 m_hDC = (WXHDC) ::GetDC((HWND) NULL);
34
35 // the background mode is only used for text background and is set in
36 // DrawText() to OPAQUE as required, otherwise always TRANSPARENT
37 ::SetBkMode( GetHdc(), TRANSPARENT );
38 }

  ViewVC Help
Powered by ViewVC 1.1.22