Blender  V3.3
Typedefs | Functions
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 4 of file WindowData.h.

◆ WindowDataHandler

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

Definition at line 4 of file WindowData.h.

Function Documentation

◆ windowdata_free()

void windowdata_free ( WindowData wb)

Definition at line 31 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 26 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 17 of file WindowData.c.

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

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