Hi, There are a few things about this task that I would like to discuss thoroughly before I start trying to code things further (here is the link for easier reference : https://gna.org/task/?5318 ).
1) I see fairly well how the partial annulus can be done : after all, from what I already coded, it's just playing with the minimum&maximum angle. 2) For the + and - sub-widgets, I definitely need explanations on how events work with wormux' widgets : I see pretty well how to draw the buttons, but modifying them on user click seems more difficult. Situation 1 ; the user clicks on + : Here I can change the + to sunken on click down and normal on click release -- should be pretty easy Situation 2 ; the user clicks down on + but releases elsewhere on the widget : Here I can change the + to sunken on click down... and normal on click release -- still easy : just do the sink of the sub-button on direct click down, and change both of them to normal on click release for the widget (no notion of direct click release) Situation 3 ; the user clicks down on + but releases out of the widget : Here I can change the + to sunken on click down... I'll never get any click release event -- could be tricky : do I have a mouse-leave event which could trigger setting the buttons to normal ? 3) about the left/right click anywhere on the widget (except the sub-buttons) : should I still honor them like the current behaviour ? 4) About keyboard-driven menus: how do I ensure that the widget will be easy to make keyboard-friendly? Snark _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev