Skip to content

Document new Dialog options graphical configurations #296

@ericoporto

Description

@ericoporto

Need to adjust both Dialog.md and StandardEnums.md. Since AGS 3.6.3 there are new options as following

enum DialogOptionsNumbering
{
  eDialogOptNumbers_Disabled  = -1,
  eDialogOptNumbers_KeysOnly  = 0,
  eDialogOptNumbers_Display   = 1
};


/// Gets/sets the sprite to use as a bullet point before each dialog option (0 for none)
static attribute int Dialog.OptionsBulletGraphic;

/// Gets/sets the font to use when displaying dialog options
static attribute int Dialog.OptionsFont;

/// Gets/sets the vertical gap between dialog options (in pixels)
static attribute int Dialog.OptionsGap;

/// Gets/sets the GUI that will be used to display dialog options; set null to use default options look
static attribute GUI* Dialog.OptionsGUI;

/// Gets/sets on-screen X position of dialog options GUI; set to -1 if it should use default placement
static attribute int Dialog.OptionsGUIX;

/// Gets/sets on-screen Y position of dialog options GUI; set to -1 if it should use default placement
static attribute int Dialog.OptionsGUIY;

/// Gets/sets the color used to draw the active (selected) dialog option
static attribute int Dialog.OptionsHighlightColor;

/// Get/sets the maximal width of the auto-resizing GUI on which dialog options are drawn
static attribute int Dialog.OptionsMaxGUIWidth;

/// Get/sets the minimal width of the auto-resizing GUI on which dialog options are drawn
static attribute int Dialog.OptionsMinGUIWidth;

/// Gets/sets whether dialog options have numbers before them, and the numeric keys can be used to select them
static attribute DialogOptionsNumbering Dialog.OptionsNumbering;

/// Gets/sets the horizontal offset at which options are drawn on a standard GUI
static attribute int Dialog.OptionsPaddingX;

/// Gets/sets the vertical offset at which options are drawn on a standard GUI
static attribute int Dialog.OptionsPaddingY;

/// Gets/sets the color used to draw the dialog options that have already been selected once; set to -1 for no distinct color
static attribute int Dialog.OptionsReadColor;

/// Gets/sets the horizontal alignment of each dialog option's text
static attribute HorizontalAlignment Dialog.OptionsTextAlignment;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions