20 #include "OptionsBaseState.h" 21 #include "../Engine/ModInfo.h" 42 std::vector<const ModInfo *> _masters;
43 std::string _curMasterId;
44 std::vector< std::pair<std::string, bool> > _mods;
51 std::string makeTooltip(
const ModInfo &modInfo);
52 void cbxMasterHover(
Action *action);
53 void cbxMasterChange(
Action *action);
54 void changeMasterMod();
55 void revertMasterMod();
56 void lstModsRefresh(
size_t scrollLoc);
57 void lstModsHover(
Action *action);
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:32
List of Text's split into columns.
Definition: TextList.h:40
Options window that displays the available mods.
Definition: OptionsModsState.h:36
~OptionsModsState()
Cleans up the Advanced state.
Definition: OptionsModsState.cpp:121
Text string displayed on screen.
Definition: Text.h:40
void lstModsMousePress(Action *action)
Handler for pressing-down a mouse-button in the list.
Definition: OptionsModsState.cpp:418
void moveModDown(Action *action, unsigned int row, bool max=false)
Moves a mod down.
Definition: OptionsModsState.cpp:376
Text button with a list dropdown when pressed.
Definition: ComboBox.h:36
OptionsModsState(OptionsOrigin origin)
Creates the Advanced state.
Definition: OptionsModsState.cpp:41
void moveModUp(Action *action, unsigned int row, bool max=false)
Moves a mod up.
Definition: OptionsModsState.cpp:297
void lstModsRightArrowClick(Action *action)
Handler for clicking the right reordering button.
Definition: OptionsModsState.cpp:334
Represents mod metadata.
Definition: ModInfo.h:29
void lstModsLeftArrowClick(Action *action)
Handler for clicking the left reordering button.
Definition: OptionsModsState.cpp:256
void lstModsClick(Action *action)
Handler for clicking an item on the menu.
Definition: OptionsModsState.cpp:210
Definition: BaseInfoState.cpp:40
Options base state for common stuff across Options windows.
Definition: OptionsBaseState.h:41