Gui structure define for popup gui [[
expcore.gui.core |
expcore.gui.prototype |
utils.game |
utils.event |
expcore.gui.elements.progress-bar |
expcore.gui.elements.buttons |
mod-gui |
resources.color_presets |
utils.global |
PopupFrames.get_flow(player) | Gets the left flow that contains the popup frames |
PopupFrames.open(define_name, player[, open_time], ...) | Opens a popup for the player, can give the amount of time it is open as well as params for the draw function |
PopupFrames.new_popup([name]) | Creates a new popup frame define |
PopupFrames._prototype:set_default_open_time(amount) | Sets the default open time for the popup, will be used if non is provided with open |
PopupFrames._prototype:open(player[, open_time], ...) | Opens this define for a player, can be given open time and any other params for the draw function |
PopupFrames.close_progress | Progress bar which when depleted will close the popup frame |
PopupFrames.close_button | A button which can be used to close the gui before the timer runs out |
Gets the left flow that contains the popup frames
Parameters:Opens a popup for the player, can give the amount of time it is open as well as params for the draw function
Parameters:Creates a new popup frame define
Parameters:Sets the default open time for the popup, will be used if non is provided with open
Parameters:Opens this define for a player, can be given open time and any other params for the draw function
Parameters: