Moved highlight row index numbers to enum (#3829)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Auro
2022-06-25 05:14:19 -04:00
committed by GitHub
parent 95e6d8ac2f
commit cdd949efd8
3 changed files with 41 additions and 33 deletions
@@ -25,7 +25,13 @@ public:
COUNT // keep this as last member of enum
};
constexpr static int WHISPER_ROW = 1;
enum HighlightRowIndexes {
SelfHighlightRow = 0,
WhisperRow = 1,
SubRow = 2,
RedeemedRow = 3,
FirstMessageRow = 4,
};
protected:
// turn a vector item into a model row