Display: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''Display''' is a UI object that holds [[Dialog Control|Dialogs]] and [[Control]]s. Displays and dialogs are identified by IDDs; controls are identified by IDCs. The distinction between displays and dialogs becomes apparent at time of creation and closing. A display uses the functions [[createDisplay]] and [[closeDisplay]], whereas a dialog uses [[createDialog]] and [[closeDialog]]. Both displays and dialogs can be accessed with [[findDisplay]] if the IDD is available.
'''Display''' is a UI object that holds [[Dialog Control|Dialogs]] and [[Control]]s. Similar to how controls are identified by IDCs, displays and dialogs are identified by IDDs. If the IDD is available, displays (and dialogs) can be accessed with [[findDisplay]]. The existence of a distinction between displays and dialogs becomes apparent at time of creation and closing. A display uses the functions [[createDisplay]] and [[closeDisplay]], whereas a dialog uses [[createDialog]] and [[closeDialog]].


Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.
Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.


[[Category: Data Types]]
[[Category: Data Types]]

Revision as of 14:11, 6 January 2010

Display is a UI object that holds Dialogs and Controls. Similar to how controls are identified by IDCs, displays and dialogs are identified by IDDs. If the IDD is available, displays (and dialogs) can be accessed with findDisplay. The existence of a distinction between displays and dialogs becomes apparent at time of creation and closing. A display uses the functions createDisplay and closeDisplay, whereas a dialog uses createDialog and closeDialog.

Introduced with Armed Assault, does not refer to Cold War Crisis or Resistance.