summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/cross/o3d_glue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/plugin/cross/o3d_glue.cc')
-rw-r--r--o3d/plugin/cross/o3d_glue.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/o3d/plugin/cross/o3d_glue.cc b/o3d/plugin/cross/o3d_glue.cc
index a91d370..68565aa 100644
--- a/o3d/plugin/cross/o3d_glue.cc
+++ b/o3d/plugin/cross/o3d_glue.cc
@@ -743,9 +743,6 @@ void PluginObject::set_cursor(o3d::Cursor::CursorType cursor_type) {
}
#ifdef OS_WIN
-bool PluginObject::fullscreen_class_registered_ = false;
-WNDCLASSEX PluginObject::fullscreen_class_;
-
static const wchar_t* kWindowPropertyName = L"o3d";
void PluginObject::StorePluginProperty(HWND hWnd, PluginObject *obj) {
@@ -774,22 +771,6 @@ void PluginObject::ClearPluginProperty(HWND hWnd) {
}
}
-WNDCLASSEX *PluginObject::GetFullscreenWindowClass(HINSTANCE hInstance,
- WNDPROC window_proc) {
- if (!fullscreen_class_registered_) {
- ZeroMemory(&fullscreen_class_, sizeof(WNDCLASSEX));
- fullscreen_class_.cbSize = sizeof(WNDCLASSEX);
- fullscreen_class_.hInstance = hInstance;
- fullscreen_class_.lpfnWndProc = window_proc;
- fullscreen_class_.lpszClassName = L"O3DFullScreenWindowClass";
- fullscreen_class_.style = CS_DBLCLKS;
-
- RegisterClassEx(&fullscreen_class_);
- fullscreen_class_registered_ = true;
- }
- return &fullscreen_class_;
-}
-
static LPCTSTR O3DToWindowsCursor(o3d::Cursor::CursorType cursor_type) {
switch (cursor_type) {
case o3d::Cursor::DEFAULT: