Minetest 5.10.0-dev
 
Loading...
Searching...
No Matches
PointerAction Struct Reference

#include <modalMenu.h>

Public Member Functions

bool isRelated (PointerAction other)
 

Static Public Member Functions

static PointerAction fromEvent (const SEvent &event)
 

Public Attributes

v2s32 pos
 
u64 time
 

Member Function Documentation

◆ fromEvent()

PointerAction PointerAction::fromEvent ( const SEvent & event)
static

References FATAL_ERROR, and porting::getTimeMs().

Referenced by GUIModalMenu::preprocessEvent(), and GUIModalMenu::remapClickOutside().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isRelated()

bool PointerAction::isRelated ( PointerAction other)

References porting::getDeltaMs(), pos, and time.

Referenced by GUIModalMenu::preprocessEvent(), and GUIModalMenu::remapClickOutside().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ pos

v2s32 PointerAction::pos

◆ time

u64 PointerAction::time

Referenced by isRelated().


The documentation for this struct was generated from the following files: