Joehu
74176a6954
Remove redundant ternary expression
2019-12-01 12:54:37 -08:00
Joehu
3b88afd069
Fix overlays closing when dragging from in/out or out/in
2019-12-01 12:02:47 -08:00
Albie
7864899249
Merge branch 'master' into cinema-mod
2019-11-28 16:42:01 +00:00
Dean Herbert
bb0a4db847
Fix failing tests
2019-11-29 01:17:58 +09:00
Dean Herbert
56e8a1fdd5
Merge remote-tracking branch 'upstream/master' into reduce-background-blur-scale
2019-11-28 22:02:31 +09:00
Dean Herbert
46379902be
Merge branch 'master' into hover-debounce
2019-11-28 20:44:32 +09:00
Min
92ab8026a0
Completely remove click sound debounce
2019-11-28 16:03:59 +11:00
Dean Herbert
2865f32052
Fix nullref on clicking links in tests
2019-11-28 00:13:44 +09:00
phosphene47
786fb9ede3
Split click and hover and disable click debounce
2019-11-28 00:44:01 +11:00
phosphene47
d4afea0b5e
Use double instead of TimeSpan
2019-11-27 23:06:07 +11:00
phosphene47
037d927e45
TimeSpans can be negative!
2019-11-27 22:51:27 +11:00
phosphene47
b126700f01
Debounce hover sounds
2019-11-27 22:47:00 +11:00
smoogipoo
d1e3718038
Reduce the scale of background blurs
2019-11-27 15:04:09 +09:00
Huo Yaoyuan
c0fe91a84c
Merge branch 'master' into sharpen
2019-11-26 18:21:50 +08:00
Albie
0a70ec0b11
Merge branch 'master' into cinema-mod
2019-11-25 07:25:30 +00:00
Dean Herbert
36cabe72cf
Make DimmedLoadingLayer block input when active
2019-11-25 11:49:54 +09:00
Berkan Diler
fccdbffa93
Use MathF instead of Math- functions when possible
...
MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
2019-11-25 00:45:42 +01:00
Albie
b8e5796af5
add forced video/storyboard and disabled dim for mod inside new interface
2019-11-24 07:37:06 +00:00
Dean Herbert
57d38c5c74
Add final newline
2019-11-22 02:39:54 +09:00
Dean Herbert
f390e558c7
Combine and simplify beatmap change logic
2019-11-22 02:32:02 +09:00
Dean Herbert
a97d760afa
Merge remote-tracking branch 'upstream/master' into menu-background-modes
2019-11-22 02:23:02 +09:00
Huo Yaoyuan
818553027b
Merge branch 'master' into sharpen
2019-11-21 23:42:46 +08:00
Berkan Diler
66a3837ff4
Fix CI
2019-11-20 14:25:44 +01:00
Berkan Diler
6cab517b2d
.NET Standard 2.1 implements Math.Clamp , use it instead of MathHelper.Clamp from osuTK.
2019-11-20 13:37:47 +01:00
Huo Yaoyuan
374ef6ff83
Merge branch 'master' into sharpen
2019-11-20 17:30:58 +08:00
Huo Yaoyuan
53bc2dcab7
Use costum displaying text for inherited references.
2019-11-18 15:29:18 +08:00
Huo Yaoyuan
b04bca7db6
Reference elements in origin definition.
2019-11-17 20:55:40 +08:00
Huo Yaoyuan
f05b83d7d4
Use typeparamref.
2019-11-17 20:48:23 +08:00
Dean Herbert
ce60f8262c
Merge branch 'master' into sharpen
2019-11-13 15:38:59 +09:00
Dean Herbert
da819261e0
Shrink and darken loading layer to better suit button
2019-11-12 21:38:16 +09:00
Huo Yaoyuan
7d7b9e36b2
Use compound assignment.
2019-11-12 19:53:50 +08:00
Dean Herbert
52ab309295
Merge branch 'master' into stateful-menu-items
2019-11-12 10:31:50 +09:00
Dean Herbert
5bb65d0716
Rename button class
2019-11-12 10:21:06 +09:00
Huo Yaoyuan
e9b8cbb516
Apply other styles.
2019-11-11 20:27:04 +08:00
Huo Yaoyuan
ccc8aa6fa4
Apply brace style.
2019-11-11 20:13:13 +08:00
Dean Herbert
bed62e0d2f
Rename ThreeState -> TernaryState and add basic tests
2019-11-11 18:56:18 +09:00
Dean Herbert
c0f6e4687a
Merge branch 'master' into stateful-menu-items
2019-11-11 18:33:50 +09:00
Dean Herbert
c70c05c896
Less sickening parallax ( #6743 )
...
Less sickening parallax
2019-11-08 19:15:25 +09:00
Dean Herbert
8bcbc93501
Fix tournament buttons playing sound effects
2019-11-08 17:00:47 +09:00
smoogipoo
a2c265c147
Separate ThreeStates into its own file
2019-11-08 13:23:13 +09:00
smoogipoo
011bf09516
Add xmldocs and cleanup
2019-11-08 13:23:13 +09:00
smoogipoo
0a15a13fab
Reorder parameters
2019-11-08 13:23:13 +09:00
smoogipoo
30f877c4ab
Implement a three-state menu item
2019-11-08 13:23:13 +09:00
smoogipoo
ce08d664a5
Abstract statefulness of new menu item type
2019-11-08 13:23:13 +09:00
smoogipoo
4fe69dbc89
Fix context menu sub-menu display
2019-11-08 13:23:13 +09:00
smoogipoo
c3a3b4091b
Add basic implementation of a toggleable menu item
2019-11-07 22:26:35 +09:00
smoogipoo
29672c48e1
Make simple OsuMenuItem ctor invoke the complex one
2019-11-07 16:04:13 +09:00
smoogipoo
20d6eceecf
Move DrawableOsuMenuItem out of OsuMenu
2019-11-07 16:03:35 +09:00
Dean Herbert
d400e4a5f6
Add shared constant for parallax amount
2019-11-07 09:30:50 +09:00
Dean Herbert
ee4839b7e7
Reduce delay on parallax
2019-11-06 18:09:36 +09:00
Dean Herbert
4ce3450cfc
Move button implementation to OsuButton
2019-11-06 14:08:52 +09:00
Dean Herbert
44d0791676
Update button usage
2019-11-05 16:26:31 +09:00
Dean Herbert
898520935e
Move link handling code to OsuGame
...
This allows for future calls from arguments / associations
2019-11-01 11:40:51 +09:00
Dan Balasescu
514c9f1eef
Merge branch 'master' into bindable-control-points
2019-10-30 16:20:54 +09:00
Dean Herbert
dbee63c1a6
Make OsuButton correctly block hover events ( #6636 )
...
Make OsuButton correctly block hover events
2019-10-30 12:38:16 +09:00
Dean Herbert
08040adfad
Expose Current bindable in LabelledComponents
...
Adds a `LabelledDrawable` class for usages where bindables are not present.
2019-10-28 16:24:28 +09:00
Dean Herbert
6980f488dc
Make OsuButton correctly block hover events
2019-10-28 16:24:07 +09:00
Dean Herbert
8069674824
Merge remote-tracking branch 'upstream/master' into bindable-control-points
2019-10-28 11:52:04 +09:00
Dean Herbert
8baf569f59
Remove necessity of AutoGenerated flag
2019-10-25 19:58:42 +09:00
Dean Herbert
e987db37ec
Add grouping of ControlPoints
2019-10-25 19:52:02 +09:00
Andrei Zavatski
85769982a0
Refactor LoadingButton
2019-10-24 17:49:34 +03:00
Andrei Zavatski
b310fd9d44
Adjust naming inside the LoadingButton
2019-10-23 13:39:42 +03:00
Dean Herbert
40c202c394
Merge branch 'master' into comments-vote-pill
2019-10-23 15:41:54 +09:00
Dean Herbert
21e0bd2a5a
Merge branch 'fix-wave-container' into apply-framework-fixes
2019-10-23 15:13:41 +09:00
smoogipoo
851773a842
Apply adjustments for framework changes
2019-10-23 14:04:06 +09:00
Dean Herbert
001eae2c02
Merge remote-tracking branch 'upstream/master' into make-most-textbox-carets-movable
2019-10-22 15:04:16 +09:00
Dean Herbert
5d0d83b6bf
Add basic xmldoc
2019-10-22 15:04:10 +09:00
Joehu
f7924d3bad
Rename "FixedSearchTextBox" to "SeekLimitedSearchTextBox"
2019-10-21 16:00:09 -07:00
Dean Herbert
b30c84778f
Update WaveContainer to support framework changes
2019-10-18 16:13:01 +09:00
Joehu
e5b50b5e1f
Fix slider bar regression when using arrows
2019-10-17 13:54:36 -07:00
Andrei Zavatski
6b196a6ce7
CI fixes
2019-10-17 15:24:51 +03:00
Andrei Zavatski
a437ff74cc
Move VotePill to it's own file
2019-10-17 14:18:31 +03:00
Andrei Zavatski
d3a8dfd5ff
Implement LoadingButton component
2019-10-17 13:57:17 +03:00
smoogipoo
350d139cbf
Make chevron icon colour protected
2019-10-16 15:54:00 +09:00
Joehu
649951198e
Make most textbox carets movable
2019-10-15 14:47:48 -07:00
Andrei Zavatski
b1f7a673e7
Simplify chevron icon coloring
2019-10-15 00:10:02 +03:00
Andrei Zavatski
d4843285db
CI fixes
2019-10-14 17:33:14 +03:00
Andrei Zavatski
a44cc2e70b
Implement CommentsShowMoreButton
2019-10-13 14:43:30 +03:00
Dean Herbert
a7b58cad99
Merge branch 'master' into labelled-switch-button
2019-10-04 11:15:54 +08:00
Dan Balasescu
2519fd26a9
Merge pull request #6351 from Joehuu/simplify-exit-logic-of-screens
...
Simplify exit logic of screens with textboxes using back button receptor
2019-10-02 18:38:06 +09:00
HDragonHR
faf8fe132e
Change bindable int to float
2019-10-02 12:26:46 +08:00
Joehu
e3502f5200
Fix typo on Key.Escape comment
2019-10-01 08:37:08 -07:00
Joehu
ff6367fa4b
Make back button glow when pressing escape
2019-10-01 08:26:45 -07:00
Joehu
5f700f2ae9
Simplify exit logic of screens with textboxes using back button receptor
2019-10-01 08:26:34 -07:00
Dean Herbert
193a9b0dd7
Merge branch 'master' into labelled-switch-button
2019-09-29 14:56:26 +08:00
Dean Herbert
45f833ceea
Add invocation null checks for safety
2019-09-25 22:14:42 +09:00
smoogipoo
9f77a1ef35
Adjust namespaces
2019-09-25 17:53:08 +09:00
smoogipoo
d32a0acd10
Merge remote-tracking branch 'origin/master' into labelled-switch-button
2019-09-25 17:51:12 +09:00
smoogipoo
261ba5c80a
Fix button not transforming correctly in some cases
2019-09-25 17:42:27 +09:00
Dean Herbert
654b815b36
Merge remote-tracking branch 'upstream/master' into back-button-part-2
2019-09-25 14:38:39 +09:00
LeNitrous
851e42a444
avoid memory leak
2019-09-24 22:57:29 +08:00
LeNitrous
0bc59e17dc
remove Seasonal and apply suggestions
2019-09-24 21:56:32 +08:00
LeNitrous
03947e5b85
change background for ScalingContainer
2019-09-24 19:49:46 +08:00
Dean Herbert
f493f1c71d
Move new components to v2 namespace
2019-09-24 19:00:26 +09:00
LeNitrous
b8d147a3b4
introduce main menu background modes
2019-09-24 17:42:06 +08:00
smoogipoo
028c958431
Initial implementation of a switch button
2019-09-24 18:39:11 +09:00
Dean Herbert
50d4206c45
Fix exit scenarios
2019-09-19 20:17:58 +09:00
Dean Herbert
177a789d79
Add setting to adjust hold-to-confirm activation time
2019-09-19 14:06:25 +09:00
Roman Kapustin
8456861b8d
Wait for cursor hiding using ManualResetEventSlim
2019-09-14 17:08:56 +03:00
Andrei Zavatski
437e121056
Merge remote-tracking branch 'refs/remotes/ppy/master' into beatmap-video
2019-09-13 13:39:58 +03:00
Andrei Zavatski
cb98b07e33
Merge master with conflicts resolved
2019-09-13 10:45:01 +03:00
Dean Herbert
a05ae2c1b2
Merge remote-tracking branch 'upstream/master' into pr/EVAST9919/6082
2019-09-13 15:53:11 +09:00
Dean Herbert
e2e87d5268
Merge branch 'master' into properly-fix-dialog-double-samples
2019-09-13 14:53:29 +09:00
Dean Herbert
0e679fb468
Use colour constant rather than opacity helper function
2019-09-13 14:06:19 +09:00
Dean Herbert
b917f29cfe
Make GradientLineTabControl abstract
2019-09-13 13:59:06 +09:00
Andrei Zavatski
b17d097a39
Simplify colour usage in GradientLine
2019-09-12 17:17:57 +03:00
Dean Herbert
2cb084666b
Merge branch 'master' into rankings-scope-selector
2019-09-12 22:37:14 +09:00
Andrei Zavatski
b657e31f93
Merge dependent changes
2019-09-12 05:26:10 +03:00
Andrei Zavatski
c3c2efe35c
Add ability to override text in PageTabItem
2019-09-12 05:03:59 +03:00
Joehu
e0bf579b18
Properly fix dialog overlay playing double samples on show/hide
2019-09-11 15:35:47 -07:00
Dean Herbert
55a071e8ba
Use BindValueChanged
2019-09-11 19:12:55 +09:00
Dean Herbert
be66c0e912
Fix potential of toggle between load and LoadComplete
2019-09-11 19:06:31 +09:00
Dean Herbert
2c09efa23b
Handle changes to OverlayActivationMode
2019-09-11 17:34:28 +09:00
Dean Herbert
825a34ecd3
Early return to avoid other potential fail cases
2019-09-11 17:34:03 +09:00
Dean Herbert
f53410a42a
Merge remote-tracking branch 'upstream/master' into re-order-events
2019-09-11 16:48:44 +09:00
Andrei Zavatski
03bd7ca8e7
Implement RankingsScopeSelector
2019-09-10 04:20:32 +03:00
Andrei Zavatski
65869c7ebb
Refactor LeaderboardScopeSelector for more extensibility
2019-09-10 04:04:37 +03:00
Dean Herbert
95baae5088
Fix dragging from inside to outside an overlay incorrectly hiding
2019-09-06 18:27:54 +09:00
Dean Herbert
b3f61abd49
Use float types for cursor sizes ( #5958 )
...
Use float types for cursor sizes
2019-09-06 15:45:44 +09:00
smoogipoo
99579255ad
Force glowing sprite text to never redraw
2019-09-05 14:41:02 +09:00
smoogipoo
2e6af84ca8
Don't redraw leaderboard scores
2019-09-05 14:39:02 +09:00
smoogipoo
a87a1e6031
Don't redraw certain buffered containers on scale change
2019-09-04 19:38:12 +09:00
Dean Herbert
4c563232d6
HoverClickSounds should handle click event instead of MouseUp
2019-09-04 11:37:19 +09:00
Dean Herbert
53fe290ef3
Merge branch 'master' into back-button-part-2
2019-09-03 19:44:30 +09:00
Dean Herbert
e98059267d
Improve xmldoc
2019-09-03 19:21:24 +09:00
Dean Herbert
299d528654
Simplify implementation
2019-09-03 19:20:23 +09:00
Dean Herbert
e88965b433
Merge remote-tracking branch 'upstream/master' into consistent-mod-button-sounds
2019-09-03 19:18:59 +09:00
smoogipoo
eab06995d0
Add some whitespace
2019-09-03 11:37:56 +09:00
jorolf
3b769128a8
Add a 60bpm beat when no beatmap is playing
2019-09-03 00:57:29 +02:00
iiSaLMaN
cb55159b28
Use float types for cursor sizes
2019-09-03 01:28:51 +03:00
Bartłomiej Dach
53c254c6a5
Replace Array.IndexOf() with Contains()
2019-09-02 19:01:36 +02:00
Bartłomiej Dach
fc48b190fe
Fix inaccurate xmldoc
2019-09-01 13:32:53 +02:00
Bartłomiej Dach
c4dc34eefd
Consolidate HoverClickSounds constructors
...
As suggested in review, merge both HoverClickSounds constructors into
one accepting optional arguments. Due to existing usages the parameter
is added as second and supplied by name in ModButton.
2019-09-01 13:10:11 +02:00
Bartłomiej Dach
658e0edc3e
Handle other button clicks in HoverClickSounds
...
As suggested in review, remove previously introduced HoverMouseUpSounds
and instead change effect playing logic in HoverClickSounds by moving it
out of OnClick() to OnMouseUp().
Users of the class can either use the existing constructor to play
the effect only on left click or use the newly introduced constructor
with the MouseButton[] parameter to specify which button clicks should
trigger the sound.
2019-08-31 20:16:16 +02:00
Bartłomiej Dach
a1c72db5f6
Fix inconsistent sound effects on mod buttons
...
Because HoverClickSounds.OnClick() does not fire upon right clicking
on mod buttons, the sound effects that play on left and right click
were inconsistent. Introduce HoverMouseUpSounds drawable that allows
to play the click sound effect upon mouse up events for an arbitrary
set of mouse buttons and use it on mod buttons.
2019-08-31 17:01:12 +02:00
Andrei Zavatski
94512fea8e
Apply naming suggestions
2019-08-31 16:20:33 +03:00
Andrei Zavatski
fa3591e5ec
Add setting to turn on/off the video
2019-08-31 00:42:20 +03:00
Dean Herbert
03a4acaf4c
Fix drags outside of overlay container bounds not hiding overlay
2019-08-29 12:07:58 +09:00
Dean Herbert
dfdf3f5e96
Merge remote-tracking branch 'upstream/master' into humanizer-fallback
2019-08-28 20:15:32 +09:00
Dean Herbert
b59973c712
Update in line with framework changes
2019-08-27 18:43:58 +09:00
Dean Herbert
82209aed82
Merge branch 'master' into humanizer-fallback
2019-08-22 17:58:40 +09:00
Andrei Zavatski
727a6abaf7
Simplify caching
2019-08-21 12:16:30 +03:00
Dean Herbert
fd26ef739a
Merge remote-tracking branch 'upstream/master' into back-button-part-2
2019-08-21 15:23:54 +09:00
Dean Herbert
48716f8f2b
Update framework
2019-08-21 13:29:50 +09:00
Dan Balasescu
01df3c982a
Merge branch 'master' into fix-tooltips-not-displaying
2019-08-19 12:51:06 +09:00
Dean Herbert
a51fbfa31b
Fix osu! default tooltips not displaying
2019-08-19 10:46:28 +09:00
Dean Herbert
4fa9abeece
Replace DifficultyColouredContainer with a more scalable solution
2019-08-17 15:16:24 +09:00
Dean Herbert
d771c271a3
Merge remote-tracking branch 'upstream/master' into fix-checkbox-sounds
2019-08-16 19:32:01 +09:00
Dean Herbert
d732d276b1
Make activation delay customisable
2019-08-16 13:21:41 +09:00
Dean Herbert
ef5ed915e5
Reduce delay for hold-to-confirm controls
2019-08-15 17:14:00 +09:00
Dean Herbert
f7a92487ef
Fix checkbox sounds playing too often
2019-08-15 14:09:30 +09:00
David Zhao
4a28bdd384
Merge remote-tracking branch 'upstream/master' into back-button-part-2
2019-08-13 12:26:12 +09:00
Dean Herbert
c0f0fbbaa9
Rename variable and add xmldoc
2019-08-13 00:14:37 +09:00
Andrei Zavatski
9c36cb4af4
Use existing AccentColour logic instead of weird BoxColour
2019-08-12 14:33:30 +03:00
Andrei Zavatski
fc521ac93b
Expose BoxColour property
2019-08-12 13:08:15 +03:00
Andrei Zavatski
144d41f143
Add ability to not add all the items if enum
2019-08-12 12:33:01 +03:00
Dean Herbert
d0f2d22995
Merge branch 'master' into fix-storyboard-not-shown-on-disabled-user-dim
2019-08-12 05:46:15 +09:00
Dean Herbert
684c37bf05
Rename class to better match usage
2019-08-11 16:19:40 +09:00
Lucas A
d55f9404da
Fix CI issues
2019-08-10 14:23:37 +02:00
Lucas A
8eb3409a64
Add missing licence header
2019-08-10 14:03:44 +02:00
Lucas A
b0a7177987
Add ScreenTitleIcon class, used for displaying custom specific icons on overlays.
2019-08-10 13:26:19 +02:00
Dean Herbert
90b1fe81f3
Update cached usage in line with framework changes
2019-08-09 19:12:29 +09:00
Dean Herbert
7e9c100c9b
Apply new resharper refactors
2019-08-09 12:29:33 +09:00
iiSaLMaN
565034e658
Remove unnecessary using directive
2019-08-08 22:14:51 +03:00
iiSaLMaN
0fcc6c1676
Add DimLevel property
2019-08-08 22:13:48 +03:00
iiSaLMaN
a3d90da7d4
Remove unnecessary check
2019-08-08 17:29:52 +03:00
iiSaLMaN
88b9942b2a
Move EnableUserDim check to defualt value of ShowDimContent
2019-08-08 17:07:06 +03:00
iiSaLMaN
d5b26b86da
Fix storyboard not showing on disabled user dim
2019-08-07 22:18:10 +03:00
Dean Herbert
6ed9c983ff
Rename shear variable
2019-08-07 12:36:00 +09:00
David Zhao
ac0abe0692
Use newly exposed UpdateState
2019-08-06 14:21:34 +09:00
David Zhao
28825d4077
Merge remote-tracking branch 'upstream/master' into re-order-events
2019-08-06 14:00:35 +09:00
Joehu
11aa3544c4
Fix shear width naming
2019-08-05 20:57:17 -07:00
Joehu
ee6a90c48d
Fix back button hover sounds playing in unclickable area
2019-08-05 20:43:30 -07:00
Andrei Zavatski
fd44ca3233
Rename Animation to Layer
2019-08-04 13:54:23 +03:00
Andrei Zavatski
a30d7912b1
Move DimmedLoadingAnimation to it's own file
2019-08-04 11:09:12 +03:00
Joehu
b244b2fe3d
Add hover click sounds to leaderboard mod filter
2019-08-02 21:13:29 -07:00
Roman Kapustin
852079d438
Remove redundant ScreenshotManager.Update override
2019-08-01 01:35:42 +03:00
David Zhao
f81e691bf5
Merge remote-tracking branch 'upstream/master' into back-button-part-2
2019-07-31 16:03:14 +09:00
David Zhao
1956098166
Add a fallback for humanizer localization failure
2019-07-30 14:06:08 +09:00
David Zhao
6d1203a599
Move screen pushes into function, rename receptor
2019-07-30 12:00:04 +09:00
Dean Herbert
cec26a270e
Fix using right mouse button to drag at song select seeking incorrectly with many beatmaps loaded
...
Closes #5195
2019-07-30 07:04:16 +09:00
David Zhao
e8c039bb8a
Use a receptor model instead
2019-07-29 18:45:16 +09:00
David Zhao
4b5fb84888
Rewrite comment
2019-07-29 11:02:44 +09:00
David Zhao
1b0f7b0459
more detailed explanation
2019-07-26 19:05:55 +09:00
David Zhao
6e09d857fd
Fix ValueChanged events being called out of order
2019-07-26 19:00:07 +09:00
Dean Herbert
9ef858806b
Fix existing usage of Path
2019-07-26 17:48:19 +09:00
Joehu
3b0a482743
Fix font weight of leaderboard mod filter
2019-07-25 23:10:00 -07:00
Dean Herbert
9665a94f4a
Ignore shift-delete PlatformAction in SearchTextBox ( #5372 )
...
Ignore shift-delete PlatformAction in SearchTextBox
Co-authored-by: Dean Herbert <pe@ppy.sh>
2019-07-23 17:11:09 +09:00
Dean Herbert
e81ef4bf33
Rewrite comment
2019-07-23 16:44:19 +09:00
David Zhao
4d8e2a78d1
update with new framework changes and update comment
2019-07-23 15:31:09 +09:00
smoogipoo
776757545d
Fix FTB causing flashlight to block vision correctly
2019-07-23 15:17:02 +09:00
David Zhao
3e4ebd3c7a
Merge branch 'master' into shift-delete
2019-07-23 13:25:12 +09:00
David Zhao
e628e44d8e
update comment
2019-07-23 13:25:03 +09:00
Dean Herbert
9e34582c17
Merge branch 'master' into separate-glowing-text-from-leaderboardscore
2019-07-23 11:31:47 +09:00
iiSaLMaN
32e9547ce9
Trim whitespace
2019-07-22 23:16:54 +03:00
iiSaLMaN
081355e3d1
Use IHasText and simplify properties
2019-07-22 23:12:09 +03:00
Dean Herbert
07a0df7c4f
Fix bracket precedence
2019-07-22 18:29:04 +09:00
iiSaLMaN
affd0b2878
Fix build issues
2019-07-21 12:34:52 +03:00
iiSaLMaN
57fc5cbda8
Fix CI issues
2019-07-21 12:29:06 +03:00
iiSaLMaN
87fb22352c
glowingText -> blurredText
2019-07-21 12:28:55 +03:00
iiSaLMaN
9d7f6abbdd
Remove unnecessary field
2019-07-21 12:18:31 +03:00
iiSaLMaN
ed0ef90613
Separate glowing sprite text into it's own class
2019-07-21 12:14:55 +03:00
Dean Herbert
4c592a5e65
Fix TriangleDrawNode crash when aimcount is zero
2019-07-20 22:52:07 +09:00
Dean Herbert
5696d79423
Use TriangleBatch
2019-07-19 23:47:48 +09:00
Dean Herbert
024f136d82
Reduce buffer count by one
2019-07-19 14:24:11 +09:00
Dean Herbert
95f36c36c4
Late-initialize vertex batch for safety
2019-07-19 01:52:53 +09:00
Dean Herbert
a23bb3a6b3
Account for headless nulls (but how?)
2019-07-19 01:14:55 +09:00
Dean Herbert
00f1d1b53c
Reduce Triangle drawnode overhead by ~90%
...
This was never batching, ever. Pointless memory overhead.
2019-07-19 00:53:00 +09:00
David Zhao
b95a598338
don't check for shift
2019-07-16 15:12:01 +09:00
David Zhao
e789bb37c8
Ignore shift-delete in SearchTextBox
2019-07-16 14:55:41 +09:00
Dean Herbert
d92f6c762b
Fix potential nullref
2019-07-15 11:53:16 +09:00
Dean Herbert
2186ffda55
Avoid unnecessarily creating buffered container for zero-blur
2019-07-15 11:46:41 +09:00
Dean Herbert
d093eb6660
Mark sprite read-only
2019-07-15 11:45:15 +09:00
Dean Herbert
8b67f88d16
Don't expose dimmable container creation in player
2019-07-12 12:04:45 +09:00
Dean Herbert
46f7bb885b
Move classes to local namespaces
...
Also renames test scene to more appropriate name.
2019-07-12 11:50:06 +09:00
Dean Herbert
b5ca7faca4
Move default value for EnableUserDim to base class
2019-07-12 11:40:38 +09:00
Dean Herbert
0d9f978857
Don't expose DimContainer
2019-07-12 11:38:15 +09:00
David Zhao
932243cfd4
public before private
2019-07-11 14:14:00 +09:00
David Zhao
ac170a6957
add comment and cleanup
2019-07-11 14:00:25 +09:00
David Zhao
321266e96f
Make UserDimContainer abstract
2019-07-11 13:17:28 +09:00
David Zhao
7929104b8a
move default into StoryboardContainer, fix load bug, remove comment
2019-07-10 12:24:05 +09:00
David Zhao
5bb21ecae0
remove storyboard region
2019-07-09 16:50:37 +09:00
David Zhao
1b5fadf93f
move comment to more relevant location
2019-07-09 16:38:12 +09:00
David Zhao
89cb8a0cac
Move storyboard initialization to new StoryboardContainer
2019-07-09 16:23:59 +09:00
Dean Herbert
38dceddc27
Fix file ordering
2019-07-05 10:07:45 +09:00
Joehu
ae7da2557e
Fix initial colour of leaderboard mod filter
2019-07-04 13:24:13 -07:00
Dean Herbert
db3e9c7e60
Fix WaveOverlayContainer being always present ( #5210 )
...
Fix WaveOverlayContainer being always present
2019-07-04 00:35:22 +09:00
Dean Herbert
23acddcb56
Rename download buttons to avoid ambiguity
2019-07-03 12:02:35 +09:00
Dean Herbert
466bc7f28a
Merge branch 'master' into watch-replays-4
2019-07-03 11:47:10 +09:00
Dean Herbert
e1d0d26669
Add a note about local optimisation that may not be required in the future
2019-07-03 00:21:16 +09:00
Dean Herbert
2fcd428d73
Merge branch 'master' into fix-overlay-presence
2019-07-02 23:40:49 +09:00
Dean Herbert
93511266e5
Fix waves not displaying at all
2019-07-02 22:33:33 +09:00
naoey
ee516d2515
Make direct panel download and replay buttons share UI
2019-07-02 15:55:30 +05:30
Dean Herbert
7b2227c505
Fix xmldoc
2019-07-02 17:47:19 +09:00
Dean Herbert
6c7b97931e
Avoid using a BufferedContainer for backgrounds unless required
2019-07-02 17:45:46 +09:00
Dean Herbert
d27a0db45c
Enforce StartHidden on relevant overlays
2019-07-02 15:23:47 +09:00
Dean Herbert
2645967dc4
Fix wave-based overlays always being present before initial display
2019-07-02 15:17:35 +09:00
smoogipoo
23df1a5d42
Merge remote-tracking branch 'HollyHacker/master' into abstract-menu
2019-06-28 13:42:56 +09:00
Dean Herbert
7d5554c2ac
Re-use the back button game-wide ( #5149 )
...
Re-use the back button game-wide
Co-authored-by: Dean Herbert <pe@ppy.sh>
2019-06-25 20:50:28 +09:00
Dean Herbert
f51be4c4fe
Adjust transitions a tad
2019-06-25 20:23:34 +09:00
Dean Herbert
75b78d5e27
Reduce size of dropdown chevron ( #5150 )
...
Reduce size of dropdown chevron
Co-authored-by: Dan Balasescu <1329837+smoogipoo@users.noreply.github.com>
2019-06-25 20:05:52 +09:00
Dean Herbert
a3de369c20
Reduce size of dropdown chevron
2019-06-25 19:32:00 +09:00
Dean Herbert
8c02709d74
Merge branch 'master' into fix-dropdown-styling
2019-06-25 19:28:37 +09:00
smoogipoo
5b294ba419
Adjust backbutton animation
2019-06-25 18:33:35 +09:00
smoogipoo
d9927204f8
Relieve OsuScreen of back button input duties
2019-06-25 18:33:18 +09:00
jorolf
4d8f49b9bc
update code to work with https://github.com/ppy/osu-framework/pull/2568
2019-06-24 23:17:07 +02:00
Dan Balasescu
18d64df0c4
Merge branch 'master' into add-numberbox
2019-06-24 15:22:30 +09:00
Unknown
16a4805f1f
add OsuNumberBox with basic tests
2019-06-21 15:04:52 +02:00
smoogipoo
7054f54a64
Use OsuScrollContainer for osu menus
2019-06-21 12:33:49 +09:00
Dean Herbert
133c1fc0f1
Merge branch 'master' into remove-osu-checkbox-bindable
2019-06-20 11:33:39 +09:00
Dean Herbert
07ea0f9755
Make OsuButton non-abstract again
2019-06-18 14:16:54 +09:00
Dean Herbert
26d5c2d85a
Remove local implementation of bindable in OsuCheckbox
2019-06-17 19:37:24 +09:00
Dean Herbert
1b75fbed9a
Merge remote-tracking branch 'upstream/master' into update-scrollcontainer
2019-06-14 23:25:17 +09:00
Dean Herbert
bc574520bf
Update ScrollContainer usages in line with framework changes
2019-06-14 15:55:32 +09:00
Dean Herbert
15b9b53d35
Fix IconButtons not being scaled correctly
2019-06-14 13:40:32 +09:00
Dean Herbert
00ee45fe46
Merge remote-tracking branch 'origin/update-visibility-container' into update-framework
2019-06-11 19:36:13 +09:00
Dean Herbert
6973e1af4d
Fix incorrect xmldoc in OsuAnimatedButton ( #4984 )
...
Fix incorrect xmldoc in OsuAnimatedButton
2019-06-11 18:45:23 +09:00
smoogipoo
a9758ba813
Merge remote-tracking branch 'origin/master' into fix-checkbox-overlap
2019-06-11 18:26:42 +09:00
smoogipoo
e5417416a2
Remove braces
2019-06-11 18:24:50 +09:00
Arphox
07e17518e9
Fix all "Maintainability" CodeFactor issues
2019-06-11 10:28:16 +02:00
Dean Herbert
609a82bc94
Update VisibilityContainer usage in line with framework
2019-06-11 15:13:58 +09:00
Dean Herbert
71e15fe0f1
Fix incorrect xmldoc in OsuAnimatedButton
2019-06-11 01:21:01 +09:00
Dean Herbert
cd89633dee
Rename variable to match
2019-06-09 17:07:23 +09:00
Dean Herbert
d500f3605e
Fix checkboxes with long labels overlapping nub
2019-06-09 16:48:03 +09:00
Dean Herbert
60b70c0f45
Use lambda for simple functions
2019-06-07 14:11:21 +09:00
Dean Herbert
64d5aa318f
Apply rebased changes
2019-06-07 11:45:58 +09:00
Dean Herbert
358a08cf9d
Merge branch 'master' into OsuHoverContainer
2019-06-07 11:40:33 +09:00
Dean Herbert
b93446688c
Fix sizing of OsuAnimatedButton and OsuClickableContainer ( #4898 )
...
Fix sizing of OsuAnimatedButton and OsuClickableContainer
2019-06-07 00:17:39 +09:00
smoogipoo
c7d0fcd42a
Update drawnodes
2019-06-06 16:49:35 +09:00
Dean Herbert
2538f32fae
Merge branch 'osu-clickable-container' into OsuHoverContainer
2019-06-05 10:34:20 +09:00
Arphox
900cd5c484
Restore original values in FadeColour method call
2019-06-04 21:37:10 +02:00
Arphox
5f4d7437bc
Fix the issue
...
When Enabled's value has been changed to true, it will now check if it is currently howered, and if yes, it will fade in correctly.
2019-06-04 21:30:49 +02:00
Dean Herbert
2e3d392a9f
Mark OsuButton as abstract
...
Not being used directly, so we probably shouldn't support it for now.
2019-06-04 22:12:55 +09:00
Dean Herbert
4e7f2b8f47
Merge branch 'master' into osu-clickable-container
2019-06-04 17:42:17 +09:00
Dean Herbert
80a66b8b3a
Merge remote-tracking branch 'upstream/master' into audio-refactor-update
2019-06-04 12:08:21 +09:00
smoogipoo
53a39e9142
Merge remote-tracking branch 'origin/master' into audio-refactor-update
2019-06-04 10:50:33 +09:00
Dean Herbert
171fc14776
Fix editor regressions
2019-06-03 16:34:09 +09:00
Dean Herbert
3ef17a54f6
Fix sizing of OsuAnimatedButton and OsuClickableContainer
...
Was incorrect under some combinations of relative and autosize usage.
2019-06-03 13:53:24 +09:00
Dean Herbert
dff7053a07
Merge branch 'master' into more_button_update
2019-06-03 11:48:05 +09:00
smoogipoo
c211f1d0fe
Merge remote-tracking branch 'Joehuu/master' into changelog-overlay
2019-05-31 12:28:28 +09:00
EVAST9919
fe9e53e383
Add a testcase
2019-05-30 23:07:04 +03:00
Dean Herbert
4ca34bd5e8
Update osu! in line with audio subsystem refactor
2019-05-28 17:06:01 +09:00
Dean Herbert
e7b9d1efa3
Isolate alpha usage in OsuCheckbox
2019-05-27 01:49:24 +09:00
Dean Herbert
cb62008280
Cleanup pass
2019-05-23 11:23:37 +09:00
Dean Herbert
1d5b7cdec0
Add ExpandingBar UI element
2019-05-22 16:44:47 +09:00
Dean Herbert
92c991494d
Fix (and rename) ExpandingBar
2019-05-22 16:38:15 +09:00
Dean Herbert
8025a97b2b
Merge remote-tracking branch 'upstream/master' into HoutarouOreki-changelog-overlay
2019-05-21 17:18:23 +09:00
Dan Balasescu
2024cdf16d
Merge branch 'master' into hover-container-disabled-hover-effect
2019-05-21 17:04:50 +09:00
Dan Balasescu
ad2a495dbc
Merge branch 'master' into screen-title-custom-icon
2019-05-21 15:56:56 +09:00
Dean Herbert
d09101b43c
Merge remote-tracking branch 'upstream/master' into hover-container-disabled-hover-effect
2019-05-21 15:02:44 +09:00
Dean Herbert
5ed1540a12
Handle unhover state change better
2019-05-21 15:02:31 +09:00
Dan Balasescu
67ac76aae7
Merge branch 'master' into move-tooltip-text
2019-05-21 15:00:09 +09:00
Dean Herbert
e0da919fe9
Allow custom icon specification in ScreenTitle
...
Not all icons are available in fonts so IconUsage alone is not enough to cover all scenarios.
2019-05-21 14:10:21 +09:00
Dean Herbert
587e4bb5d5
Remove unnecessary getters from ScreenTitle
2019-05-21 14:10:16 +09:00
Dean Herbert
89e62c3d30
Only play OsuHoverContainer hover effect if action is present
2019-05-21 14:07:40 +09:00
Dean Herbert
e7c8c4f787
Fix incorrectly changed colour
2019-05-21 14:02:17 +09:00
Dean Herbert
247dad7e86
Use OsuColour for profile overlay
2019-05-21 13:54:19 +09:00
Dean Herbert
bc962bf8f0
Move TooltipText to OsuClickableContainer
2019-05-21 13:51:38 +09:00
Dean Herbert
808b45ac64
Allow custom icon specification in ScreenTitle
...
Not all icons are available in fonts so IconUsage alone is not enough to cover all scenarios.
2019-05-21 11:50:03 +09:00
Dean Herbert
6c26d6fdf9
Remove unnecessary getters from ScreenTitle
2019-05-21 11:13:36 +09:00