Planeshift
|
Currently only used to provide an option to always deny marriage invites. More...
#include <pawsconfigmarriage.h>
Public Member Functions | |
virtual bool | Initialize () |
Loads XML layout from configmarriage.xml. | |
virtual bool | LoadConfig () |
Sets radio groups settings according to user settings. | |
virtual bool | OnChange (pawsWidget *widget) |
Called whenever a child widget changes. | |
virtual bool | PostSetup () |
Assign confirmRadioGroup appropriately. | |
virtual bool | SaveConfig () |
Saves the settings to engine and file. | |
virtual void | SetDefault () |
Sets the confirmation to allow marriage proposals rather than ignoring all. | |
Protected Attributes | |
pawsRadioButtonGroup * | confirmRadioGroup |
Currently only used to provide an option to always deny marriage invites.
Options screen for configuring marriages
Definition at line 39 of file pawsconfigmarriage.h.
virtual bool pawsConfigMarriage::Initialize | ( | ) | [virtual] |
Loads XML layout from configmarriage.xml.
Implements pawsConfigSectionWindow.
virtual bool pawsConfigMarriage::LoadConfig | ( | ) | [virtual] |
Sets radio groups settings according to user settings.
Implements pawsConfigSectionWindow.
virtual bool pawsConfigMarriage::OnChange | ( | pawsWidget * | widget | ) | [virtual] |
Called whenever a child widget changes.
If the widget is the radio group this window becomes dirty
Reimplemented from pawsWidget.
virtual bool pawsConfigMarriage::PostSetup | ( | ) | [virtual] |
Assign confirmRadioGroup appropriately.
Reimplemented from pawsWidget.
virtual bool pawsConfigMarriage::SaveConfig | ( | ) | [virtual] |
virtual void pawsConfigMarriage::SetDefault | ( | ) | [virtual] |
Sets the confirmation to allow marriage proposals rather than ignoring all.
Implements pawsConfigSectionWindow.
Definition at line 81 of file pawsconfigmarriage.h.