Blender V4.3
WindowData.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* WindowDataHandler) (void *priv, GHOST_EventHandle evt)
 
typedef struct _WindowData WindowData
 

Functions

WindowDatawindowdata_new (void *data, WindowDataHandler handler)
 
void windowdata_handle (WindowData *wb, GHOST_EventHandle evt)
 
void windowdata_free (WindowData *wb)
 

Typedef Documentation

◆ WindowData

typedef struct _WindowData WindowData

Definition at line 6 of file WindowData.h.

◆ WindowDataHandler

typedef void(* WindowDataHandler) (void *priv, GHOST_EventHandle evt)

Definition at line 5 of file WindowData.h.

Function Documentation

◆ windowdata_free()

void windowdata_free ( WindowData * wb)

Definition at line 32 of file WindowData.c.

References MEM_freeN().

Referenced by extrawindow_free(), loggerwindow_free(), and mainwindow_free().

◆ windowdata_handle()

void windowdata_handle ( WindowData * wb,
GHOST_EventHandle evt )

Definition at line 27 of file WindowData.c.

References _WindowData::data, and _WindowData::handler.

Referenced by multitest_event_handler().

◆ windowdata_new()

WindowData * windowdata_new ( void * data,
WindowDataHandler handler )

Definition at line 18 of file WindowData.c.

References _WindowData::data, data, _WindowData::handler, and MEM_mallocN.

Referenced by extrawindow_new(), loggerwindow_new(), and mainwindow_new().