Version 4 (modified by mitex, 16 years ago) (diff) |
---|
Analysis
Overview
The goal of this revision is to add more interactivity to stickies - text editing and dragging.
Task requirements
- Add Hot Text to stickies so they can be edited.
- Only basic text editing functionality is required.
- When removing a sticky, confirmation dialog should be displayed only for non-empty stickies.
- Create a halo button for moving stickies with the mouse.
- Use the same button as the frame move button.
- Place the button to the left of the remove button.
- Reuse as much as possible of the same functionality for frames.
Task result
Source code.
Implementation idea
- The halo button should be of type MoveHaloButton.
- Add it to StickyHaloMenu.
- In StickyRemoveButton change the condition to if (sticky.text().get().length() > 0).
Related
How to demo
- Run Sophie and create a new book (if no book is available).
- Go to the Stickies palette.
- Create a new sticky.
- Type some text in it.
- Drag the move halo button to move the sticky.
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)