MCPcopy Create free account
hub / github.com/ZDoom/Raze / SetCursor

Method SetCursor

libraries/ZWidget/src/core/widget.cpp:390–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void Widget::SetCursor(StandardCursor cursor)
391{
392 if (CurrentCursor != cursor)
393 {
394 CurrentCursor = cursor;
395 if (HoverWidget == this || CaptureWidget == this)
396 {
397 Widget* w = Window();
398 if (w)
399 {
400 w->DispWindow->SetCursor(CurrentCursor);
401 }
402 }
403 }
404}
405
406void Widget::CaptureMouse()
407{

Callers 1

OnWindowMouseMoveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected