mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
new window code
This commit is contained in:
parent
ba6dd38df7
commit
0de392dc87
23
panda/metalibs/pandadx7/Sources.pp
Normal file
23
panda/metalibs/pandadx7/Sources.pp
Normal file
@ -0,0 +1,23 @@
|
||||
#define BUILD_DIRECTORY $[HAVE_DX]
|
||||
|
||||
// DIR_TYPE "metalib" indicates we are building a shared library that
|
||||
// consists mostly of references to other shared libraries. Under
|
||||
// Windows, this directly produces a DLL (as opposed to the regular
|
||||
// src libraries, which don't produce anything but a pile of OBJ files
|
||||
// under Windows).
|
||||
|
||||
#define DIR_TYPE metalib
|
||||
#define BUILDING_DLL BUILDING_PANDADX
|
||||
|
||||
#define COMPONENT_LIBS \
|
||||
dxgsg7
|
||||
#define LOCAL_LIBS gsgbase display express
|
||||
#define OTHER_LIBS dtoolconfig dtool
|
||||
|
||||
#begin metalib_target
|
||||
#define TARGET pandadx7
|
||||
#define SOURCES pandadx7.cxx
|
||||
#define WIN_SYS_LIBS \
|
||||
ddraw.lib dxguid.lib winmm.lib \
|
||||
kernel32.lib gdi32.lib user32.lib $[WIN_SYS_LIBS]
|
||||
#end metalib_target
|
23
panda/metalibs/pandadx7/pandadx7.cxx
Normal file
23
panda/metalibs/pandadx7/pandadx7.cxx
Normal file
@ -0,0 +1,23 @@
|
||||
// Filename: pandadx.cxx
|
||||
// Created by: drose (15May00)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "pandadx.h"
|
||||
|
||||
#include <config_dxgsg.h>
|
||||
#include <config_wdxdisplay.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: init_libpandadx
|
||||
// Description: Initializes the library. This must be called at
|
||||
// least once before any of the functions or classes in
|
||||
// this library can be used. Normally it will be
|
||||
// called by the static initializers and need not be
|
||||
// called explicitly, but special cases exist.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void
|
||||
init_libpandadx() {
|
||||
init_libdxgsg();
|
||||
init_libwdxdisplay();
|
||||
}
|
13
panda/metalibs/pandadx7/pandadx7.h
Normal file
13
panda/metalibs/pandadx7/pandadx7.h
Normal file
@ -0,0 +1,13 @@
|
||||
// Filename: pandadx.h
|
||||
// Created by: drose (2Jan01)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef PANDADX_H
|
||||
#define PANDADX_H
|
||||
|
||||
#include <pandabase.h>
|
||||
|
||||
EXPCL_PANDADX void init_libpandadx();
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user