Blender
V3.3
|
#include <stdlib.h>
#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "EventToBuf.h"
#include "GHOST_C-api.h"
Go to the source code of this file.
Macros | |
#define | K(key) |
Functions | |
char * | eventtype_to_string (GHOST_TEventType type) |
static char * | keytype_to_string (GHOST_TKey key) |
void | event_to_buf (GHOST_EventHandle evt, char buf[128]) |
#define K | ( | key | ) |
void event_to_buf | ( | GHOST_EventHandle | evt, |
char | buf[128] | ||
) |
Definition at line 187 of file EventToBuf.c.
References GHOST_TEventButtonData::button, data, double(), eventtype_to_string(), free(), GHOST_GetEventData(), GHOST_GetEventTime(), GHOST_GetEventType(), GHOST_GetEventWindow(), GHOST_GetTitle(), GHOST_kEventButtonDown, GHOST_kEventButtonUp, GHOST_kEventCursorMove, GHOST_kEventKeyDown, GHOST_kEventKeyUp, GHOST_TEventKeyData::key, keytype_to_string(), pos, time, type, GHOST_TEventKeyData::utf8_buf, GHOST_TEventCursorData::x, and GHOST_TEventCursorData::y.
Referenced by extrawindow_handle(), and mainwindow_handle().
char* eventtype_to_string | ( | GHOST_TEventType | type | ) |
Definition at line 13 of file EventToBuf.c.
References GHOST_kEventButtonDown, GHOST_kEventButtonUp, GHOST_kEventCursorMove, GHOST_kEventKeyDown, GHOST_kEventKeyUp, GHOST_kEventQuitRequest, GHOST_kEventWindowActivate, GHOST_kEventWindowClose, GHOST_kEventWindowDeactivate, GHOST_kEventWindowSize, GHOST_kEventWindowUpdate, and type.
Referenced by event_to_buf(), and multitest_event_handler().
|
static |