OpenGl-based custom UI edit mode
The OpenGl-based custom UI edit mode can be activated with [Menu bar --> Edit --> Edit Modes --> Enter OpenGl-based custom UI Edit Mode]. An alternative way of entering and leaving the openGl-based custom UI edit mode is by clicking the following toolbar button:
[OpenGl-based custom UI toolbar button]
Make sure the simulation is stopped. In the custom UI edit mode, the scene hierarchy view is used to display the various custom UIs in the scene as a list. Items in the list can be selected with the mouse, however only one at a time. Following figure illustrates the custom UI edit mode:
[OpenGl-based custom UI edit mode]
Copy/paste/delete/cut operations on custom UIs in the list are supported with the regular key combination (i.e. ctrl-c, ctrl-v, delete and ctrl-x). The same copy/paste/delete/cut functionalities can also be accessed through the popup-menu or through [Menu bar --> Edit].
An OpenGl-based custom UI is constituted by cells forming a rectangular surface. The number of cell-rows and cell-columns can be defined in the custom UI dialog. Following figure displays an OpenGl-based custom UI as seen normally, and its corresponding display when in edit mode:
[Two corresponding OpenGl-based custom UIs, (1) normal display, (2) edit mode display]
From above figure it can be seen that cells can be left empty and won't display in the normal mode (non edit mode). In the edit mode, all cells are shown with an orange frame. Cells can be merged to form bigger cells, but in that case they are not allowed to be empty anymore. Single cells or merged cells are however always rectangular. Individual cells are selected by clicking them (the cell's orange frame will turn white or yellow to indicate the selection state). Holding down the ctrl-key during selection allows for multiple selection of cells belonging to a same custom UI. The last selected cell is indicated with a white frame, other selected cells are indicated with a yellow frame. Holding down the shift-key during selection allows selecting a rectangular surface of cells. The OpenGl-based custom UI dialog is context sensitive and will display a different content according to the cell's selection state.