2012-12-16 11:52:23 +00:00
|
|
|
|
|
|
|
#include "columnbase.hpp"
|
|
|
|
|
2013-08-07 07:36:05 +00:00
|
|
|
#include "columns.hpp"
|
|
|
|
|
|
|
|
CSMWorld::ColumnBase::ColumnBase (int columnId, Display displayType, int flags)
|
|
|
|
: mColumnId (columnId), mDisplayType (displayType), mFlags (flags)
|
2012-12-16 11:52:23 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
CSMWorld::ColumnBase::~ColumnBase() {}
|
|
|
|
|
|
|
|
bool CSMWorld::ColumnBase::isUserEditable() const
|
|
|
|
{
|
|
|
|
return isEditable();
|
2013-08-07 07:36:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
std::string CSMWorld::ColumnBase::getTitle() const
|
|
|
|
{
|
|
|
|
return Columns::getName (static_cast<Columns::ColumnId> (mColumnId));
|
2014-03-08 14:27:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int CSMWorld::ColumnBase::getId() const
|
|
|
|
{
|
|
|
|
return mColumnId;
|
2012-12-16 11:52:23 +00:00
|
|
|
}
|