Dean Herbert
06f4f93918
Move play modes to Modes namespace.
2016-11-14 18:03:20 +09:00
Dean Herbert
0f4538f69f
Rename GameModes namespace to Screens.
2016-11-14 17:23:33 +09:00
Dean Herbert
dde3a68c8f
Account for anchor when dragging MusicController (fixes VisualTest).
2016-11-14 16:40:13 +09:00
Dean Herbert
1d51e6af2a
Merge pull request #168 from huoyaoyuan/fixes
...
Fixes for music controller
2016-11-14 16:11:31 +09:00
Dean Herbert
eb32d842cc
Use switch instead of if-else.
2016-11-14 16:10:07 +09:00
Dean Herbert
57c4314cae
Merge remote-tracking branch 'refs/remotes/upstream/master' into options-improvements
2016-11-14 16:00:06 +09:00
Dean Herbert
c37afd7a81
Merge pull request #166 from Tom94/various-improvements
...
Various improvements
2016-11-14 15:59:17 +09:00
Huo Yaoyuan
86a6c7641d
Make TransformDirection more clear.
2016-11-14 04:59:41 +08:00
Huo Yaoyuan
afab938794
Strongly typed TransformDirection for music controller.
2016-11-14 03:21:07 +08:00
Thomas Müller
ac99e2d488
Avoid using load to construct the drawable hierarchy whereever possible.
2016-11-12 18:34:36 +01:00
Dean Herbert
75be78752b
Merge remote-tracking branch 'refs/remotes/upstream/master' into options-sidebar-tracking
...
# Conflicts:
# osu.Game/osu.Game.csproj
2016-11-12 22:30:15 +09:00
Thomas Müller
6355c8bd45
Hide scrolldragger in options.
2016-11-12 13:10:53 +01:00
Thomas Müller
1c47773e0d
Make sidebar behaviour feel a bit nicer.
2016-11-12 13:08:34 +01:00
Thomas Müller
e923da1998
Fix lastKnownScroll never being written to.
2016-11-12 12:30:12 +01:00
Thomas Müller
98b69bc6c6
Merge branch 'master' of github.com:ppy/osu into SirCmpwn/options-sidebar-tracking
...
# Conflicts:
# osu.Game/osu.Game.csproj
2016-11-12 12:24:02 +01:00
Dean Herbert
cc0f61f545
Merge branch 'refs/heads/master' into dependency-injection
...
# Conflicts:
# osu-framework
# osu.Game/GameModes/OsuGameMode.cs
# osu.Game/GameModes/Play/Player.cs
# osu.Game/OsuGame.cs
# osu.Game/Overlays/MusicController.cs
# osu.Game/Overlays/Options/EditorSection.cs
# osu.Game/Overlays/Options/Input/MouseOptions.cs
# osu.Game/Overlays/Options/Online/InGameChatOptions.cs
# osu.Game/Overlays/Options/SkinSection.cs
2016-11-12 20:18:26 +09:00
Dean Herbert
3b99a8fd06
Add a shadow and bit of elasticity to MusicController.
2016-11-12 17:09:58 +09:00
Dean Herbert
b65eb33774
Fix weird artifacting when the MusicController fades in and out by using a buffered container.
2016-11-12 16:44:31 +09:00
Dean Herbert
8d56a881d0
Merge pull request #157 from SirCmpwn/string-options
...
Add TextBoxOption and wire it up
2016-11-12 16:11:09 +09:00
Dean Herbert
12bc259071
Merge pull request #158 from SirCmpwn/implement-options
...
Implement ShowUnicode option behavior
2016-11-12 16:10:27 +09:00
Dean Herbert
a39d28efe2
Merge pull request #159 from SirCmpwn/platform-options
...
Remove certain options when not running on Windows
2016-11-12 16:05:47 +09:00
Drew DeVault
00cc4278da
Split off SidebarButton
2016-11-12 01:53:20 -05:00
Drew DeVault
a8bba445db
Move scroll logic into Update
2016-11-12 01:44:26 -05:00
Drew DeVault
32196c57af
Track the visible section in options
2016-11-12 01:44:11 -05:00
Dean Herbert
ff67b77c5b
Merge pull request #154 from peppy/sidebar-toolbar-coexistence
...
Make options overlay coexist with toolbar.
2016-11-11 13:34:08 +09:00
Dean Herbert
27542d9747
Merge pull request #151 from SirCmpwn/options-sidebar
...
Expand the options sidebar on hover
2016-11-11 13:33:10 +09:00
Dean Herbert
a0e1513df6
Merge branch 'refs/heads/master' into sidebar-toolbar-coexistence
...
# Conflicts:
# osu.Game/OsuGame.cs
2016-11-11 13:30:57 +09:00
Drew DeVault
d36c8e9203
Remove certain options when not running on Windows
2016-11-10 21:54:01 -05:00
Drew DeVault
d49b418449
Implement ShowUnicode option behavior
2016-11-10 21:35:58 -05:00
Drew DeVault
e2365cfad2
s/internalText/InternalText/g
2016-11-10 18:25:20 -05:00
Drew DeVault
a81f099d40
Add TextBoxOption and wire it up
2016-11-10 18:17:15 -05:00
Drew DeVault
0d4560a054
Update to latest DI stuff
2016-11-10 17:40:42 -05:00
Drew DeVault
ee24cd310c
Convert everything to DI pattern
2016-11-10 16:41:18 -05:00
Dean Herbert
788c11de10
Merge pull request #103 from huoyaoyuan/music-controller
...
Music controller
2016-11-10 12:54:56 +09:00
Dean Herbert
904d258dc3
Fix checkbox not updating correctly.
2016-11-09 20:13:13 +09:00
Dean Herbert
a5dcae859c
Give OptionsOverlay an offset to make up for toolbar possibly being present.
2016-11-09 15:24:27 +09:00
Dean Herbert
9d1d5a5cea
Modify toolbar tooltips to be closer to design.
2016-11-09 15:24:19 +09:00
Drew DeVault
676cdc44b2
Add expanding options sidebar
2016-11-08 23:36:06 -05:00
Drew DeVault
3ad633f363
Wire up all of the boolean options
2016-11-08 23:17:08 -05:00
Dean Herbert
04fa1f897e
Use margin instead of padding so mouseDown events on the sidebar buttons don't interrupt scrolling.
2016-11-09 12:32:38 +09:00
Dean Herbert
d41d7b8e9a
Don't derive ScrollContainer unnecessarily.
2016-11-09 12:10:22 +09:00
Dean Herbert
d70e8806b4
Merge remote-tracking branch 'refs/remotes/upstream/master' into options-fixes
2016-11-09 11:41:36 +09:00
Dean Herbert
28a94e2df1
Remove unused constant.
2016-11-08 20:35:21 +09:00
Dean Herbert
3ef26a6bf0
Fix paddings, transitions, const variable names.
2016-11-08 20:23:18 +09:00
Dean Herbert
89b11ed099
Handle sidebar buttons onClick not onMouseDown.
2016-11-08 19:18:31 +09:00
Dean Herbert
8c68f9ba93
OptionsSideNav -> OptionsSidebar.
2016-11-08 19:17:09 +09:00
Dean Herbert
3b0114671e
Max sidebar draggable.
2016-11-08 19:16:39 +09:00
Dean Herbert
30323876a8
Use preload for options (fix icons).
2016-11-08 18:49:20 +09:00
Dean Herbert
a851d7b44f
Updates.
2016-11-08 18:33:31 +09:00
Dean Herbert
c36b54b35a
Merge remote-tracking branch 'refs/remotes/upstream/master' into generic-container
2016-11-08 18:29:21 +09:00
Drew DeVault
743c1bde58
Wire up alternative chat font
2016-11-07 22:37:21 -05:00
Drew DeVault
1bca78f4b6
Wire up one of the settings to the config
...
One step at a time, right
2016-11-07 22:36:24 -05:00
Drew DeVault
fbbd05e606
Remove unnecessary TODO
2016-11-07 22:28:02 -05:00
Drew DeVault
a6593505b3
Say NO to RelativeSizeAxes = Both
2016-11-07 22:19:02 -05:00
Drew DeVault
4d04eb6fb1
Rearrange some options a bit, update framework
2016-11-07 22:15:48 -05:00
Drew DeVault
cbbac0565f
Remove unused using statements
2016-11-07 21:28:06 -05:00
Drew DeVault
1ce6a7285a
Rearrange options namespaces
2016-11-07 21:24:41 -05:00
Drew DeVault
b2bbdfa284
Refactor how the sidebar buttons are created/used
2016-11-07 18:04:49 -05:00
Drew DeVault
e6c3fc1091
Implement scrolling to each section
2016-11-07 17:07:55 -05:00
Huo Yaoyuan
ef5968e243
More robust metadata handling.
2016-11-07 23:12:49 +08:00
Huo Yaoyuan
fd977cacb3
Fix corner case when shuffling.
2016-11-07 23:06:14 +08:00
Huo Yaoyuan
02b903f1ea
Shuffle playlist.
2016-11-07 22:12:58 +08:00
Huo Yaoyuan
dc347a74f5
Don't play transition if audio equals.
2016-11-07 21:58:30 +08:00
Huo Yaoyuan
c59cad2478
AudioEquals method for BeatmapInfo.
2016-11-07 21:52:23 +08:00
Huo Yaoyuan
d1f64cfbfc
Make external changes into history.
2016-11-07 21:30:25 +08:00
Huo Yaoyuan
ad1dccf6ce
Use play history for back and forward.
2016-11-07 21:25:37 +08:00
Huo Yaoyuan
644e337cf6
Add a list for play history.
2016-11-07 20:57:33 +08:00
Dean Herbert
d57d5daac9
Support generic FlowContainer.
2016-11-07 21:17:29 +09:00
Dean Herbert
a61fb5ef5d
Initial updates to make generic containers work.
2016-11-07 21:13:56 +09:00
Huo Yaoyuan
c272041f37
Block click and drag at MusicController level.
2016-11-07 20:07:45 +08:00
Huo Yaoyuan
736079a60d
Update FontAwesome usage.
2016-11-07 19:00:20 +08:00
Huo Yaoyuan
8037f1233f
Merge branch 'master'
2016-11-07 18:58:35 +08:00
Dean Herbert
f14a35d480
Update FontAwesome definitions.
2016-11-07 17:59:00 +09:00
Huo Yaoyuan
c8a7bd2ece
Minor implementation changes.
2016-11-06 16:47:37 +08:00
Huo Yaoyuan
000c2218b8
Make background update happens in update thread, and thread-safer.
2016-11-06 16:34:47 +08:00
Thomas Müller
8894e5f73a
Fade the options overlay to prevent unnecessary updates to its content.
2016-11-06 08:54:36 +01:00
Huo Yaoyuan
d63e3b6724
Add fallback texture of beatmap when getting null;
2016-11-06 05:37:55 +08:00
Huo Yaoyuan
0c6825bb20
Adjust visual behavior.
2016-11-06 05:35:35 +08:00
Huo Yaoyuan
c53298a3b1
Update font size (*1.25) to follow the design image.
2016-11-06 01:53:10 +08:00
Huo Yaoyuan
74000f77ad
Set font in music controller.
2016-11-06 01:50:38 +08:00
Huo Yaoyuan
a19bb1270d
Async workflow on music controller.
2016-11-06 00:46:09 +08:00
Huo Yaoyuan
859a59a8ab
Set children in constructor.
2016-11-06 00:24:03 +08:00
Huo Yaoyuan
5eed07db57
Update access of WorkingBeatmap.
2016-11-06 00:13:45 +08:00
Huo Yaoyuan
c470140d64
Merge branch 'master'
2016-11-06 00:11:30 +08:00
Dean Herbert
2ee5e2efb7
Bring framework up-to-date.
...
# Conflicts:
# osu-framework
2016-11-05 18:18:52 +09:00
Huo Yaoyuan
2d86cb1e81
Merge branch 'master'
2016-11-05 16:21:59 +08:00
Dean Herbert
10e5472624
Block mouse events from hitting things behind options.
2016-11-04 12:29:05 +09:00
Dean Herbert
2135b93791
Make options semi-transparent.
2016-11-04 12:28:00 +09:00
Dean Herbert
f3d461e318
Fix some events not firing correctly.
2016-11-04 12:27:43 +09:00
Drew DeVault
408173319b
Refactor options header and layout stuff
2016-11-03 23:01:11 -04:00
Drew DeVault
cb40b7079f
Rework how references are passed about
2016-11-03 22:43:00 -04:00
Drew DeVault
af8e4415c3
Split out [Sub]sections into seperate files
2016-11-03 19:06:22 -04:00
Drew DeVault
1d8c6db0a7
Add remaining options
2016-11-03 19:06:22 -04:00
Drew DeVault
c7fa0a5ab0
Add more options
2016-11-03 19:06:22 -04:00
Drew DeVault
7e77efcfdc
Add Graphics options
2016-11-03 19:06:22 -04:00
Drew DeVault
6c0cef894e
Add OsuButton with sane defaults
2016-11-03 19:06:22 -04:00
Drew DeVault
2aa85a4b18
Split up options into subclasses
2016-11-03 19:06:22 -04:00
Drew DeVault
2f990b884e
Tweak style to more closely match osu!next
2016-11-03 19:06:22 -04:00
Drew DeVault
dd0cb5da01
Add options from old osu
2016-11-03 19:06:22 -04:00
Drew DeVault
9f78f8607b
Implement General options section
2016-11-03 19:06:22 -04:00
Huo Yaoyuan
f2a8cc0c29
Merge branch 'master'
2016-11-03 20:38:34 +08:00
Dean Herbert
774b47c1fe
Don't cache drawable for no reason.
2016-11-02 00:53:13 +09:00
Dean Herbert
b86f308af6
Add async workflow.
2016-11-01 23:24:14 +09:00
Huo Yaoyuan
f1837b4822
Fix changed event and no longer auto play on load.
2016-10-28 21:57:23 +08:00
Huo Yaoyuan
7543d491ae
Add music controller into game.
2016-10-28 21:21:47 +08:00
Huo Yaoyuan
3858c77817
No longer holds OsuGame reference.
2016-10-28 20:47:27 +08:00
Huo Yaoyuan
9b76110605
Interaction with external changes.
2016-10-28 20:44:59 +08:00
Huo Yaoyuan
36cefcb956
Fix to work individually.
2016-10-28 20:34:22 +08:00
Huo Yaoyuan
aa107de162
Store a local copy of WorkingBeatmap.
2016-10-28 20:27:44 +08:00
Huo Yaoyuan
7d14e6e6cf
Make prev and next work again.
2016-10-28 20:08:27 +08:00
Huo Yaoyuan
7d6e4a8ad2
Make music controller uses WorkingBeatmap.
2016-10-28 19:39:02 +08:00
Huo Yaoyuan
eab8caaa0c
Ensure track is playing after seek.
2016-10-27 19:51:38 +08:00
Huo Yaoyuan
73d1eeb272
Update MusicController using DragBar.
2016-10-27 18:15:43 +08:00
Huo Yaoyuan
35b1d0ae50
Seperated DragBar class.
2016-10-27 18:14:50 +08:00
Huo Yaoyuan
9c2d3990ce
Add spacing in code.
2016-10-27 17:04:41 +08:00
Huo Yaoyuan
3e30935d10
Allow to set database of music controller.
2016-10-27 16:58:40 +08:00
Huo Yaoyuan
6482184a09
Dispose ArchiveReader.
2016-10-27 13:34:54 +08:00
Huo Yaoyuan
fead1d4c6f
Seek by clicking and dragging on progress bar.
2016-10-27 13:34:53 +08:00
Huo Yaoyuan
d9fc04748e
Remove redundant class.
2016-10-27 13:34:52 +08:00
Huo Yaoyuan
0da78c19a2
TestCase reset.
2016-10-27 13:34:51 +08:00
Huo Yaoyuan
b671a33911
Transition fixes and clock for VisualTest.
2016-10-27 13:34:51 +08:00
Huo Yaoyuan
8e766a1f47
Show playing progress.
2016-10-27 13:34:50 +08:00
Huo Yaoyuan
1a3a5c544d
Button behavior fixes.
2016-10-27 13:34:49 +08:00
Huo Yaoyuan
a32f9eed51
Play control.
2016-10-27 13:34:48 +08:00
Huo Yaoyuan
d2495e34fb
Query from beatmap database.
2016-10-27 13:34:47 +08:00
Huo Yaoyuan
303bd41765
Background scale.
2016-10-27 13:34:46 +08:00
Huo Yaoyuan
b0d72c5f84
Button and text.
2016-10-27 13:34:45 +08:00
Huo Yaoyuan
0f2b5e8370
Layers.
2016-10-27 13:34:44 +08:00
Huo Yaoyuan
e1f6ab1a42
Create MusicController UI class and visual test.
2016-10-27 13:34:43 +08:00
Dean Herbert
28a41dcca6
Fix FlowContainers.
2016-10-22 18:05:46 +09:00
Dean Herbert
cdef75c98b
Fix AutoSize references.
2016-10-22 17:50:42 +09:00
Thomas Müller
68476eafb9
Use DrawSize instead of Size whereever Size was previously read due to framework changes.
...
Note, that this was just stupid replacement. Many components will likely want to actually read Size and not DrawSize. We may want to do a pass over this at some point, but for now everything is working like this. (Old behavior.)
2016-10-18 18:53:31 +02:00
Lunar Dust
8e47d72f93
Reorder ToolbarButton instantiation for consistency
...
Might as start good standards now rather than later
2016-10-16 18:42:40 -05:00
Thomas Müller
fec127eb8c
Merge branch 'master' of github.com:ppy/osu into unified_shader
...
# Conflicts:
# osu-framework
# osu.Game/Overlays/Options.cs
2016-10-16 15:17:24 +02:00
Thomas Müller
7751a85e14
Update framework.
2016-10-16 14:10:06 +02:00
Huo Yaoyuan
f4c381f745
Use OverlayContainer in framework.
2016-10-16 17:14:17 +08:00
Dean Herbert
8c7ff58310
Fix regressions caused by overlay class.
2016-10-14 12:50:03 +09:00
Huo Yaoyuan
254cc87578
Use name ToggleVisibility.
2016-10-14 05:02:13 +08:00
Huo Yaoyuan
1c97edaac2
Base class for overlays.
2016-10-13 23:04:57 +08:00
Huo Yaoyuan
c93a440d3b
Make Options:IStateful.
2016-10-13 22:27:37 +08:00
Huo Yaoyuan
acd54d1ebc
Single Visibility enum type.
2016-10-13 22:22:27 +08:00
Dean Herbert
aa96d98822
Merge branch 'master' into limit-game-access
...
Conflicts:
osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs
osu.Game/GameModes/Menu/ButtonSystem.cs
osu.Game/Online/Chat/Display/ChatLine.cs
osu.Game/OsuGame.cs
osu.Game/Overlays/ToolbarButton.cs
2016-10-12 20:44:33 +09:00
Dean Herbert
b2c31d3047
Updates post-master-merge.
2016-10-12 16:01:23 +09:00
Dean Herbert
4052a665bf
Remove all non-load Game access.
2016-10-12 15:47:08 +09:00
Dean Herbert
24771a62cf
Remove upwards reference.
2016-10-12 15:23:22 +09:00
Dean Herbert
9276244d6a
getter on single line.
2016-10-12 15:22:03 +09:00
Dean Herbert
05031d18ef
Fix some display regressions in ChatConsole.
2016-10-12 13:35:21 +09:00
Dean Herbert
c0ea061bd4
Update framework; amend ToolbarButton to use padding and Children initialiser.
2016-10-12 12:24:07 +09:00
Dean Herbert
cb5e4287e2
Post-merge fixes.
2016-10-09 22:21:44 +09:00
Dean Herbert
926c46dbd4
Code formatting and slight changes to transitions.
2016-10-08 23:27:53 +09:00