54e1b24fe9
Enforce readonly private members where possible.
2017-03-23 13:50:08 +09:00
9af0104e3e
Fix NaN when dragging music controller
...
When dragging music controller we divide by the dragged distance.
When dragging to the origin of the drag this resulted in NaN.
Now, we check for this and use 0 in this case.
2017-03-18 12:46:12 +01:00
3913a0a9ee
Fix removal of the last one beatmap.
2017-03-14 05:35:58 +08:00
d7497330b2
Reduce warning/suggestion count to zero.
2017-03-09 15:52:40 +09:00
0cad5d7d41
Fix most warnings.
2017-03-07 13:05:57 +09:00
73fef85b12
Remove unnecessary usings
2017-03-04 19:43:59 +01:00
a14bdf8624
Use Color4Extensions from Framework and remove redundant Name
2017-03-04 19:42:37 +01:00
3487dfe236
Removed unused variables and parameters
2017-02-27 17:32:32 +03:00
686372a7f9
Update with framework structural changes.
2017-02-26 20:54:32 +09:00
1585ae842a
Update framework
2017-02-26 11:22:58 +09:00
6c3bda18b6
Add beatmap deletion support.
...
Note that this is a very naive approach and will result in file access exceptions. This will be fixed in a further commit.
2017-02-24 14:37:54 +09:00
c5552dfb27
Merge remote-tracking branch 'upstream/master' into remove-usings
2017-02-24 11:29:34 +09:00
2689de0c0c
Update framework and add "Async" suffix to asynchronous methods
2017-02-23 22:32:10 +01:00
a5dfa7ab06
Remove unnecessary using statements
2017-02-23 21:38:10 +01:00
da2bfe6d3c
Framework updates.
2017-02-23 16:42:12 +09:00
2c4ecb990d
Remove line break in MusicController
2017-02-11 16:23:15 +01:00
b7fd65070e
Merge pull request #335 from peppy/overlay-improvements
...
Overlay improvements
2017-02-09 08:43:58 +01:00
23bc84fa3c
Fix borked header.
2017-02-09 16:38:39 +09:00
30bec0876d
Make MusicController a focused overlay.
2017-02-09 13:57:49 +09:00
581ec765fb
Improve transitions of MusicController.
2017-02-09 13:57:47 +09:00
18bb61897f
Update overlay containers in lines with framework changes.
...
Allows closing the MusicController using escape.
2017-02-09 13:57:44 +09:00
f6956fc51c
Fix MusicController doing work in the background when not visible.
2017-02-09 11:36:45 +09:00
50bd80cb0c
Update and standardise license headers.
2017-02-07 14:27:41 +09:00
6b66ecc131
Global shadows and more sane font size setting.
2017-01-31 18:53:52 +09:00
74366c620b
Move login screen to toolbar and update design (still not fully implemented).
...
# Conflicts:
# osu.Game/Overlays/Options/General/LoginOptions.cs
# osu.Game/Overlays/Toolbar/Toolbar.cs
2017-01-30 22:55:35 +09:00
cbd6fe3f36
Move definition of MusicController's position out of itself.
2017-01-30 22:54:33 +09:00
1853bbdda8
Move window/volume configuration to framework level.
2017-01-25 18:44:51 +09:00
f5f545df62
Refactor OsuColour into injected instance class
...
Which should allow you to change the color palette in the future for
skinning purposes.
2017-01-12 23:49:05 -05:00
fa007e632d
Refactor colors to palette based design
2017-01-12 16:38:27 -05:00
c222be05c0
Add Color4.Opacity and OsuColor.Gray
2017-01-10 13:44:40 -05:00
70ecf48ca7
Add central color class
...
I didn't move _every_ color here, but most of them. The ones I left
behind are mostly just shades of gray.
Closes #126
2017-01-09 17:20:31 -05:00
6690d1bd72
Move logic into updateDisplay.
2017-01-04 02:12:18 +08:00
794e4663d8
Fix PreferUnicode changing when nothing to play.
2017-01-04 01:00:08 +08:00
3a4fb2ffed
IsEnabled property for drag bar of music controller.
2016-12-01 08:20:24 +08:00
b12b82fdd3
Fix depth values.
2016-11-29 20:50:12 +01:00
60d939f323
Use FillMode in more cases.
2016-11-23 13:18:22 +09:00
3bc38268a0
Make MusicController more async.
2016-11-22 20:47:28 +09:00
1f73bb4cf0
Set drag bar to correct orange.
2016-11-15 19:34:55 +09:00
c860eb25f9
Migrate to new anchor system without x/y reversal.
2016-11-14 17:22:20 +01:00
dde3a68c8f
Account for anchor when dragging MusicController (fixes VisualTest).
2016-11-14 16:40:13 +09:00
eb32d842cc
Use switch instead of if-else.
2016-11-14 16:10:07 +09:00
86a6c7641d
Make TransformDirection more clear.
2016-11-14 04:59:41 +08:00
afab938794
Strongly typed TransformDirection for music controller.
2016-11-14 03:21:07 +08:00
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
3b99a8fd06
Add a shadow and bit of elasticity to MusicController.
2016-11-12 17:09:58 +09:00
b65eb33774
Fix weird artifacting when the MusicController fades in and out by using a buffered container.
2016-11-12 16:44:31 +09:00
d49b418449
Implement ShowUnicode option behavior
2016-11-10 21:35:58 -05:00
0d4560a054
Update to latest DI stuff
2016-11-10 17:40:42 -05:00
ef5968e243
More robust metadata handling.
2016-11-07 23:12:49 +08:00
fd977cacb3
Fix corner case when shuffling.
2016-11-07 23:06:14 +08:00