Difference between revisions of "Panels and Forms"

From HLKitWiki
Jump to: navigation, search
(New page: Category:Basic Concepts and Terminology [Context: HL Kit … Basic Concepts and Terminology … Visual Building Blocks] Panels and forms are the top-level visua...)
 
Line 5: Line 5:
  
 
Both panels and forms contain one or more layouts and represent a rectangular region comprising the panel/form. The panel/form is responsible for coordinating the position of its contained layouts within its boundaries.
 
Both panels and forms contain one or more layouts and represent a rectangular region comprising the panel/form. The panel/form is responsible for coordinating the position of its contained layouts within its boundaries.
 +
 +
<span class="important">IMPORTANT!</span> Unlike most other visual elements, panels and forms share the same namespace. This means that the unique ids assigned to panels are '''not''' distinct from the unique ids assigned to forms. You may '''not''' define a panel with the same unique id as a form, and vice versa. All of the ids assigned to panels and forms must be distinct from one another.

Revision as of 17:20, 20 November 2008

[Context: HL KitBasic Concepts and TerminologyVisual Building Blocks]

Panels and forms are the top-level visual element used on-screen. Panels define the contents of pre-defined regions within HL. This includes the various tab-based panels used within the interface, as well as the summary panels shown on the right. Forms behave very similarly to panels and are used to define the contents of standalone windows that HL manages. These include the Configure Hero form, the Tactical Console, and forms for editing the contents of gizmos (e.g. custom magic weapons within the d20 System).

Both panels and forms contain one or more layouts and represent a rectangular region comprising the panel/form. The panel/form is responsible for coordinating the position of its contained layouts within its boundaries.

IMPORTANT! Unlike most other visual elements, panels and forms share the same namespace. This means that the unique ids assigned to panels are not distinct from the unique ids assigned to forms. You may not define a panel with the same unique id as a form, and vice versa. All of the ids assigned to panels and forms must be distinct from one another.