mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 10:49:57 +00:00
25 lines
No EOL
519 B
C++
25 lines
No EOL
519 B
C++
|
|
#include "columnbase.hpp"
|
|
|
|
#include "columns.hpp"
|
|
|
|
CSMWorld::ColumnBase::ColumnBase (int columnId, Display displayType, int flags)
|
|
: mColumnId (columnId), mDisplayType (displayType), mFlags (flags)
|
|
{}
|
|
|
|
CSMWorld::ColumnBase::~ColumnBase() {}
|
|
|
|
bool CSMWorld::ColumnBase::isUserEditable() const
|
|
{
|
|
return isEditable();
|
|
}
|
|
|
|
std::string CSMWorld::ColumnBase::getTitle() const
|
|
{
|
|
return Columns::getName (static_cast<Columns::ColumnId> (mColumnId));
|
|
}
|
|
|
|
int CSMWorld::ColumnBase::getId() const
|
|
{
|
|
return mColumnId;
|
|
} |