mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-08-11 07:39:26 +00:00
Move tiny_gltf.h/.cc, tinygltf_json.h, json.hpp, stb_image*, loader_example.cc, examples/, wasm/, experimental/, legacy tests and fuzzers under attic/. TinyGLTF v3 C (tiny_gltf_v3.h/.c + tinygltf_json_c.h) is now the mainline: - CMakeLists.txt: v3 C tests only, installs only v3 files - tests/Makefile and Makefile: build/run the v3 C testers - test_runner.py: verifies v3 C tester output only (no v1 ground truth) - CI workflows: build and test v3 C only (GCC/Clang/MSVC/Meson/sanitizers) - README: v3 C quick start, testing, licenses; legacy moved to attic/
68 lines
1.3 KiB
C
68 lines
1.3 KiB
C
|
|
#ifndef WIN32_INTERNAL_WINDOW_DATA_H
|
|
#define WIN32_INTERNAL_WINDOW_DATA_H
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
struct InternalData2
|
|
{
|
|
HWND m_hWnd;;
|
|
int m_fullWindowWidth;//includes borders etc
|
|
int m_fullWindowHeight;
|
|
|
|
int m_openglViewportWidth;//just the 3d viewport/client area
|
|
int m_openglViewportHeight;
|
|
|
|
HDC m_hDC;
|
|
HGLRC m_hRC;
|
|
bool m_OpenGLInitialized;
|
|
int m_oldScreenWidth;
|
|
int m_oldHeight;
|
|
int m_oldBitsPerPel;
|
|
bool m_quit;
|
|
int m_mouseLButton;
|
|
int m_mouseRButton;
|
|
int m_mouseMButton;
|
|
int m_mouseXpos;
|
|
int m_mouseYpos;
|
|
|
|
int m_internalKeyModifierFlags;
|
|
|
|
b3WheelCallback m_wheelCallback;
|
|
b3MouseMoveCallback m_mouseMoveCallback;
|
|
b3MouseButtonCallback m_mouseButtonCallback;
|
|
b3ResizeCallback m_resizeCallback;
|
|
b3KeyboardCallback m_keyboardCallback;
|
|
|
|
|
|
|
|
InternalData2()
|
|
{
|
|
m_hWnd = 0;
|
|
m_mouseLButton=0;
|
|
m_mouseRButton=0;
|
|
m_mouseMButton=0;
|
|
m_internalKeyModifierFlags = 0;
|
|
m_fullWindowWidth = 0;
|
|
m_fullWindowHeight= 0;
|
|
m_openglViewportHeight=0;
|
|
m_openglViewportWidth=0;
|
|
m_hDC = 0;
|
|
m_hRC = 0;
|
|
m_OpenGLInitialized = false;
|
|
m_oldScreenWidth = 0;
|
|
m_oldHeight = 0;
|
|
m_oldBitsPerPel = 0;
|
|
m_quit = false;
|
|
|
|
m_keyboardCallback = 0;
|
|
m_mouseMoveCallback = 0;
|
|
m_mouseButtonCallback = 0;
|
|
m_resizeCallback = 0;
|
|
m_wheelCallback = 0;
|
|
|
|
}
|
|
};
|
|
|
|
#endif //WIN32_INTERNAL_WINDOW_DATA_H
|