1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-30 13:59:40 +08:00
osu-lazer/osu.Game/Overlays/Chat/ChannelControl
Jai Sharma 39c30516d0 Implement ChannelControlItem for new chat design
Adds new component `ChannelControlItem` and it's child components to be
used as the clickable control in the new chat sidebar for joined
channels.

Has public properties `HasUnread` and `MentionCount` to control the
display of the channel having unread messages or mentions of the user.

Channel select/join requests are exposed via `OnRequestSelect` and
`OnRequestLeave` events respectively which should be handled by a parent
component.

Requires a cached `Bindable<Channel>` instance to be managed by a parent
component.

Requires a cached `OveralayColourScheme` instance to be provided by a
parent component.
2022-03-14 18:55:27 +00:00
..
ControlItem.cs Implement ChannelControlItem for new chat design 2022-03-14 18:55:27 +00:00
ControlItemAvatar.cs Implement ChannelControlItem for new chat design 2022-03-14 18:55:27 +00:00
ControlItemClose.cs Implement ChannelControlItem for new chat design 2022-03-14 18:55:27 +00:00
ControlItemMention.cs Implement ChannelControlItem for new chat design 2022-03-14 18:55:27 +00:00
ControlItemText.cs Implement ChannelControlItem for new chat design 2022-03-14 18:55:27 +00:00