Commit Graph

213 Commits

Author SHA1 Message Date
4681a0c47b handle chat == null gracefully and remove link from message if channel not found 2017-12-27 21:06:48 +01:00
c4f5754f94 Fixed only the links being italics for /me messages 2017-12-27 02:14:45 +01:00
962e4d7c8a Removed LinkId and word wrapping (for now).
Also reimplemented the OsuHoverContainer properly
2017-12-25 20:46:04 +01:00
34a37935e3 Removed unused property and unnecessary return statement (CI) 2017-12-07 19:38:59 +01:00
772bba27be Small style changes 2017-12-07 16:41:46 +01:00
d90eb2cdce Moved "Does this channel exist" check to ChatLine so that if a #name does not exist as a channel, it does not get added as a link (and does not contain a URL or anything else to prevent jankiness) 2017-12-07 16:26:28 +01:00
541c25e995 Renamed ChatLinkSpriteText to ChatLink for convenience 2017-12-07 10:28:12 +01:00
7bf25bdd4d Changed it so the ":" character does not appear after usernames when the displayed message is an action (e.g. /np). Just makes more sense imo 2017-12-07 10:23:57 +01:00
63a6a8b669 Fixed messages sent by yourself not being formatted 2017-12-04 19:31:48 +01:00
cf96323980 Added new OsuLinkSpriteText.TextColour property that sets the internal content (OsuHoverContainer)'s colour instead of the whole container, so that text colour is always changed through that (e.g. link colouring, link hover fade).
Implemented it to be used when adding text to an OsuLinkTextFlowContainer.
2017-12-04 13:33:42 +01:00
3f336b8e61 Made the style a bit better, fixed a bug or two 2017-12-03 21:02:05 +01:00
0aced85908 Changed the LinkID to the link's own Index instead of the previous one (just makes more sense imo) 2017-12-02 09:47:59 +01:00
ade7311c15 Updated implementation to be based around a "LinkId" (atm the position of the link, anything unique to a link inside its message will be fine), which does not allow matching (OnHover related) between different links 2017-12-01 21:31:12 +01:00
7f1f886406 implemented method formatting into chat. Also added all necessary files to the .csproj 2017-12-01 21:04:24 +01:00
ac7e373f40 Add hover/click sound effects to more stuff everywhere 2017-11-26 17:21:21 +09:00
29707788f9 Code formatting 2017-09-22 15:29:04 +02:00
dc5c046d4b Fixed wrong action message color 2017-09-22 14:33:20 +02:00
3e8941f8e1 Fix chat message style for non action messages 2017-09-22 11:35:07 +02:00
dce577f92a Updated design 2017-09-22 11:30:01 +02:00
31e26364a6 Initial implementation of chat commands 2017-09-22 01:47:24 +02:00
b7c9819680 Add context menus to chat names and user panels 2017-09-14 15:43:47 +09:00
89b5a6670e Changed type of IHasFilterTerms.FilterTerms according to framework update 2017-09-13 16:18:02 +02:00
5c125737cb Fix wrong initial topic color of not joined channels in the channel selection 2017-09-08 17:47:23 +02:00
e5308b6247 Method rename 2017-09-06 23:12:32 +09:00
da294c9605 Don't use base call when we don't have to 2017-09-06 23:10:08 +09:00
4f49a0c183 Simplify action 2017-09-06 22:58:21 +09:00
a7fa66b9f9 Fix CI issue 2017-09-06 22:41:03 +09:00
940c45b6d1 Fix visual styling and code styling 2017-09-06 21:43:20 +09:00
3f403ba524 Merge remote-tracking branch 'upstream/master' into quit-chat-channels 2017-08-24 10:06:29 +05:30
2cace0e1ab Don't use virtual methods in ctor, always create closeButton. 2017-08-24 09:48:53 +05:30
1d0b89d592 Restore usage of AddRange 2017-08-21 18:51:14 +09:00
877c69d5fe Add local chat echo support 2017-08-21 17:43:26 +09:00
7ad4c046db Make current value behaviour between channels and tabs consistent.
- Trim whitespace
2017-08-18 13:35:48 +05:30
4f7ae1ed8b Clear messages when the current channel is removed.
- Stop using TabContainer.Children
2017-08-17 09:00:45 +05:30
a5007fc64f Fix some remaining usage of local InputManager instances 2017-08-16 13:07:18 +09:00
381c709639 Fix selectorTab Depth if it's wonky when new tabs are added. 2017-08-14 10:11:34 +05:30
8dbbc623c7 Add next tab selection logic in game, make IsRemovable public.
- Don't clear DrawableChannel when unjoined
2017-08-14 10:11:30 +05:30
3b6ffadcc7 Renaming to match framework changes.
- IsClosable -> IsRemovable
- EasingTypes -> Easing
- Also remove all messages on a channel being un-joined
2017-08-14 10:11:25 +05:30
2ae3ce8b91 Add ability to close chat tabs. 2017-08-14 10:11:14 +05:30
0d9ea97828 Allow Rulesets to create a non-FontAwesome icon
This also
- Renames TextAwesome to SpriteIcon.
- Removes the default size of "20" from SpriteIcon (now defaults to the underlying texture size).
2017-08-03 14:36:21 +09:00
ed7bb329de Add word wrap support to chat 2017-07-24 18:11:25 +09:00
e68675f970 Rename EasingTypes to Easing 2017-07-22 20:53:53 +02:00
e36b65bfe0 Merge branch 'master' into better-transforms 2017-07-22 10:50:58 +02:00
7549d3a2c4 Allow ChatLines to exist without UserProfileOverlay
Fixes testcases failing when logged in.
2017-07-22 17:18:20 +09:00
2cd8f6b30c Merge branch 'master' of github.com:ppy/osu into better-transforms
# Conflicts:
#	osu-framework
2017-07-21 11:15:26 +02:00
c4619f614a Merge branch 'master' of github.com:ppy/osu into better-transforms
# Conflicts:
#	osu-framework
2017-07-19 19:15:51 +02:00
2c5019ff7c Forward action in saner way 2017-07-19 18:22:46 +09:00
b6b7ae47db Merge branch 'master' into user-profile-fixes 2017-07-19 18:15:38 +09:00
a225b542d5 Sender is always non-null 2017-07-18 12:35:36 +03:00
fce5a191f1 Migrate padding into the scroll content to not cut off effects 2017-07-18 12:26:27 +03:00