L3DT documentation
Large 3D terrain generator

var_EditUI

Description

Edit the value of a variable using L3DT's standard variable editing graphical user interface.

Function prototype

bool CExtAPI::var_EditUI(ZVAR hVar, const char* lpPrompt);

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.

Return value

False if:

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

True otherwise.

Comments

Compatible types

The following variable types are compatible with the var_EditUI function:

  • VarID_char
  • VarID_byte
  • VarID_short
  • VarID_ushort
  • VarID_int
  • VarID_uint
  • VarID_int64
  • VarID_float
  • VarID_double
  • VarID_colour
  • VarID_vector3f
  • VarID_double
  • VarID_string
  • VarID_varlist
  • VarID_filesel
  • VarID_dirsel
  • VarID_combosel
  • VarID_Climate
  • VarID_LandType
 
zeolite/functions/var_editui.txt · Last modified: 2017/08/31 06:48 (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