TreeView.convertBinWindowToTreeCoords

void convertBinWindowToTreeCoords(int bx, int by, out int tx, out int ty)

Converts bin_window coordinates to coordinates for the tree (the full scrollable area of the tree).

Parameters

bxX coordinate relative to bin_window
byY coordinate relative to bin_window
txreturn location for tree X coordinate
tyreturn location for tree Y coordinate