Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/COList.h
Show All 19 Lines | |||||
#include "GUI.h" | #include "GUI.h" | ||||
#include "CList.h" | #include "CList.h" | ||||
/** | /** | ||||
* Represents a column. | * Represents a column. | ||||
*/ | */ | ||||
struct COListColumn | struct COListColumn | ||||
{ | { | ||||
// Avoid copying the strings. | |||||
NONCOPYABLE(COListColumn); | |||||
MOVABLE(COListColumn); | |||||
COListColumn() = default; | |||||
CGUIColor m_TextColor; | CGUIColor m_TextColor; | ||||
CStr m_Id; | CStr m_Id; | ||||
float m_Width; | float m_Width; | ||||
CStrW m_Heading; | CStrW m_Heading; | ||||
}; | }; | ||||
/** | /** | ||||
* Multi-column list. One row can be selected by the user. | * Multi-column list. One row can be selected by the user. | ||||
* Individual cells are clipped if the contained text is too long. | * Individual cells are clipped if the contained text is too long. | ||||
* | * | ||||
* The list can be sorted dynamically by JS code when a | * The list can be sorted dynamically by JS code when a | ||||
* heading is clicked. | * heading is clicked. | ||||
Show All 34 Lines |
Wildfire Games · Phabricator