|
Blender V4.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 | ) |
Referenced by ccgSubSurf__calcVertNormals_faces_accumulate_cb(), libmv::EuclideanIntersect(), libmv::EuclideanReconstructTwoFrames(), libmv::euclidean_resection::EuclideanResection(), libmv::euclidean_resection::EuclideanResectionAnsarDaniilidis(), libmv::euclidean_resection::EuclideanResectionEPnP(), libmv::EuclideanToNormalizedCamera(), libmv::GetR_FixedCameraCenter(), libmv::HomogeneousToNormalizedCamera(), Freestyle::GeomUtils::includePointTriangle(), keytype_to_string(), libmv::KRt_From_P(), microfacet_beckmann_sample_vndf(), libmv::P_From_KRt(), libmv::RootMeanSquareError(), libmv::SelectKeyframesBasedOnGRICAndVariance(), and signDetermination1Internal().
| void event_to_buf | ( | GHOST_EventHandle | evt, |
| char | buf[128] ) |
Definition at line 188 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, 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 14 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, and GHOST_kEventWindowUpdate.
Referenced by event_to_buf(), and multitest_event_handler().
|
static |