API chatareatemplate

From Vendetta Lua
Jump to: navigation, search

chatareatemplate

Definition: chatareatemplate(string statontabname, bool expanded) -> table container
Description:
create old style chatarea that combines general, mission and station log. the container seems to be incompatible with the chatareatemplate2 based maximized chat containers which breaks the maximize button
Arguments:
stationtabnaem "Station", "ShipCom" or nil. determines which maximized chat container to show on clicking the maximize button and whether to show the station log
expanded create a maximized chat container
Returns:
container chat container
container.area the chat area box
container.chatlog ChatLogTemplate for the general chat
container.missionlog ChatLogTemplate for the mission log
container.stationlog optional ChatLogTemplate for the station log
container.setup setup the chatarea