85 mIgnoreActionChoicesBox(
new DropDown(widget, mIgnoreActionChoicesModel,
97 ThemeColorId::TABLE_BACKGROUND, 255U));
114 Label *
const ignore_action_label =
new Label(
this,
_(
"When ignoring:"));
119 int ignore_strategy_index = 0;
125 if (ignore_strategy_index < 0)
126 ignore_strategy_index = 0;
140 place(3, 5, ignore_action_label, 1, 1);
164 ->size(); i < sz; ++ i)
199 const std::string &eventId =
event.getId();
218 if (player_index < 0)
253 int ignore_strategy_index = 0;
259 if (ignore_strategy_index < 0)
260 ignore_strategy_index = 0;
ActorManager * actorManager
void updatePlayerNames() const
void setSelected(const bool selected)
void setSelected(int selected)
void setSelectableGui(bool b)
void setModel(TableModel *const m)
int getSelectedRow() const
void setOpaque(Opaque opaque)
void setLinewiseSelection(bool linewise)
ContainerPlacer getPlacer(const int x, const int y)
void setCheckNameSetting(const bool checked)
void setDefault(const unsigned int permissions)
void setPlayerIgnoreStrategy(PlayerIgnoreStrategy *const strategy)
void addListener(PlayerRelationsListener *const listener)
void removeListener(PlayerRelationsListener *const listener)
std::vector< PlayerIgnoreStrategy * > * getPlayerIgnoreStrategies()
unsigned int getDefault() const
int getPlayerIgnoreStrategyIndex(const std::string &shortname)
const PlayerIgnoreStrategy * getPlayerIgnoreStrategy() const
void removePlayer(const std::string &name)
void updateModelInRow(const int row) const
std::string getPlayerAt(const int index) const
void playerRelationsUpdated()
void setName(const std::string &name)
void updatedPlayer(const std::string &name)
ListModel * mIgnoreActionChoicesModel
CheckBox * mDefaultTrading
ScrollArea * mPlayerScrollArea
void action(const ActionEvent &event)
DropDown * mIgnoreActionChoicesBox
CheckBox * mDefaultWhisper
Setup_Relations(const Widget2 *const widget)
PlayerTableModel * mPlayerTableModel
StaticTableModel * mPlayerTableTitleModel
GuiTable * mPlayerTitleTable
void set(const int row, const int column, Widget *const widget)
void fixColumnWidth(const int column, const int width)
LocalPlayer * localPlayer
PlayerRelationsManager playerRelations
static RenderType getDefault() A_CONST
static const unsigned int NAME_COLUMN_WIDTH
static const std::string ACTION_STRATEGY("strategy")
static const int COLUMNS_NR
static const unsigned int RELATION_CHOICE_COLUMN
static const unsigned int RELATION_CHOICE_COLUMN_WIDTH
static const int NAME_COLUMN
static const std::string ACTION_TABLE("table")
static const std::string ACTION_DELETE("delete")
static const char *const table_titles[COLUMNS_NR]
static const unsigned int WHISPER
static const unsigned int TRADE