瀏覽代碼

missing file

David Rose 16 年之前
父節點
當前提交
ab5f99fb20
共有 2 個文件被更改,包括 40 次插入1 次删除
  1. 1 1
      direct/src/plugin/Sources.pp
  2. 39 0
      direct/src/plugin/p3dX11SplashWindow.I

+ 1 - 1
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
 

+ 39 - 0
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();
+}
+