REAPER KB

Layouts

walter_themes/walter-concept-layouts · kind=reference

Layouts

Named groups of WALTER commands that override the default layout for one or more UI regions.

Kind: concept

The above commands can be specified at the top (global) level to control the default layouts. Additionally the author can define layouts, by using the commands "Layout" and "EndLayout". When defining a Layout, it inherits the behavior from the parent (or default) layout (at the time of first use in that UI context -- more on this later, ignore this comment for now).

The Layout command can take one or two paraemeters -- the first parameter defines the name of that layout, and the optional second parameter defines the theme image subdirectory to use for that layout.

Example:

Layout "Mute button mixer"
  clear mcp.*
  set mcp.size [20 20]
  set mcp.mute [0 0 20 20 0 0 1 1]
EndLayout

You can specify multiple Layouts with the same name, and they will be treated similar to a single Layout definiton, though for clarity it might be good to separate them based on the UI context (i.e. tcp.*, mcp.*, etc).

If you define layouts with the same name for various UI contexts, you may wish to expose them as a global theme layout using GlobalLayout, which then lists that layout in the main layout list.

Other sections in this document