diff --git a/expcore/gui.lua b/expcore/gui.lua index a2da7e41..6da96bbb 100644 --- a/expcore/gui.lua +++ b/expcore/gui.lua @@ -18,6 +18,8 @@ local Gui = require 'expcore.gui.core' Gui.set_padding_style(style,up,down,left,right) --- Sets the padding for a gui style Gui.create_alignment(element,flow_name) --- Allows the creation of a right align flow to place elements into Gui.destory_if_valid(element) --- Destroies an element but tests for it being present and valid first + Gui.create_scroll_table(element,table_size,maximal_height,name) --- Creates a scroll area with a table inside, table can be any size + Gui.create_header(element,caption,tooltip,right_align,name) --- Creates a header section with a label and button area Prototype Constructor diff --git a/expcore/gui/core.lua b/expcore/gui/core.lua index 14d6104b..97719e96 100644 --- a/expcore/gui/core.lua +++ b/expcore/gui/core.lua @@ -126,6 +126,8 @@ Gui.set_padding_style(style,up,down,left,right) --- Sets the padding for a gui style Gui.create_alignment(element,flow_name) --- Allows the creation of a right align flow to place elements into Gui.destory_if_valid(element) --- Destroies an element but tests for it being present and valid first + Gui.create_scroll_table(element,table_size,maximal_height,name) --- Creates a scroll area with a table inside, table can be any size + Gui.create_header(element,caption,tooltip,right_align,name) --- Creates a header section with a label and button area ]] local Gui = require 'utils.gui' local Game = require 'utils.game'