forked from mirror/openmw-tes3mp
add a separate display type for ID column
This commit is contained in:
parent
c5f1c2127d
commit
1ec0db231c
3 changed files with 5 additions and 2 deletions
|
@ -73,6 +73,8 @@ bool CSMWorld::ColumnBase::isId (Display display)
|
||||||
Display_SoundRes,
|
Display_SoundRes,
|
||||||
Display_Texture,
|
Display_Texture,
|
||||||
Display_Video,
|
Display_Video,
|
||||||
|
|
||||||
|
Display_Id,
|
||||||
|
|
||||||
Display_None
|
Display_None
|
||||||
};
|
};
|
||||||
|
|
|
@ -103,7 +103,8 @@ namespace CSMWorld
|
||||||
Display_Colour,
|
Display_Colour,
|
||||||
Display_ScriptLines, // console context
|
Display_ScriptLines, // console context
|
||||||
Display_SoundGeneratorType,
|
Display_SoundGeneratorType,
|
||||||
Display_School
|
Display_School,
|
||||||
|
Display_Id
|
||||||
};
|
};
|
||||||
|
|
||||||
int mColumnId;
|
int mColumnId;
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace CSMWorld
|
||||||
struct StringIdColumn : public Column<ESXRecordT>
|
struct StringIdColumn : public Column<ESXRecordT>
|
||||||
{
|
{
|
||||||
StringIdColumn (bool hidden = false)
|
StringIdColumn (bool hidden = false)
|
||||||
: Column<ESXRecordT> (Columns::ColumnId_Id, ColumnBase::Display_String,
|
: Column<ESXRecordT> (Columns::ColumnId_Id, ColumnBase::Display_Id,
|
||||||
hidden ? 0 : ColumnBase::Flag_Table | ColumnBase::Flag_Dialogue)
|
hidden ? 0 : ColumnBase::Flag_Table | ColumnBase::Flag_Dialogue)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue