Atrinik Client  4.0
Data Fields
interface_struct Struct Reference

#include <interface.h>

Data Fields

char * message
char * title
char * icon
char * text_input_prepend
UT_array * links
uint8_t destroy
uint32_t scroll_offset
uint32_t num_lines
scrollbar_struct scrollbar
uint8_t progressed
uint32_t progressed_ticks
uint8_t allow_tab
uint8_t input_cleanup_disable
uint8_t input_allow_empty
uint8_t text_input
char * text_autocomplete
uint32_t last_anim

Detailed Description

Interface data.

Definition at line 36 of file interface.h.

Field Documentation

uint8_t interface_struct::allow_tab

Whether to allow entering tabs.

Definition at line 78 of file interface.h.

object* interface_struct::anim

Animated object.

Definition at line 98 of file interface.h.

uint8_t interface_struct::destroy

Whether the interface should be destroyed.

Definition at line 56 of file interface.h.

font_struct* interface_struct::font

Font used.

Definition at line 50 of file interface.h.

char* interface_struct::icon

Icon name.

Definition at line 44 of file interface.h.

uint8_t interface_struct::input_allow_empty

If 1, allow sending empty text input string.

Definition at line 84 of file interface.h.

uint8_t interface_struct::input_cleanup_disable

If 1, disable cleaning up text input string.

Definition at line 81 of file interface.h.

uint32_t interface_struct::last_anim

Ticks of the last animation.

Definition at line 108 of file interface.h.

UT_array* interface_struct::links

Array of the shortcut-supporting links.

Definition at line 53 of file interface.h.

char* interface_struct::message

Message contents.

Definition at line 38 of file interface.h.

uint32_t interface_struct::num_lines

Number of lines.

Definition at line 62 of file interface.h.

object* interface_struct::objects

Virtual objects inside the interface.

Definition at line 103 of file interface.h.

uint8_t interface_struct::progressed

Whether the user has progressed through the dialog.

Definition at line 68 of file interface.h.

uint32_t interface_struct::progressed_ticks

If progressed, how long until another progression may happen (unless a new dialog has been opened of course, in which case this is reset).

Definition at line 75 of file interface.h.

uint32_t interface_struct::scroll_offset

Scroll offset.

Definition at line 59 of file interface.h.

scrollbar_struct interface_struct::scrollbar


Definition at line 65 of file interface.h.

char* interface_struct::text_autocomplete

Text to prefix for autocompleting text. If NULL, autocompletion will be disabled.

Definition at line 93 of file interface.h.

uint8_t interface_struct::text_input

If 1, enable text input.

Definition at line 87 of file interface.h.

char* interface_struct::text_input_prepend

Text to prepend to the text input string when sending it to NPC.

Definition at line 47 of file interface.h.

char* interface_struct::title

Title text.

Definition at line 41 of file interface.h.

The documentation for this struct was generated from the following file: