Something went wrong. Try again.
art software for the rest of us
drawing paint image sdl art
Something went wrong. Try again.
234 B · 13 lines
C++
1234567891011121314#include "HitTest.h"
namespace UI {
Widget* HitTest::Perform(Widget* root, Point screenPoint) { if (!root || !root->IsVisible() || !root->IsEnabled()) { return nullptr; }
return root->HitTest(screenPoint);}
}