Skip to content
Browse files

Add user list colors for friends list

* Normal:  channel normal (default green)
* Away:    channel op (default light gray)
* DND:     channel muted (default dark red)
* Offline: channel idle (default gray)
  • Loading branch information...
nmbook committed Apr 6, 2017
1 parent 6fa11ad commit 1abfaf58827b80145f0bf0a5a2a74ce094a3f7ed
Showing with 12 additions and 0 deletions.
  1. +12 −0 trunk/frmChat.frm
@@ -8436,6 +8436,18 @@ On Error GoTo ERROR_HANDLER
OnlineIcon = IC_FRIEND_START + LocationID
End If

If (Not BotVars.NoColoring) Then
If (Status And FRS_AWAY) = FRS_AWAY Then
ListItem.ForeColor = FormColors.ChannelListOps
ElseIf (Status And FRS_DND) = FRS_DND Then
ListItem.ForeColor = FormColors.ChannelListSquelched
ElseIf LocationID <> FRL_OFFLINE Then
ListItem.ForeColor = FormColors.ChannelListText
ListItem.ForeColor = FormColors.ChannelListIdle
End If
End If

ListItem.SmallIcon = GameIcon
ListItem.ListSubItems.Item(1).ReportIcon = OnlineIcon
End If

0 comments on commit 1abfaf5

Please sign in to comment.
You can’t perform that action at this time.