1 |
Well,
if
selecting
the
player
just
means
clicking
on
their
name
in
the
player
list
that
would
probably
simply
a
matter
of
having
an
OnClick
handler
associated
with
the
chili
text,
that
sets
the
to-be-highlighted
player
id.
If
selecting
the
player
means
clicking
on
their
line
in
the
graph,
then
it
would
be
a
lot
harder,
and
probably
require
some
work
just
to
set
up
the
data
structures
in
a
way
that
doing
the
hit
tests
on
the
graph
lines
isn't
ludicrously
expensive.
|
1 |
Well,
if
selecting
the
player
just
means
clicking
on
their
name
in
the
player
list
that
would
probably
simply
a
matter
of
having
an
MouseClick
handler
associated
with
the
chili
label
(
though
I'm
not
entirely
sure
how
to
do
that)
,
that
sets
the
to-be-highlighted
player
id.
If
selecting
the
player
means
clicking
on
their
line
in
the
graph,
then
it
would
be
a
lot
harder,
and
probably
require
some
work
just
to
set
up
the
data
structures
in
a
way
that
doing
the
hit
tests
on
the
graph
lines
isn't
ludicrously
expensive.
|