31 | | ^(Describe your design here.)^ |
| 31 | * Implement content halo menu. |
| 32 | * Content halo menu does not differ from other halo menus, except for its location. This means that the "computeLocation" method should be implemeted differently for every halo menu so that it appears in the right place. For the TextHaloMenu this means: |
| 33 | * A method ImmPoint getHitPint(HotPos hotPos) should be implemented in HotTextLayout class. It should return an ImmPoint for the caret. (A method that returns the HotPos given an ImmPoint is already implemented.) |
| 34 | * TextHaloMenu should return a relevant location in its computeLocation method using this method and providing the position of the caret in the text. |
| 35 | * For other halo menus that should deal with content, other approaches may be defined. |
| 36 | * Implement halo aligning (left and right at the same time for top halo menu) and Optional - implement vertical halo menus |
| 37 | * Aligning halo menus will be defined as VERTICAL and HORIZONTAL aligning of menus. An enum in the HaloMenu class will define these two. And the actual aligning will be done in the locationSync method, that currently aligns halos horizontally in the menu. |
| 38 | * Implement bottom right halo menu (for rotation halo) and move the rotation halos there for now. |
| 39 | |