1054
Comment: converted to 1.6 markup
|
1365
Add a 'point' control
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
6. Add a 'point' control. One way to do it is to display two text boxes with the x and y coordinates for the point (measured in [0,1] coordinates) and a big colored dot. Whenever the dot is dragged onto an image, the x and y coordinates are updated to the ratio of the click coordinates to the image size. |
This is a informal page for coordinating suggestions on improving the interact command. At some point it should be either deleted, turned into a trac ticket, or more formal enhancement proposal. Any commentary on the nuts and bolts of what code should be changed would be appreciated as well.
- Improvement/Suggestion list
- Input boxes should have a changable length - sometimes longer inputs are necessary, and these are not handled gracefully.
- Controls placed horizontally - it would save a lot of screen real estate if controls could be placed next to each other.
- Controls changing state of other controls - currently this is not possible.
- Image input - for example, being able to click and drag a point in a displayed image. Probably hard to implement.
Show current value next to slider control, perhaps also min/max: e.g. [min] |----------------[V]----| value [max]
- Add a 'point' control. One way to do it is to display two text boxes with the x and y coordinates for the point (measured in [0,1] coordinates) and a big colored dot. Whenever the dot is dragged onto an image, the x and y coordinates are updated to the ratio of the click coordinates to the image size.
Links
R package playwith - similar idea, inside a gtk2 window