we'll use a typedef to represent the default case and provide the level within the UI-Tree as template parameter for the generic case This avoids wrapping each definition into a builder function, which will be the same function for 99% of the cases, and it looks rather compact and natural for the default case, while still retaining genericity. Another alternative would have been to inject the Tree-level at the invocation; but doing so feels more like magic for me. |
||
|---|---|---|
| .. | ||
| backend | ||
| common | ||
| gui | ||
| include | ||
| lib | ||
| lumiera | ||
| plugin | ||
| proc | ||
| tool | ||
| .gitignore | ||
| DIR_INFO | ||
| doxygen.dox | ||
| SConscript | ||