The specific twist with the clip display lies in the fact that there might or might not be a dedicated clip widget, based on the current presentation style and zoom level. Consequently we need hook up the widget for dragging, only when, and whenever a new clip widget is actually created. This boils down to the requirement to detect whenever a state change creates a dedicated widget -- and this can only be sensibly implemented when all display state transitions are handled by a single function. Previously, we had two specialised functions for this purpose: one to initially create the delegate and one to switch the implementation type for an already existing delegate. This refactoring attempts to merge all this logic into a single function, which now unfortunately became quite complex and hard to understand. |
||
|---|---|---|
| .. | ||
| draw | ||
| DIR_INFO | ||
| empty.html | ||
| InterfaceConcept_Varga.mm | ||
| renderengine.html | ||
| thinkPad.ichthyo.mm | ||
| uml | ||
| workflow.mm | ||