Jamie Taylor
c1d8a7e2ad
Add and use 'Submit' select sample variant for particular components
2021-07-30 21:35:28 +09:00
Jamie Taylor
be3c02ff7f
Remove 'Soft' select sample variant usage (soft is the new default)
2021-07-30 21:35:27 +09:00
Lucas A
ff3d38de6f
Localise accuracy display.
2021-07-23 22:37:08 +02:00
Jamie Taylor
cd54653977
Add 'Soft' HoverSampleSet variant
2021-07-21 22:00:13 +09:00
ekrctb
1bac471b49
Adapt to PlatformAction
type change
2021-07-21 16:12:53 +09:00
kj415j45
f4eeb9139e
Correct code style
2021-07-17 21:37:58 +08:00
kj415j45
ca1080dfb5
use switch statement
...
Co-authored-by: bdach <dach.bartlomiej@gmail.com>
2021-07-17 21:16:57 +08:00
huoyaoyuan
e3c10e3994
Add missing LocalisableString
2021-07-17 19:40:32 +08:00
Dean Herbert
e612d7568c
Merge pull request #13771 from LumpBloom7/volume-meter-switch
...
Add ability to navigate between volume meters via Alt+Left/Right arrows
2021-07-07 21:50:44 +09:00
Derrick Timmermans
4451598bcf
Fix remaining quality complaints
2021-07-06 15:17:19 +02:00
Derrick Timmermans
c5a0672277
Use IStateful<SelectionState> instead of ISelected
2021-07-06 12:07:25 +02:00
Derrick Timmermans
d495196b66
Share item cycling logic with GameplayMenuOverlay
2021-07-05 19:22:55 +02:00
PercyDan54
e1c646b9b2
Remove redundant arguments
2021-07-05 23:52:39 +08:00
Dean Herbert
35f7966922
Merge conditionals in line with other case of same logic
2021-07-02 15:55:36 +09:00
Dean Herbert
63d2ac66d2
Fix one more instance of incorrect playback/frequency set order
2021-07-02 15:52:20 +09:00
Jamie Taylor
910fe3e9f8
Center pitch randomisation around base pitch
2021-07-02 15:51:23 +09:00
Jamie Taylor
dad28b2826
Update OsuSliderBar to use new notch-tick sample and tweak pitch ramping
2021-07-01 20:55:55 +09:00
Bartłomiej Dach
50c27d2635
Update usages of IHasTooltip
in line with framework localisation changes
2021-06-25 19:10:04 +02:00
Joseph Madamba
2cdbada87e
Fix screen breadcrumb control updating on click
2021-06-21 21:10:24 -07:00
Dean Herbert
390abccb4b
Add workaround for dropdowns playing close animation on first display
2021-06-18 22:08:59 +09:00
Jamie Taylor
6e4fc26e16
replace 'songselect' hover/click sounds with 'button' ones for now
2021-06-18 21:03:46 +09:00
Jamie Taylor
953683044f
fix checkbox sounds not being used for certain checkboxes
2021-06-18 21:00:08 +09:00
Jamie Taylor
d462394635
add sound to dropdowns
2021-06-18 19:16:28 +09:00
Jamie Taylor
4feb7c848f
add sound to tab controls
2021-06-18 19:16:00 +09:00
Jamie Taylor
752d0a9f0b
add sound to scroll-to-top button
2021-06-18 16:08:14 +09:00
smoogipoo
3c3ff8be0d
Localise beatmap listing enum values
2021-06-16 15:58:07 +09:00
Dean Herbert
e098cac1cf
Minor code reformatting / moving
2021-06-11 23:49:14 +09:00
Dean Herbert
5887b4a27c
Update stand-alone usage of hover/select sounds in DrawableOsuMenuItem
2021-06-11 23:46:42 +09:00
Jamie Taylor
0b95d07390
Change 'default' hover/click samples into 'button' samples and make 'soft' the new 'default'
2021-06-11 20:47:57 +09:00
Jamie Taylor
4f80a3b66d
Add fallback-to-default logic for HoverSounds and HoverClickSounds
2021-06-11 20:14:35 +09:00
Jamie Taylor
15d3b4444d
Rename HoverSounds
and HoverClickSounds
samples
2021-06-11 19:34:54 +09:00
Dean Herbert
b0a113a36b
Merge branch 'master' into localisation-proof-of-concept
2021-05-21 17:57:54 +09:00
Dean Herbert
0f4b502fdf
Add missing xmldoc
2021-05-20 20:09:22 +09:00
Dean Herbert
df5970fab4
Create base implementations of the two most common TernaryStateMenuItem
s
2021-05-20 19:34:53 +09:00
Dean Herbert
1bb3c609ae
Centralise implementation of cancel button logic
2021-05-11 18:39:14 +09:00
Dean Herbert
a2e4fb5b6b
Update ScoreCounter
components to bind outwards
2021-05-07 16:16:48 +09:00
Dean Herbert
db524e2395
Add localisation support to DialogButton's text
2021-04-20 17:06:12 +09:00
Joseph Madamba
89940e7bb9
Fix download button check icon not scaling on mouse down
2021-04-18 19:05:33 -07:00
Dean Herbert
dfe3240b45
Merge pull request #12353 from nekodex/songselect-hoversamples
...
Add a hover sample type for SongSelect buttons
2021-04-10 01:45:47 +09:00
Jamie Taylor
ffacd38e57
Reduce the randomised pitch range of hover sounds
2021-04-09 23:03:14 +09:00
Jamie Taylor
8a0da06e89
Add a hover sample type for SongSelect buttons
2021-04-09 23:00:40 +09:00
Dean Herbert
8004652d27
Merge branch 'master' into optimised-has-flag-checks
2021-02-25 21:24:39 +09:00
smoogipoo
dff1d80f39
Update HasFlag usages to HasFlagFast
2021-02-25 15:38:56 +09:00
Dean Herbert
a362382d38
Add back more correct null checks
2021-02-25 14:06:21 +09:00
Dean Herbert
1fd76ea3fb
Apply changes to UI components overriding functions with changing signatures
2021-02-22 19:01:42 +09:00
smoogipoo
d3f0c0730d
Merge branch 'master' into non-concurrent-sample-playback
2021-02-12 17:22:15 +09:00
Dean Herbert
a2035a2e84
Stop hover sounds from playing when dragging (scrolling)
2021-02-12 12:22:35 +09:00
Dean Herbert
970039b7e3
Split out hover sample debounce logic so it can be more easily used in other places
2021-02-12 12:14:49 +09:00
Dean Herbert
3990738dbb
Merge pull request #11734 from nekodex/fix-checkbox-sound
...
Prevent the default on-click sample from playing for OsuCheckbox
2021-02-11 16:02:37 +09:00
Jamie Taylor
c8899aff92
Prevent the default on-click sample from playing for OsuCheckbox
2021-02-11 14:36:41 +09:00
Dean Herbert
26c9a60b0d
Merge branch 'hover-pitch-randomisation' into update-resources
2021-02-11 14:20:22 +09:00
Dean Herbert
625eb78a11
Simplify with an early exit for null sample
2021-02-10 17:59:52 +09:00
Jamie Taylor
4e2ab0bad2
Use a separate sample set for Toolbar buttons
2021-02-10 17:48:36 +09:00
Jamie Taylor
73ab1b2b21
Add pitch randomisation to HoverSounds on-hover sample playback
2021-02-10 17:42:24 +09:00
Dean Herbert
4bc324f040
Rename parameter to make more sense
2021-02-05 15:29:32 +09:00
Dean Herbert
9e9e382bee
Merge branch 'master' into user-beatmap-downloading-states-2
2021-02-05 15:27:17 +09:00
Joehu
4e530d2eaf
Remove old alpha hack from nub fill
2021-02-04 13:05:37 -08:00
Dean Herbert
794f9e5e93
Add missing centre anchor/origin
2021-02-04 22:53:41 +09:00
Dean Herbert
b32e10514d
Fix padding on label text not being double-applied (meaning no padding between nub and text)
2021-02-04 16:58:02 +09:00
Dean Herbert
3148bbda2a
Allow custom font to be used in OsuCheckbox
2021-02-04 16:54:17 +09:00
Dean Herbert
b2f1e133f8
Allow checkbox nub to be moved to the left
2021-02-04 16:53:55 +09:00
Bartłomiej Dach
cb87da2bb8
Merge branch 'master' into freemod-select-overlay
2021-02-03 22:19:35 +01:00
smoogipoo
5a56e2ba4b
Fix sound duplication due to checkbox
2021-02-02 21:29:00 +09:00
Dean Herbert
41593ff09e
Privatise protected property setters
2021-02-02 19:14:44 +09:00
Dean Herbert
fb52ac8c69
Share remove from playlist button design with adjacent download button
2021-02-02 16:57:08 +09:00
smoogipoo
8ffbcc9860
Fix test failures and general discrepancies
2021-01-20 14:05:35 +09:00
smoogipoo
de9d075f94
Initial sample + samplechannel rework
2021-01-19 17:11:40 +09:00
Salman Ahmed
bd44bf8c0b
Extract disabling progress bar user-interactivity
2021-01-18 10:51:39 +03:00
Salman Ahmed
1f12b2bd09
Rename download state Downloaded
to Importing
2021-01-13 18:04:53 +03:00
Bartłomiej Dach
49c6abcb5c
Remove mention of default value in xmldoc
...
Just bound to get outdated with every change anyway. Look at the actual
default value declaration to see what the default is.
2021-01-08 18:26:41 +01:00
Dean Herbert
e156bcdcae
Remove unnecessary (and broken) requiresDebounce check
2021-01-08 14:05:34 +09:00
Dean Herbert
11801d61c1
Use nullable doubule to better represent initial playback case
2021-01-08 14:05:22 +09:00
Dean Herbert
8f52a83b29
Share hover sound debounce across all instances via SessionStatics
2021-01-07 18:47:20 +09:00
Dean Herbert
6620eadec3
Reduce default hover sound debounce interval
2021-01-07 18:47:03 +09:00
Bartłomiej Dach
0880e76da8
Mark background dim layer as possibly-null
2021-01-05 22:56:53 +01:00
Bartłomiej Dach
ac1d6d4444
Make auto-property get-only
2021-01-05 22:56:53 +01:00
Dean Herbert
0639429a23
Fix test (and remove no longer valid test)
2021-01-05 18:10:39 +09:00
Dean Herbert
0b1ee2e267
Remove unused dispose logic
2021-01-05 17:42:19 +09:00
Dean Herbert
54982dcdd7
Refactor LoadingLayer to avoid applying effects to external drawables
...
In theory this seemed like a good idea (and an optimisation in some
cases, due to lower fill rate), but in practice this leads to weird edge
cases.
This aims to do away with the operations on external drawables by
applying a dim to the area behind the `LoadingLayer` when required.
I went over each usage and ensured they look as good or better than
previously.
The specific bad usage here was the restoration of the colour on dispose
(if the `LoadingLayer` was disposed in a still-visible state).
I'm aware that the `BeatmapListingOverlay` will now dim completely during
load. I think this is fine for the time being.
2021-01-05 17:31:45 +09:00
smoogipoo
10c1823534
Remove now unused files
2020-12-07 22:07:11 +09:00
Bartłomiej Dach
a3afd88387
Use Interpolation.Lerp
2020-11-28 20:35:03 +01:00
Endrik Tombak
8ad4cf73f5
Scale stars from 0.4 to 1
2020-11-28 17:09:43 +02:00
Bartłomiej Dach
5701b32bae
Handle constant graphs better
2020-11-23 22:12:32 +01:00
Bartłomiej Dach
58c9e57a68
Fix comment
2020-10-21 17:17:23 +02:00
Dean Herbert
22112e4303
Fix ISourcedFromTouch events being blocked by LoadingLayer
2020-10-21 23:11:51 +09:00
Dean Herbert
cb1784a846
Fix score displays using non-matching zero padding depending on user score display mode
2020-10-19 14:05:28 +09:00
Dean Herbert
254eba9008
Add and consume skinnable accuracy counter
2020-10-15 17:53:16 +09:00
Dean Herbert
219cbec6bd
Split out DefaultScoreCounter and make ScoreCounter abstract
2020-10-15 16:32:30 +09:00
Dean Herbert
2fce064e32
Add basic legacy combo counter and updating positioning logic
2020-10-14 19:16:34 +09:00
Dean Herbert
899bac6ca5
Rename catch combo counter for clarity
2020-10-14 19:16:34 +09:00
Dean Herbert
f5623ee21e
Setup skinnable combo counter component with default implementation
2020-10-14 19:16:34 +09:00
Joehu
393ee1c9f5
Fix hovered osu tab items not showing hover state when deselected
2020-09-17 23:09:09 -07:00
Dean Herbert
af412947b2
Merge branch 'master' into collection-database
2020-09-09 22:59:46 +09:00
smoogipoo
12188ec3c9
Fix broken RollingCounter current value
2020-09-09 20:51:56 +09:00
Dean Herbert
66d3bda962
Merge branch 'master' into collection-database
2020-09-08 23:18:47 +09:00
Dean Herbert
2b4e2d8ed6
Standardise corner radius of dropdowns
2020-09-08 19:04:46 +09:00
smoogipoo
ae022d7559
Show all items in dropdown, set global max height
2020-09-08 18:55:53 +09:00
smoogipoo
6862571672
Fix IconButton sometimes not recolourising
2020-09-02 22:02:57 +09:00
Dean Herbert
a171d0e292
Remove unused methods and classes
2020-08-31 18:14:22 +09:00
Dean Herbert
8b7446c43f
Fix RollingCounter not updating initial value if changed before loaded
2020-08-31 18:13:51 +09:00
Dean Herbert
5714c761eb
Merge pull request #9768 from frenzibyte/allow-counter-customize-sprite-text
...
Allow providing custom sprite text for RollingCounter<T>
2020-08-20 00:14:48 +09:00
Dean Herbert
1badc584f6
Update textbox event names
2020-08-19 22:10:58 +09:00
Salman Ahmed
5759ffff6f
Use the property instead of the backing field
2020-08-19 07:45:05 +03:00
Salman Ahmed
8f1a71c6b1
Remove counter sprite attributes for not being of any reasonable use
2020-08-19 07:44:45 +03:00
Salman Ahmed
9d10658e3c
Allow providing custom sprite text for RollingCounter<T>
2020-08-03 20:14:17 +03:00
Dean Herbert
e5991d6e14
Change method structure for hover/unhover state setting (shouldn't be called "Fade")
2020-07-30 13:49:04 +09:00
Andrei Zavatski
d4496eb982
Update ShowMoreButton in line with web
2020-07-30 04:51:09 +03:00
Joehu
f71ed47e66
Fix focused textbox absorbing input when unfocused
2020-07-20 11:52:02 -07:00
Joehu
681f001525
Convert icon to local variable
2020-07-11 19:19:34 -07:00
Joehu
4d7dc9f5eb
Fix color and underline of tab control checkboxes when initially checked
2020-07-11 18:27:47 -07:00
Dean Herbert
840380e0de
Fix LocallyAvailable state case getting cleared
2020-07-10 20:30:59 +09:00
Dean Herbert
c7b5c5aef4
Add tooltips to beatmap download button
2020-07-10 20:22:51 +09:00
Dean Herbert
f699a34c77
Rename variable for potential future expansion
2020-07-10 18:19:18 +09:00
Dean Herbert
664ab6d5f6
Merge branch 'master' into add-textbox-samples-and-fix-distingushing-passwords
2020-07-10 17:14:46 +09:00
Dean Herbert
bbbe8d6f68
Remove group selector for now, tidy up code somewhat
2020-07-09 13:47:11 +09:00
smoogipoo
cb69d1a865
Fix crash when changing tabs in changelog
2020-07-03 16:47:34 +09:00
Dean Herbert
14ad3835ff
Update naming
2020-06-23 21:27:01 +09:00
Dean Herbert
91b6979c97
Fix LoadingSpinner not always playing fade in animation
2020-06-12 13:38:20 +09:00
Salman Ahmed
178bbf16d1
Fix password text boxes having distinguishable key sounds
...
Closes https://github.com/ppy/osu-framework/issues/3280
2020-06-05 06:44:41 +03:00
Salman Ahmed
c6c88a901c
Add text box sample playback logic in OsuTextBox
...
Moved from osu!framework.
2020-06-05 06:43:44 +03:00
Dean Herbert
3487c1fd1b
Add menus to mark as rim and strong
2020-05-29 16:45:47 +09:00
Dean Herbert
11537dd688
Merge branch 'master' into tourney-subscreen-back-button
2020-05-17 17:38:36 +09:00
Dean Herbert
13d4997c91
Remove custom back action logic (use receptor as intended)
2020-05-17 17:35:10 +09:00
smoogipoo
9e2be6f2f4
Remove bindable to promote one-way access
2020-04-16 13:25:08 +09:00
smoogipoo
102c1d9095
Add disabled state to menu items
2020-04-15 16:17:17 +09:00
TheWildTree
e33055e2c4
Simplify active tab font changes and expose necessary fields in OsuTabItem
2020-03-26 14:19:36 +01:00
TheWildTree
e85f45f911
Move old ScreenTitle to MultiHeaderTitle
2020-03-24 22:03:16 +01:00
Dan Balasescu
514e72bffb
Merge branch 'master' into update-loader-animation
2020-03-18 11:36:29 +09:00
Dean Herbert
288470c313
Remove exo specification completely
2020-03-13 13:43:48 +09:00
Dean Herbert
ec88f7a712
Update tests and delay push animation until loader is done disappearing
2020-03-11 13:20:31 +09:00
Dean Herbert
4012e878b0
Update loader look
2020-03-11 13:05:33 +09:00
Dean Herbert
ed837d3115
Use framework extension method for FromHex
2020-03-11 10:18:41 +09:00
Dean Herbert
c1ac800473
Merge pull request #8186 from Joehuu/fix-textbox-backspace-animation
...
Fix textbox characters not animating when typing/backspacing
2020-03-09 14:03:33 +09:00
Joehu
3903423a37
Fix textbox characters not animating when typing/backspacing
2020-03-08 19:43:53 -07:00
Dean Herbert
979988235d
Increase flexibility of StarCounter component
2020-03-08 15:56:22 +09:00
Dean Herbert
69b4713731
Refactor everything so I can read the code
2020-03-02 20:16:58 +09:00
smoogipoo
da89798765
Merge remote-tracking branch 'origin/master' into layout-rework
2020-02-26 15:06:40 +09:00
smoogipoo
6c28fd21c7
osu-side changes
2020-02-24 20:52:15 +09:00
Dean Herbert
aaa888a7c1
Adjust spin duration to make rotation more variable
2020-02-23 05:00:38 +09:00
Dean Herbert
8dbcdebd28
Use LoadingLayer at player loading screen
2020-02-23 05:00:08 +09:00
Dean Herbert
e7ac37715f
Don't handle non-positional input
2020-02-21 16:31:16 +09:00
Dean Herbert
dacbbb5eee
Add a maximum size to ensure things don't get out of hand
2020-02-21 16:11:09 +09:00
Dean Herbert
b94f937f7e
Fill in missing xmldoc
2020-02-21 15:35:40 +09:00
Dean Herbert
92f6f0207c
Rename LoadingAnimation to LoadingSpinner
2020-02-21 15:33:31 +09:00
Dean Herbert
623b78d675
Combine all loading animation implementations
2020-02-21 15:32:46 +09:00
Dean Herbert
6c21cc3926
Adjust easing type to match in disposal clause
...
Co-Authored-By: Dan Balasescu <smoogipoo@smgi.me>
2020-02-21 08:55:12 +09:00
Dan Balasescu
7adedcb7b9
Fix typo
...
Co-Authored-By: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2020-02-21 08:34:51 +09:00
Dean Herbert
3380dbbd71
Improve visual appearance of ProcessingOverlay
2020-02-20 19:49:22 +09:00
Andrei Zavatski
b6423dd92e
Small textbox adjustments
2020-02-18 17:40:12 +03:00
Andrei Zavatski
ae942388a2
Move OsuTabDropdown to it's own file
2020-02-17 23:56:35 +03:00
recapitalverb
c753cb46c5
Use [Resolved] wherever possible
2020-02-14 20:14:00 +07:00
Tree
b694b0c90c
Merge branch 'master' into adjust-beatmap-overlay
2020-02-11 21:07:26 +01:00
Dean Herbert
93ff25d2a4
Rename caret class
2020-02-09 15:36:44 +09:00
Dean Herbert
3865090fff
Merge branch 'master' into beat-caret
2020-02-09 14:20:51 +09:00
jorolf
c2e0c83724
change the hierarchy layout
2020-02-08 20:25:16 +01:00
TheWildTree
393b566966
Make PercentageCounter use FormatAccuracy
2020-02-07 22:16:06 +01:00
jorolf
1ba8cc904a
Make the caret blink to the beat
2020-02-07 21:42:47 +01:00
TheWildTree
b28a1d38a6
Simplify GradientLine and fix colour changing
2020-02-04 17:09:18 +01:00
Dan Balasescu
c6e7603e5e
Merge branch 'master' into safe-screen-lease
2020-02-03 18:18:13 +09:00
Dean Herbert
19f516e710
Ensure OsuScreen level leases are taken out synchronously
2020-01-31 19:10:44 +09:00
Andrei Zavatski
3b5b799d60
Adjust height of ShowMore button
2020-01-31 09:51:56 +03:00
smoogipoo
76af8bea5d
Fix percentage-formatted displays containing a space
2020-01-29 19:51:24 +09:00
Dean Herbert
cfc4eaff59
Fix display being incorrect when MaxValue is not 1
2020-01-29 12:50:21 +09:00
unknown
894642d588
add xmldoc and formatting
2020-01-28 18:04:00 +08:00
unknown
a3cfeb08d4
remove unused assignment
2020-01-28 12:34:17 +08:00
unknown
aa264cd2a8
allow tooltip to show as percentage as needed
2020-01-28 12:32:30 +08:00
Dean Herbert
e37ae589ad
Merge branch 'master' into no-control-overlay-headers
2020-01-27 18:35:33 +09:00
smoogipoo
431b1489b9
Add test
2020-01-27 13:16:36 +09:00
Andrei Zavatski
e54ea92c60
Use virtual property for OsuTabControl.AccentColour
2020-01-26 17:21:22 +03:00
Andrei Zavatski
891f9a9b18
Remove unused using
2020-01-26 16:49:39 +03:00
Andrei Zavatski
852e622f02
Fix broken BreadcrumbControl
2020-01-26 13:12:35 +03:00
Andrei Zavatski
e442e8535b
Remake OsuTabControl.AccentColour
2020-01-26 12:57:19 +03:00
Andrei Zavatski
6c1fa05804
Merge remote-tracking branch 'refs/remotes/ppy/master' into no-control-overlay-headers
2020-01-26 12:48:01 +03:00
TheWildTree
d2a032ca8d
Move reverse-order comparer to ChannelTabControl
2020-01-25 22:16:21 +01:00
Andrei Zavatski
738980e3f7
Refactor OsuTabControl.AccentColour
2020-01-24 10:31:47 +03:00
Andrei Zavatski
2b941a0d52
Merge remote-tracking branch 'refs/remotes/ppy/master' into no-control-overlay-headers
2020-01-24 10:18:45 +03:00
Dean Herbert
7c62cc3ac3
Merge remote-tracking branch 'smoogipoo/void-mouse-up-returns' into update-framework
2020-01-22 22:57:52 +09:00
Dean Herbert
5f8ffd9346
Merge remote-tracking branch 'smoogipoo/void-release-returns' into update-framework
2020-01-22 22:57:40 +09:00
Andrei Zavatski
bf2b71f7dd
Cleanup OsuTabControl.AccentColour
2020-01-22 09:36:16 +03:00
smoogipoo
7b2f58eb30
Apply OnRelease method signature refactorings
2020-01-22 13:22:34 +09:00
Andrei Zavatski
30edd80c8c
Refactor OverlayHeader hierarchy
2020-01-21 06:00:12 +03:00
Dean Herbert
740bdee125
Apply remaining uncaught changes
2020-01-20 23:59:21 +09:00
smoogipoo
bfb056c612
Apply input method signature refactorings
2020-01-20 18:17:21 +09:00
Revel
a86fb2113e
fix tooltip capitalization
2020-01-14 14:26:54 -05:00
Dean Herbert
3391e21fc4
Merge pull request #7486 from smoogipoo/update-framework
...
Update framework
2020-01-10 00:28:13 +08:00
Dean Herbert
ffa0cf2d44
Add comment detailing why this is requried
2020-01-09 17:28:48 +08:00
smoogipoo
91735ff367
Update MathUtils namespace usages
2020-01-09 13:43:44 +09:00
Andrei Zavatski
7716a96b28
Allow scrolling through DimmedLoadingLayer
2020-01-06 23:07:58 +03:00
Andrei Zavatski
753db9599a
Move items height out of PageSelector
2020-01-04 22:29:11 +03:00
Andrei Zavatski
d3c2dc43bd
TestScene improvements
2020-01-04 22:25:08 +03:00
Andrei Zavatski
37482b2ad4
CI fixes
2020-01-04 22:05:34 +03:00
Andrei Zavatski
b1c5e437cc
Remove usings
2020-01-04 21:22:45 +03:00
Andrei Zavatski
9af9da039d
Implement proper PageSelectorItem
2020-01-04 21:14:56 +03:00
Andrei Zavatski
70387c19f3
Implement proper DrawablePage component
2020-01-04 19:36:05 +03:00
Andrei Zavatski
6fbbee3093
Move PageSelector to another namespace and organize TestScene
2020-01-04 19:03:39 +03:00
Andrei Zavatski
6eebb11a92
Merge remote-tracking branch 'refs/remotes/ppy/master' into page-selector
2020-01-04 18:48:27 +03:00
Dean Herbert
fe581bf27e
Remove unnecessarily exposed value
2020-01-03 15:35:18 +09:00
Dean Herbert
d1d19c2cd9
Move chevron size implementation
2020-01-02 14:26:40 +09:00
Dean Herbert
546f64f951
Method to property
2020-01-02 14:19:31 +09:00
Dean Herbert
ddbdb02aa4
Merge branch 'master' into overlay-headers-update-three
2019-12-31 22:54:16 +09:00
Joehu
a292d235d6
Separate statement with newline
2019-12-30 09:49:34 -08:00
Joehu
25be3fd799
Move shift-delete handling to switch
2019-12-30 09:38:22 -08:00
Joehu
32e4d4a563
Fix search textboxes absorbing home/end input on scroll containers
2019-12-30 09:29:46 -08:00
Andrei Zavatski
5748b60a06
Make item chevron size virtual
2019-12-30 08:26:49 +03:00
Andrei Zavatski
7af622426a
Make field readonly
2019-12-28 05:11:28 +03:00
Andrei Zavatski
ac2280c4ef
Implement BreadcrumbControlOverlayHeader
2019-12-28 04:57:41 +03:00
Andrei Zavatski
2d167a5161
Some little size adjustments
2019-12-27 05:53:31 +03:00
Andrei Zavatski
3feaaa3e4d
Use FillMode.Fit for icons
2019-12-27 05:37:06 +03:00
Dean Herbert
183307d636
Use circle instead of CircularContainer
2019-12-27 10:53:20 +09:00
Andrei Zavatski
2d32fe08ff
Merge remote-tracking branch 'refs/remotes/ppy/master' into overlay_headers_update
2019-12-26 21:02:14 +03:00
smoogipoo
96a4f9ae53
Fix nub position getting offset by size changes
2019-12-26 15:14:19 +09:00
Andrei Zavatski
bb4d02a1f8
Fix incorrect icon offset
2019-12-25 22:09:14 +03:00
Andrei Zavatski
3e34155114
Update ScreenTitle with the new design
2019-12-25 21:56:43 +03:00
Joseph Madamba
2a5f661408
Merge branch 'master' into allow-ctrl-tabbing-on-more-tab-controls
2019-12-24 08:29:56 -08:00
Dean Herbert
bc75bd34f6
Fix caret width having changed
2019-12-24 18:23:09 +09:00
smoogipoo
0bfd757936
Make OsuTextBox use BasicTextBox
2019-12-24 14:21:16 +09:00
Joehu
119b48ccb0
Remove redundant tab item override
2019-12-21 10:48:11 -08:00
Huo Yaoyuan
c3518a2b94
Enum constraint for enum dropdown.
2019-12-09 17:45:26 +08:00
Dean Herbert
03d18186c2
Fix broken merge
2019-12-09 14:11:44 +09:00
Dean Herbert
680b2653ae
Improve animation of popup dialog buttons
2019-12-06 18:51:30 +09:00
Dean Herbert
2c0694257c
Fix incorrect spritetext usage
2019-12-05 14:44:34 +09:00
Dean Herbert
65201cf635
Merge branch 'master' into page-selector
2019-12-05 14:31:19 +09:00
Huo Yaoyuan
46c9bdcf62
Replace Convert.ChangeType with IConvertible.
2019-12-03 20:49:41 +08:00
recapitalverb
1ec11946c6
Fix spelling in comment on SearchTextBox.OnPressed
2019-12-02 18:45:57 +07:00
Min
92ab8026a0
Completely remove click sound debounce
2019-11-28 16:03:59 +11: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
Huo Yaoyuan
c0fe91a84c
Merge branch 'master' into sharpen
2019-11-26 18:21:50 +08:00
Dean Herbert
36cabe72cf
Make DimmedLoadingLayer block input when active
2019-11-25 11:49:54 +09:00
Huo Yaoyuan
818553027b
Merge branch 'master' into sharpen
2019-11-21 23:42:46 +08: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
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
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
6980f488dc
Make OsuButton correctly block hover events
2019-10-28 16:24:07 +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
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
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
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
45f833ceea
Add invocation null checks for safety
2019-09-25 22:14:42 +09:00
Dean Herbert
654b815b36
Merge remote-tracking branch 'upstream/master' into back-button-part-2
2019-09-25 14:38:39 +09:00
Andrei Zavatski
708dfa2bdc
Merge remote-tracking branch 'refs/remotes/ppy/master' into page-selector
2019-09-19 16:37:51 +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
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
Andrei Zavatski
eb683b079b
Adjust colours
2019-09-10 05:12:50 +03: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
Andrei Zavatski
bee7760d29
Make MaxPages value a bindable
2019-09-10 01:36:25 +03:00
Andrei Zavatski
0451b45fab
Add missing blank line
2019-09-08 00:37:11 +03:00
Andrei Zavatski
b97f4a81db
Add more testing
2019-09-08 00:27:40 +03:00
Andrei Zavatski
b0884d16fb
Visual adjustments
2019-09-08 00:13:23 +03:00
Andrei Zavatski
df29465ba4
Implement a single PageItem component
2019-09-07 23:42:30 +03:00
Andrei Zavatski
ec8298ac53
Simplify redraw function
2019-09-07 22:33:26 +03:00
Andrei Zavatski
ba18f77b62
Use OsuHoverContainer for prev/next buttons
2019-09-07 22:31:08 +03:00
Andrei Zavatski
9bd4220e9f
Add prev/next buttons
2019-09-07 09:20:11 +03:00
Andrei Zavatski
cea26baaef
Implement placeholder and correct redraw algorithm
2019-09-07 08:46:16 +03:00
Andrei Zavatski
f77cd6582d
Implement CurrentPage class
2019-09-07 08:20:09 +03:00
Andrei Zavatski
508b26ac69
Implement basic layout
2019-09-07 07:31:07 +03: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
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
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
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
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
Dean Herbert
6ed9c983ff
Rename shear variable
2019-08-07 12:36:00 +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
David Zhao
6d1203a599
Move screen pushes into function, rename receptor
2019-07-30 12:00:04 +09:00
David Zhao
e8c039bb8a
Use a receptor model instead
2019-07-29 18:45:16 +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
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
David Zhao
e628e44d8e
update comment
2019-07-23 13:25:03 +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
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
23acddcb56
Rename download buttons to avoid ambiguity
2019-07-03 12:02:35 +09:00
naoey
ee516d2515
Make direct panel download and replay buttons share UI
2019-07-02 15:55:30 +05:30
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