Table of Contents

zvar_EditUI

Description

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

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zvar_EditUI(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:

True otherwise.

Comments

Compatible types

The following variable types are compatible with the var_EditUI function:

'Flags' and 'hOptions'

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