L3DT documentation
Large 3D terrain generator

var_EditUIEx

Description

Edit the value of a variable using L3DT’s standard variable editing graphical user interface. The var_EditUIEx function provides extended control over the user interface that is not available using the basic var_EditUI function.

Function prototype

bool CExtAPI::var_EditUIEx(ZVAR hVar, const char* lpPrompt, unsigned long Flags, ZLIST hOptions);

Arguments

Name Type Comment
hVar ZVAR A ZVAR handle to a variable, the value of which is to be edited.
lpPrompt const char* A handle to a C-style string containing the title of the editor window. If null is given, a default title is used.
Flags unsigned long A bitfield containing flags to modify the behaviour of the editor user interface (see comments).
hOptions ZLIST A handle to a ZLIST containing additional options for the editor user interface (see comments). May be null, if no options are to be set.

Return value

False if:

  • The hVar handle is invalid (i.e. null.)
  • The variable type of hVar cannot be edited (see Var_EditUI comments.)
  • The user selects the 'Cancel' button in the user interface.

True otherwise.

Comments

'Flags' and 'hOptions'

The Flags and hOptions arguments must be null. These arguments are reserved for future use.

 
zeolite/functions/var_edituiex.txt · Last modified: 2017/08/31 05:15 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki