#include "HitTest.h" namespace UI { Widget* HitTest::Perform(Widget* root, Point screenPoint) { if (!root || !root->IsVisible() || !root->IsEnabled()) { return nullptr; } return root->HitTest(screenPoint); } }