Commit Graph

545 Commits

Author SHA1 Message Date
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
6ded194c53 Remove all usage of DI to retrieve InputManager
Uses GetContainingInputManager instead, as per framework changes.
2017-08-15 14:30:50 +09:00
c877a5a8b7 update TestCase 2017-08-09 19:26:27 +02:00
8631c469fc add license header 2017-08-09 18:50:44 +02:00
7d7cfe5d92 Merge branch 'master' of git://github.com/ppy/osu into ranks-section 2017-08-08 23:13:25 +02:00
1c2329f111 generalize the hover code 2017-08-08 23:11:46 +02:00
8843d97895 Remove depth setting in SectionsContainer and profile. 2017-08-05 18:01:10 +08:00
91f3d8deb4 Improve class xmldoc 2017-08-03 15:48:06 +09:00
bb032508bd Add comment explaining why we use scale 2017-08-03 15:47:26 +09:00
c7f5b83e9e Derive from CompositeDrawable instead
We need to expose EdgeEffect as it's used in places.
2017-08-03 15:45:59 +09:00
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
e68675f970 Rename EasingTypes to Easing 2017-07-22 20:53:53 +02:00
64ebc01a3b Remove many now unnecessary null-checks 2017-07-19 15:45:23 +09:00
007b343854 Fix incorrect equality check when TimingPointAt returns a default T 2017-07-19 15:16:40 +09:00
26b36c08a3 Prefer ScrollTo in SectionsContainer. 2017-07-14 22:56:27 +08:00
6cf36da389 Merge branch 'master' into profile 2017-07-14 22:52:19 +08:00
a6d917285a Merge branch 'master' into settings-improvements 2017-07-14 19:22:45 +10:00
b7612af20c Make comment different 2017-07-14 18:08:47 +09:00
b1d447bf71 Add missing access modifier 2017-07-14 07:05:39 +09:00
bfa6a9aa4e Add missing licence header 2017-07-14 06:43:33 +09:00
ce204b8e7b Merge remote-tracking branch 'ppy/master' into right-mouse-scrollbar 2017-07-14 06:23:07 +09:00
f4fd263671 Fix settings not offsetting scroll operations by fixed header content 2017-07-13 17:09:12 +09:00
de46f3ab07 Remove all unnecessary parenthesis where object initialisers are used
Enforces at CI.
2017-07-13 15:11:33 +09:00
b79e309c2f Don't lock scroll position of SectionsContainer header elements on negative scroll
Feels better in all cases.
2017-07-13 14:24:41 +09:00
c02a85bc4a Formatting 2017-07-13 13:52:40 +09:00
3a4150c6c3 Merge remote-tracking branch 'upstream/master' into profile
# Conflicts:
#	osu.Game/Graphics/Containers/SectionsContainer.cs
2017-07-13 13:44:21 +09:00
9d47dd9ff9 Add support for right mouse absolute scrolling (when enabled)
Will likely need to be bindable when hooked up to settings and actually used.
2017-07-12 18:57:44 +09:00
0322e66c25 Merge remote-tracking branch 'upstream/master' into container-collection-readonlylist 2017-07-12 13:07:23 +09:00
c8c1dcae28 Fix incorrect filename 2017-07-12 12:55:40 +09:00
9d523ea012 Update framework 2017-07-12 11:06:13 +09:00
4045083dcd Update sorting comparers in line with framework changes 2017-07-11 21:21:58 +03:00
fd4a054921 Merge branch 'master' into profile 2017-07-11 09:16:32 +08:00
d9b362489b Fix incorrect TimeUntilNextBeat and add TimeSinceLastBeat 2017-07-10 12:07:38 +03:00
2c8b8c3f9c Update loop logic in line with framework changes 2017-07-09 18:23:34 +09:00
cadc191602 Merge branch 'master' into profile 2017-07-02 22:03:30 +08:00
043c7756f7 public -> protected 2017-07-01 07:09:26 -07:00