Blender  V3.3
Classes | Functions
WindowData.c File Reference
#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "GHOST_C-api.h"
#include "WindowData.h"

Go to the source code of this file.

Classes

struct  _WindowData
 

Functions

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

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().