Blender V5.0
Window Struct Reference

Public Attributes

WindowInitFunc initf = nullptr
WindowExitFunc exitf = nullptr
WindowResizeFunc resize = nullptr
WindowDisplayFunc display = nullptr
WindowKeyboardFunc keyboard = nullptr
WindowMotionFunc motion = nullptr
bool first_display = true
bool redraw = false
int mouseX = 0
int mouseY = 0
int mouseBut0 = 0
int mouseBut2 = 0
int width = 0
int height = 0
SDL_Window * window = nullptr
SDL_GLContext gl_context = nullptr
thread_mutex gl_context_mutex

Detailed Description

Definition at line 22 of file window.cpp.

Member Data Documentation

◆ display

WindowDisplayFunc Window::display = nullptr

Definition at line 26 of file window.cpp.

◆ exitf

WindowExitFunc Window::exitf = nullptr

Definition at line 24 of file window.cpp.

◆ first_display

bool Window::first_display = true

Definition at line 30 of file window.cpp.

◆ gl_context

SDL_GLContext Window::gl_context = nullptr

Definition at line 39 of file window.cpp.

◆ gl_context_mutex

thread_mutex Window::gl_context_mutex

Definition at line 40 of file window.cpp.

◆ height

int Window::height = 0

Definition at line 36 of file window.cpp.

◆ initf

WindowInitFunc Window::initf = nullptr

Definition at line 23 of file window.cpp.

◆ keyboard

WindowKeyboardFunc Window::keyboard = nullptr

Definition at line 27 of file window.cpp.

◆ motion

WindowMotionFunc Window::motion = nullptr

Definition at line 28 of file window.cpp.

◆ mouseBut0

int Window::mouseBut0 = 0

Definition at line 34 of file window.cpp.

◆ mouseBut2

int Window::mouseBut2 = 0

Definition at line 34 of file window.cpp.

◆ mouseX

int Window::mouseX = 0

Definition at line 33 of file window.cpp.

◆ mouseY

int Window::mouseY = 0

Definition at line 33 of file window.cpp.

◆ redraw

bool Window::redraw = false

Definition at line 31 of file window.cpp.

◆ resize

WindowResizeFunc Window::resize = nullptr

Definition at line 25 of file window.cpp.

◆ width

int Window::width = 0

Definition at line 36 of file window.cpp.

◆ window

SDL_Window* Window::window = nullptr

Definition at line 38 of file window.cpp.


The documentation for this struct was generated from the following file: