ManaPlus
Functions | Variables
setup_relations.cpp File Reference

(986a3bf)

#include "gui/widgets/tabs/setup_relations.h"
#include "actormanager.h"
#include "being/localplayer.h"
#include "gui/models/ignorechoiceslistmodel.h"
#include "gui/models/playertablemodel.h"
#include "gui/widgets/button.h"
#include "gui/widgets/checkbox.h"
#include "gui/widgets/containerplacer.h"
#include "gui/widgets/dropdown.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layouthelper.h"
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/guitable.h"
#include "utils/delete2.h"
#include "debug.h"

Go to the source code of this file.

Functions

static const std::string ACTION_DELETE ("delete")
 
static const std::string ACTION_TABLE ("table")
 
static const std::string ACTION_STRATEGY ("strategy")
 

Variables

static const int COLUMNS_NR = 2
 
static const int NAME_COLUMN = 0
 
static const unsigned int NAME_COLUMN_WIDTH = 230
 
static const unsigned int RELATION_CHOICE_COLUMN = 1
 
static const unsigned int RELATION_CHOICE_COLUMN_WIDTH = 80
 
static const char *const table_titles [COLUMNS_NR]
 

Function Documentation

◆ ACTION_DELETE()

static const std::string ACTION_DELETE ( "delete"  )
static

Referenced by Setup_Relations::action().

◆ ACTION_STRATEGY()

static const std::string ACTION_STRATEGY ( "strategy"  )
static

◆ ACTION_TABLE()

static const std::string ACTION_TABLE ( "table"  )
static

Variable Documentation

◆ COLUMNS_NR

const int COLUMNS_NR = 2
static

Definition at line 46 of file setup_relations.cpp.

Referenced by Setup_Relations::Setup_Relations().

◆ NAME_COLUMN

const int NAME_COLUMN = 0
static

Definition at line 47 of file setup_relations.cpp.

Referenced by Setup_Relations::Setup_Relations().

◆ NAME_COLUMN_WIDTH

const unsigned int NAME_COLUMN_WIDTH = 230
static

Definition at line 48 of file setup_relations.cpp.

Referenced by Setup_Relations::Setup_Relations().

◆ RELATION_CHOICE_COLUMN

const unsigned int RELATION_CHOICE_COLUMN = 1
static

Definition at line 49 of file setup_relations.cpp.

Referenced by Setup_Relations::Setup_Relations().

◆ RELATION_CHOICE_COLUMN_WIDTH

const unsigned int RELATION_CHOICE_COLUMN_WIDTH = 80
static

Definition at line 50 of file setup_relations.cpp.

Referenced by Setup_Relations::Setup_Relations().

◆ table_titles

const char* const table_titles[COLUMNS_NR]
static
Initial value:
=
{
(const_cast <char*>( "Name" )),
(const_cast <char*>( "Relation" ))
}

Definition at line 56 of file setup_relations.cpp.

Referenced by Setup_Relations::Setup_Relations().