コード例 #1
0
ファイル: MessageNotifier.cs プロジェクト: roridev/osu
            private void load(OsuColour colours, ChatOverlay chatOverlay, NotificationOverlay notificationOverlay, ChannelManager channelManager)
            {
                IconBackground.Colour = colours.PurpleDark;

                Activated = delegate
                {
                    notificationOverlay.Hide();
                    chatOverlay.Show();
                    channelManager.CurrentChannel.Value = channel;

                    return(true);
                };
            }
コード例 #2
0
ファイル: MessageNotifier.cs プロジェクト: nekodex/osu
            private void load(OsuColour colours, ChatOverlay chatOverlay, NotificationOverlay notificationOverlay)
            {
                IconBackground.Colour = colours.PurpleDark;

                Activated = delegate
                {
                    notificationOverlay.Hide();
                    chatOverlay.HighlightMessage(message, channel);
                    chatOverlay.Show();

                    return(true);
                };
            }