Gui structure define for center gui frames [[
expcore.gui.core |
expcore.gui.prototype |
expcore.gui.concepts.toolbar |
utils.game |
CenterFrames.get_flow(player) | Gets the center flow for a player |
CenterFrames.clear_flow(player) | Clears the center flow for a player |
CenterFrames.draw_frame(player, name) | Draws the center frame for a player, if already open then will do nothing |
CenterFrames.redraw_frame(player, name) | Draws the center frame for a player, if already open then will destroy it and redraw |
CenterFrames.toggle_frame(player, name[, state]) | Toggles if the frame is currently open or not, will open if closed and close if open |
CenterFrames.new_frame(permission_name) | Creates a new center frame define |
CenterFrames._prototype:set_auto_focus([state=true]) | Sets the frame to be the current active gui when opened and closes all other frames |
CenterFrames._prototype:draw_frame(player) | Draws this frame to the player, if already open does nothing (will call on_draw to draw to the frame) |
CenterFrames._prototype:redraw_frame(player) | Draws this frame to the player, if already open it will remove it and redraw it (will call on_draw to draw to the frame) |
CenterFrames._prototype:toggle_frame(player) | Toggles if the frame is open, if open it will close it and if closed it will open it |
CenterFrames._prototype:event_handler([action=update]) | Creates an event handler that will trigger one of its functions, use with Event.add |
Gets the center flow for a player
Parameters:Clears the center flow for a player
Parameters:Draws the center frame for a player, if already open then will do nothing
Parameters:Draws the center frame for a player, if already open then will destroy it and redraw
Parameters:Toggles if the frame is currently open or not, will open if closed and close if open
Parameters:Creates a new center frame define
Parameters:Sets the frame to be the current active gui when opened and closes all other frames
Parameters:Draws this frame to the player, if already open does nothing (will call on_draw to draw to the frame)
Parameters:Draws this frame to the player, if already open it will remove it and redraw it (will call on_draw to draw to the frame)
Parameters:Toggles if the frame is open, if open it will close it and if closed it will open it
Parameters:Creates an event handler that will trigger one of its functions, use with Event.add
Parameters: