| OLD | NEW |
| 1 # Mozart View Tiling Example | 1 # Mozart View Tiling Example |
| 2 | 2 |
| 3 This directory contains a simple application which embeds any number of | 3 This directory contains a simple application which embeds any number of |
| 4 views from other applications all tiled in a row. | 4 views from other applications all tiled in a row. |
| 5 | 5 |
| 6 The applications must implement the ViewProvider interface and register | 6 The applications must implement the ViewProvider interface and register |
| 7 their Views with the ViewManager for this to work. | 7 their Views with the ViewManager for this to work. |
| 8 | 8 |
| 9 ## USAGE | 9 ## USAGE |
| 10 | 10 |
| 11 out/Debug/mojo_shell "mojo:launcher mojo:tile_view?<app1>[,<app2>[,...]]" | 11 Specify the urls of the views to embed as a comma-delimited query string. |
| 12 | 12 |
| 13 Specify the urls of the views to embed as a comma-delimited query parameter. | 13 out/Debug/mojo_shell "mojo:launcher mojo:tile_view?views=<app1>[,<app2>[,...]]
" |
| 14 | 14 |
| 15 eg. out/Debug/mojo_shell "mojo:launcher mojo:tile_view?mojo:spinning_cube_view
,mojo:noodles_view" | 15 eg. out/Debug/mojo_shell "mojo:launcher mojo:tile_view?views=mojo:spinning_cub
e_view,mojo:noodles_view" |
| 16 |
| 17 The query string may also encode tiling options by appending parameters to |
| 18 the end of the query string. |
| 19 |
| 20 Version mode for child views: |
| 21 |
| 22 &vm=any : composite most recent unblocked version of each child (default) |
| 23 &vm=exact : composite only exact version of child specified during |
| 24 layout (forces frame-level synchronization of resizing) |
| 25 |
| 26 Combinator mode for child views: |
| 27 |
| 28 &cm=merge : use MERGE combinator (default) |
| 29 &cm=prune : use PRUNE combinator |
| 30 &cm=flash : use FALLBACK combinator with solid red color as |
| 31 alternate content |
| 32 &cm=dim : use FALLBACK combinator with a dimmed layer containing the |
| 33 most recent unblocked version of the child |
| 34 |
| 35 Orientation mode for child views: |
| 36 |
| 37 &o=h : tile children horizontally |
| 38 &o=v : tile children vertically |
| OLD | NEW |