From The Foundry MODO SDK wiki
|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | The modo '''user interface''' is broken down into a few key components. Many of these are available to plug-ins, although some are not as yet.
| + | #REDIRECT [[User Interface and Plug-Ins]] |
− | | + | |
− | == Layouts ==
| + | |
− | [[Layouts]] are the root level of the [[Frames System]]. A layout contains and organizes viewports around resizable dividers. Layouts can be nested into sub-frames, can be arranged into tabs, or can be placed in different windows.
| + | |
− | | + | |
− | == Viewports ==
| + | |
− | '''Viewports''' represent a specific targeted module for interacting with the user, and are managed by the ''Frames System''. The Item List, 3D Viewport, and [[Form View]] are examples of viewports. Viewports may contain OpenGL views, controls, trees, or any combination thereof. Viewports are not currently available as an extensible part of ''modo'' through the [[SDK]].
| + | |
− | | + | |
− | == Forms ==
| + | |
− | The various properties forms in the user interface in ''modo'' are defined through the [[Form System]]. This system uses [[Command System|commands]] grouped into ''forms'' to populate [[Form View]] viewports. Forms are stored in [[Config Files|configs]] and can be edited through the [[Form Editor]]. How the control is defined and how it is added to the form determines the kind of control that is created. [[Scripting|Scripts]] and [[SDK|plug-ins]] will most often create their user interfaces by adding commands to Form Views, either through [[User Values]] or, in the case of plug-ins, by defining their own [[Command_Interface|custom commands]].
| + | |
− | | + | |
− | Forms can also be used to create context menus, and are used to define by the main menu bar.
| + | |
− | | + | |
− | == Card Views ==
| + | |
− | The [[Card View]] provides an image-based approach to user interfaces. Usually reserved for very specific layouts and image-centric designs, it allows regions on an image to be associated with commands. Card sets are created by hand-editing configs and placing them in a ''Card View'' viewport.
| + | |
− | | + | |
− | == Dialogs ==
| + | |
− | There are a few ways to create a dialog in modo. Executing a command may open a [[Command Dialog|command dialog]] to get argument values from the user. Simple confirmation dialogs can be created with the [[Dialog Commands|dialog commands]]. These can also be used to open common system dialogs like file load/save, directory chooser and color picker dialogs.
| + | |
Latest revision as of 15:06, 20 September 2016