52 | | ^(Describe your design here.)^ |
| 52 | To have this implemented the model of text view must be extended. In our case this is HotTextFrameContent. It will be extended with tree properties: |
| 53 | * next - this is the next frame view where the text that doesn't fit in the current frame will be flowed |
| 54 | * prev - this is the previous frame in the chaining. Could be null if the current frame is the main one. Also this property should be read only. |
| 55 | * main - this is the frame content whoes mainResource property will be used through the whole chain. |
| 56 | |
| 57 | Also the text layout should be extended. It will support functionality to inform its clients if a text can be fitted in particular bounds and what part of a text can be shown in a frame. A new metohd will be added - canFitText (bounds : ImmRect) |
| 58 | |
| 59 | New halo menu will be defined. It will be visible only if the current text frame can't show any more glyphs. This menu will contain one halo button which will open a HUD. In the HUD will be two controls: |
| 60 | * label - indicating which is the previous frame view |
| 61 | * combo box that the next frame view can be chosen |
| 62 | This halo buton will appear in the center of the botom border and will have an icon with arrow. The described functionality will use the new defined method in the text layout - if the text can't fit in the current frame the halo will appear. |
| 63 | |
| 64 | [[Image(source:branches/private/nenko/sophie2-platform/doc/uml-design-diagrams/hotText/textChaining_r0.png)]] |
| 65 | |