mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Improvements for BaseTable:
- Separator colour can be set - Fixed column length calculation - checkboxes are now possible git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8802 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -204,6 +204,7 @@ public:
|
||||
CDP_DEFAULT = 0,
|
||||
CDP_MILITIA_LIST,
|
||||
CDP_MILITIADETAIL,
|
||||
CDP_TOGGLE,
|
||||
} CDP_CALLBACKTYPE;
|
||||
|
||||
typedef enum
|
||||
@@ -355,6 +356,12 @@ public:
|
||||
|
||||
void CalcRows();
|
||||
|
||||
/*
|
||||
* Color of separating line element
|
||||
*/
|
||||
void SetColorSeparator( UINT16 aCol ) { mColorSeparator = aCol; }
|
||||
UINT16 GetColorSeparator() { return mColorSeparator; }
|
||||
|
||||
private:
|
||||
void CreateScrollAreaButtons( );
|
||||
|
||||
@@ -375,6 +382,8 @@ private:
|
||||
UINT32 mFirstEntryShown;
|
||||
UINT32 mLastEntryShown;
|
||||
|
||||
UINT16 mColorSeparator;
|
||||
|
||||
std::vector<ColumnDataProvider> mColumnDataProviderVector;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user