MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Item_SetMouseOver

Function Item_SetMouseOver

code/ui/ui_shared.cpp:9296–9309  ·  view source on GitHub ↗

================= Item_SetMouseOver ================= */

Source from the content-addressed store, hash-verified

9294=================
9295*/
9296void Item_SetMouseOver(itemDef_t *item, qboolean focus)
9297{
9298 if (item)
9299 {
9300 if (focus)
9301 {
9302 item->window.flags |= WINDOW_MOUSEOVER;
9303 }
9304 else
9305 {
9306 item->window.flags &= ~WINDOW_MOUSEOVER;
9307 }
9308 }
9309}
9310
9311/*
9312=================

Callers 1

Menu_HandleMouseMoveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected