Commit Graph

2029 Commits

Author SHA1 Message Date
9b866d2248 Made it so the link ID is always added before loading the SpriteTexts (fixed weird bug where some sprites would be white instead of blue). Also improved XML doc on TextColour 2017-12-04 13:46:07 +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
319f43e209 Added "getIdFromUrl" call back to content.action because performance impact is small and no unnecessary id calculations are done 2017-12-04 13:29:56 +01:00
bf97f8b1b1 Added osu.ppy.sh/ss (screenshot) URL handling and calculate ID at assignment so it's not on click anymore 2017-12-03 23:55:34 +01:00
a839d0e91d LoadComponent before assigning URL to ensure dependency loading 2017-12-03 23:55:00 +01:00
3f336b8e61 Made the style a bit better, fixed a bug or two 2017-12-03 21:02:05 +01:00
2d270a1cfe Added ability to open other channels from chat links. 2017-12-03 20:45:30 +01:00
735dbddd17 Changed URL detection to be more reliable and generally work better 2017-12-03 06:52:57 +01:00
6d9dcc6691 Added all files to the .csproj and also introduced basic action filtering when you set the URL on an OsuLinkSpriteText object 2017-12-02 09:48:55 +01:00
86302716a6 Also moved LinkText to its own file so the chat could reuse it (ProfileHeader's private class ProfileLink also still inherits from this, though) 2017-12-01 20:32:08 +01:00
1f1c7dd70f Moved LinkFlowContainer out of ProfileHeader to make it available for other uses too (e.g. chat) and renamed it to LinkTextFlowContainer bc it can contain both links and text, not only one 2017-12-01 20:26:51 +01:00
267bb75458 Merge remote-tracking branch 'Aergwyn/master' into netstandard 2017-11-29 23:45:29 +09:00
bf5ea027ef Add xmldoc to TriangleButton 2017-11-27 18:26:20 +09:00
51372d7cda Remove HandleInput override from TriangleButton 2017-11-27 18:19:06 +09:00
760f7d02d9 Remove AlwaysPresent (not actually required) 2017-11-27 18:12:52 +09:00
7877f42763 Merge remote-tracking branch 'upstream/master' into new-sounds-and-more 2017-11-27 17:59:24 +09:00
671b3d01ff Fix OsuClickableContainer's local content geting overwritten 2017-11-26 17:21:23 +09:00
880418fd0d Split out click and hover sound layers 2017-11-26 17:21:22 +09:00
0c6a125777 Remove custom colour handling 2017-11-26 17:21:21 +09:00
ac7e373f40 Add hover/click sound effects to more stuff everywhere 2017-11-26 17:21:21 +09:00
8f57bf2498 Add choices of hover sample sets 2017-11-26 17:17:50 +09:00
af499df6dd Make a base OsuButton class to handle default samples 2017-11-26 17:17:48 +09:00
07d6a70028 New sound effects with better names 2017-11-26 17:17:46 +09:00
7ff39d62a1 Fix SpriteIcon potentially not updating texture during a load race condition
Better fix for #1577.
2017-11-24 12:48:02 +09:00
d93911ae97 Improve user ratings calculations to make more sense
Closes #1552.
2017-11-23 18:10:08 +09:00
de7c571be3 Merge remote-tracking branch 'origin/master' into netstandard 2017-11-22 19:46:17 +09:00
b3bf6e7bee Merge master into netstandard 2017-11-21 16:39:21 +09:00
bd616c1307 Simplify some property access 2017-11-21 12:42:28 +09:00
4f6263ef86 Make many internal classes and methods public
This is important when using dynamic compiling to rapidly iterate. Until we actually split projects out into pieces (like the abstract ruleset project we have talked about) there is no advantage to using internal in the osu! game code.
2017-11-21 12:06:16 +09:00
aac41d2de6 Disable resharper inspections on case-by-case basis 2017-11-20 18:55:48 +09:00
6df18ffb7a FocusedTextBox should not handle repeated escapes 2017-11-20 18:14:58 +09:00
dacabd4a90 Merge branch 'master' into lazy-working-beatmap 2017-11-17 21:46:19 +09:00
b3aae2340b Avoid accessing beatmaps from BeatSyncedContainer until they are loaded 2017-11-17 18:38:11 +09:00
6c40cf08cc Optimise leaderboard display
Adds async loading support and cleans up the code quite a bit in the process.
2017-11-16 23:22:25 +09:00
af03d883f1 Ensure overlay containers scroll to top when new information is presented 2017-11-15 19:01:30 +09:00
e006090c5b Fix SpriteIcon loading textures on the update thread 2017-11-13 13:13:43 +09:00
edd0d166b1 Add text transforms to OsuSpriteText 2017-11-04 00:42:36 +09:00
ed89f03900 Make ParallaxContainer public 2017-11-01 17:10:59 +09:00
520b806305 Merge remote-tracking branch 'upstream/master' into ranks-section 2017-10-13 18:49:05 +09:00
d98f1a2bb7 Merge remote-tracking branch 'upstream/master' into editor-waveform-timeline 2017-10-12 21:48:08 +09:00
a5817e6e75 Add a way to change the IconButton icon colour 2017-10-12 18:17:23 +09:00
78f2037d84 Remove now obsolete RatioAdjust 2017-10-12 09:42:06 +02:00
071b1b049c Fix properties not being set leading to colours not being set 2017-10-10 18:31:56 +09:00
44141a38b8 Make it possible to change colours before load() 2017-10-10 18:04:41 +09:00
bbd1a7059e xmldoc + hook up IconColour 2017-10-10 17:25:39 +09:00
d7fb59ee0e Expose colours of IconButton 2017-10-10 17:20:23 +09:00
9cb9151811 Move origin + anchor outside of ctor 2017-10-10 16:00:11 +09:00
ba8bf6cbd5 Add ScreenSelectionTabControl to EditorMenuBar 2017-09-27 22:01:53 +09:00
8438ea1267 Fix formatting ;_; 2017-09-21 22:11:35 +02:00
3c00a7cc51 Reformat again... 2017-09-17 01:44:49 +02:00