diff --git a/direct/src/plugin/Sources.pp b/direct/src/plugin/Sources.pp index 62b2c07f4b..84c251116a 100644 --- a/direct/src/plugin/Sources.pp +++ b/direct/src/plugin/Sources.pp @@ -51,7 +51,7 @@ p3dTemporaryFile.h p3dTemporaryFile.I \ p3dUndefinedObject.h \ p3dWinSplashWindow.h p3dWinSplashWindow.I \ - p3dX11SplashWindow.h \ + p3dX11SplashWindow.h p3dX11SplashWindow.I \ p3dWindowParams.h p3dWindowParams.I \ run_p3dpython.h diff --git a/direct/src/plugin/p3dX11SplashWindow.I b/direct/src/plugin/p3dX11SplashWindow.I new file mode 100644 index 0000000000..12375c0a96 --- /dev/null +++ b/direct/src/plugin/p3dX11SplashWindow.I @@ -0,0 +1,39 @@ +// Filename: p3dX11SplashWindow.I +// Created by: drose (08Sep09) +// +//////////////////////////////////////////////////////////////////// +// +// PANDA 3D SOFTWARE +// Copyright (c) Carnegie Mellon University. All rights reserved. +// +// All use of this software is subject to the terms of the revised BSD +// license. You should have received a copy of this license along +// with this source code in a file named "LICENSE." +// +//////////////////////////////////////////////////////////////////// + + +//////////////////////////////////////////////////////////////////// +// Function: P3DX11SplashWindow::X11ImageData::Constructor +// Access: Public +// Description: +//////////////////////////////////////////////////////////////////// +inline P3DX11SplashWindow::X11ImageData:: +X11ImageData() { + _filename_changed = false; + _image = NULL; + _resized_image = NULL; + _resized_width = 0; + _resized_height = 0; +} + +//////////////////////////////////////////////////////////////////// +// Function: P3DX11SplashWindow::X11ImageData::Destructor +// Access: Public +// Description: +//////////////////////////////////////////////////////////////////// +inline P3DX11SplashWindow::X11ImageData:: +~X11ImageData() { + dump_image(); +} +