MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetUIItemPosition

Function GetUIItemPosition

Descent3/multi_dll_mgr.cpp:983–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981 slider->SetSelectChangeCallback(fn, ptr);
982}
983void GetUIItemPosition(UIObject *item, int *x, int *y, int *w, int *h) {
984 if (x)
985 *x = item->X();
986 if (y)
987 *y = item->Y();
988 if (w)
989 *w = item->W();
990 if (h)
991 *h = item->H();
992}
993#define CDT_EVT_PLAYERKILLED 1
994#define CDT_EVT_CONNECT 2
995#define CDT_EVT_GAME_OVER 3

Callers

nothing calls this directly

Calls 4

WMethod · 0.80
HMethod · 0.80
XMethod · 0.45
YMethod · 0.45

Tested by

no test coverage detected