Commit Graph

180 Commits

Author SHA1 Message Date
6ad962fc8b Interpolate ParallaxContainer's scale
Things were a bit jumpy when a screen was adjusting `ParallaxAmount`. This smoothes the applied scale changes to look great again.

Most noticeable when hitting the retry hotkey (`~`) from gameplay.
2018-03-09 14:35:53 +09:00
f78538fea8 Merge branch 'master' into user-profile-recent 2018-03-07 19:41:52 +09:00
78d73d4c11 Additional fixes for flow ordering after framework changes 2018-03-06 17:20:58 +09:00
148551afa2 osu!-side changes in-line with framework layout changes 2018-03-06 14:12:37 +09:00
26e50043b7 Fix parallax container during rewinds 2018-03-04 00:52:00 +09:00
eacb9ba743 Merge branch 'master' into user-profile-recent 2018-02-28 23:49:33 +09:00
bda673e6fe Merge branch 'master' into player-reduced-parallax 2018-02-28 23:15:25 +09:00
2e535afb84 Remove redundant subsection title.
- Also handle opening UserProfile in LinkFlowContainer similar to how
beatmaps and channels are handled
2018-02-28 15:25:29 +05:30
dd6cf1379e Reduce parallax effect during gameplay
This also cleans up some shared code in OsuScreen.
2018-02-28 11:42:47 +09:00
0cd049c6b0 Rely less on zero-duration transform helpers
They have huge overheads.

See ppy/osu-framework#1411.
2018-02-28 11:00:54 +09:00
5724618b2a Add license headers and sanitise open profile argument. 2018-02-26 09:58:11 +05:30
bb40919f9c Add link handling to recent activities.
- Add a show user action to link handling
2018-02-26 01:21:27 +05:30
53129e5235 Fix text getting truncated after last link in chat line 2018-01-30 17:47:22 +09:00
38c5434b82 Remove placeholder methods in OsuGame
Let's add these when they can actually be implemented.
2018-01-17 20:32:20 +09:00
b27577e242 Add temporary browser handling of beatmap difficulty loading
until we have an api method to support this.
2018-01-17 19:37:20 +09:00
783ca40c64 Update with upstream changes 2018-01-17 16:51:47 +09:00
45301d07fd Merge branch 'master' into url-parsing-support 2018-01-12 19:34:44 +09:00
2c67ff75ed added custom hoverclicksounds so links make sounds on hover&click 2018-01-11 18:52:50 +01:00
c5c33e20bf OverlayContainer changes in-line with framework 2018-01-11 19:03:01 +09:00
3bf9901dd2 Fixed bugs and added tests 2018-01-09 16:11:45 +01:00
72624aea18 Use a better method of link compilation
Adds word wrap back, simplifies a lot.
2018-01-09 20:33:20 +09:00
1be0569743 Update licence headers 2018-01-09 14:34:52 +09:00
b035a92bda Merge branch 'master' into url-parsing-support 2018-01-09 14:28:20 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
faf1181fc3 Merge branch 'master' into url-parsing-support 2018-01-02 17:51:50 +09:00
e7721d71f3 Changed chat link implementation according to review 2017-12-31 00:51:47 +01:00
e332683d18 Fix music controller draggability 2017-12-30 21:10:40 +09:00
442a649c63 Make all FocusedOverlays hide on clicks outside of themselves
Also allows wheel events to pass through around them.
2017-12-30 20:45:41 +09:00
ae79be7b51 small style fixes plus new assert in test 2017-12-28 21:45:58 +01:00
7454633f63 Refactor and general tidying up 2017-12-28 20:11:21 +01:00
962e4d7c8a Removed LinkId and word wrapping (for now).
Also reimplemented the OsuHoverContainer properly
2017-12-25 20:46:04 +01:00
68255095a6 Renamed the IHasHoverSounds interface to ICanDisableHoverSounds and made it so that if the interface is not implemented, it is just ignored (samples will always be played). If it is implemented, the ShouldPlayHoverSound bool is decisive of whether sounds are played or not 2017-12-07 19:52:40 +01:00
e05618a415 Removed unnecessary "using" directives 2017-12-07 19:36:56 +01:00
a8599a1b75 Implemented new interface which allows parent containers to decide on whether a "OnHover" sound should be played. 2017-12-07 13:12:36 +01:00
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
a839d0e91d LoadComponent before assigning URL to ensure dependency loading 2017-12-03 23:55:00 +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
671b3d01ff Fix OsuClickableContainer's local content geting overwritten 2017-11-26 17:21:23 +09:00
ac7e373f40 Add hover/click sound effects to more stuff everywhere 2017-11-26 17:21:21 +09:00
07d6a70028 New sound effects with better names 2017-11-26 17:17:46 +09:00
bd616c1307 Simplify some property access 2017-11-21 12:42:28 +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
ed89f03900 Make ParallaxContainer public 2017-11-01 17:10:59 +09:00
5822a6cc96 Merge branch 'master' into ranks-section 2017-09-07 15:11:07 +09:00
57678a13d9 Update in-line with framework changes. 2017-09-04 09:32:35 +09:00
250fb33fbc Merge branch 'master' into ranks-section 2017-08-22 12:46:28 +09:00