Methods
DarkConfigMenu:addExitOptions()
Adds the default "return to title" and "back" buttons.
DarkConfigMenu:addOption(option: DarkConfigOption)
Adds an option to the menu.
Arguments:
| option: DarkConfigOption |
Returns:
| option: DarkConfigOption |
DarkConfigMenu:clearOptions()
Clears all options from the menu.
DarkConfigMenu:drawMainState()
Responsible for drawing the scroll bar in the main state.
DarkConfigMenu:insertOption(index: integer, option: DarkConfigOption)
Inserts an option into the menu at a specific index.
Arguments:
| index: integer | |
| option: DarkConfigOption |
Returns:
| option: DarkConfigOption |
DarkConfigMenu:registerDefaults()
Registers the default options.
If "forced fullscreen" is enabled (consoles, phones) then the fullscreen option is not present, and replaced with the border option.
DarkConfigMenu:removeOption(index: integer)
Removes an option from the menu.
Arguments:
| index: integer |
Returns:
| option: DarkConfigOption |
DarkConfigMenu:removeOptionByChild(child: DarkConfigOption)
Removes an option from the menu.
Arguments:
| child: DarkConfigOption |
Returns:
| option: DarkConfigOption? |
DarkConfigMenu:updateConfigOptions()
Updates the config options.
Undocumented
DarkConfigMenu.arrow_sprite: love.Image
Drawable image type.
DarkConfigMenu.config_text: Text
The Text object, made for displaying formatted text.
If you're looking for text which writes itself out over time, see DialogueText.
DarkConfigMenu.heart_sprite: love.Image
Drawable image type.