I have to build a timepicker where user clicks on a clock like circle and it gives a time.
Once I have cursor position I think that all I have to do is to calculate an angle between time 00:00 and a line which goes though middle of the clock and a cursor position. Does it sound right?
Any clue on how to do it?