mirror of
https://github.com/ppy/osu.git
synced 2024-11-08 20:57:25 +08:00
39c30516d0
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. |
||
---|---|---|
.. | ||
ControlItem.cs | ||
ControlItemAvatar.cs | ||
ControlItemClose.cs | ||
ControlItemMention.cs | ||
ControlItemText.cs |