Commit Graph

24836 Commits

Author SHA1 Message Date
75adec57eb Remove negligible default hidden TODO 2021-05-12 01:31:16 +02:00
ad78aec1ef Refresh IssueList on changes in VisibilitySection 2021-05-12 01:30:45 +02:00
1bb7d412da Add IssueList filtering based on those bindables 2021-05-12 01:29:46 +02:00
2e4399f0c1 Add VisibilitySection and its bindables in IssueList 2021-05-12 01:27:21 +02:00
01b8794757 Add abstract Section class
Similar to `Section` in the timing screen, but does not make use of checkboxes, nor specific to control points.

So there's a lot of things that differ, hence new class instead of factoring that out.
2021-05-12 01:26:12 +02:00
1de35f880b Separate IssueList into own class 2021-05-12 01:23:31 +02:00
d3c1ec55ee Take IssueList in IssueSettings constructor
We'll be using this for bindables later.
2021-05-12 01:22:32 +02:00
97bd482d4d Factor out load from settings into new Settings class 2021-05-12 01:21:38 +02:00
77e422409c Add SkinInfo.InstantiationInfo to allow creating different skin types 2021-05-11 23:37:06 +09:00
8e226319e2 Remove downwards dependency from HUDOverlay to HealthDisplay 2021-05-11 23:18:23 +09:00
048677846b Change HealthDisplay to be a CompositeDrawable 2021-05-11 23:10:30 +09:00
9ad1e5067e Fix spectate being entered while not having the beatmap 2021-05-11 19:22:09 +09:00
811282a975 Add failing test 2021-05-11 19:01:41 +09:00
1231c08a07 Rename mismatching file 2021-05-11 18:58:26 +09:00
4bb933e4b1 Add missing base lookup call to DefaultSkin 2021-05-11 18:55:45 +09:00
f55407f871 Show a message when attempting to customisse a screen which doesn't support it 2021-05-11 18:39:15 +09:00
6d587dc392 Adjust target size slightly to better align with the screen 2021-05-11 18:39:15 +09:00
1831f581aa Add basic metadata display and remove outdated message about not saving 2021-05-11 18:39:15 +09:00
a4e0529617 Replace polling logic with direct bindable reactions 2021-05-11 18:39:15 +09:00
a88a8b7d8d Use ISkinnableComponent wherever possible (and expose as BindableList) 2021-05-11 18:39:15 +09:00
a7e83aacfb Ensure default skins are copied before modifying 2021-05-11 18:39:15 +09:00
a67cead0b3 Add SkinInfo.InstantiationInfo to allow creating different skin types 2021-05-11 18:39:15 +09:00
f6f4b90d2b Add customisation support for LegacyHealthDisplay 2021-05-11 18:39:14 +09:00
0cf3efa16b Remove customisation support for SongProgressDisplay 2021-05-11 18:39:14 +09:00
d5fe4f0f72 Remove unused skin resolution in LegacyScoreCounter 2021-05-11 18:39:14 +09:00
03d5f10744 Fix default health bar not being considered for top-right flow layout 2021-05-11 18:39:14 +09:00
944f09ec98 Move default skin cross-component dependencies out to default specifications 2021-05-11 18:39:14 +09:00
12684de66e Add ability to adjust origin in skin editor 2021-05-11 18:39:14 +09:00
c94df672e5 Also serialise Origin out 2021-05-11 18:39:14 +09:00
f53ce951dc Remove DefaultScoreCounter animation for the time being
May add this back in the future, but for now it's causing issues as it
operates on `this`. The default skin may be changing quite a bit in the
near future, so we can decide what to do about animation at that point
in time.
2021-05-11 18:39:14 +09:00
117d6d731d Move cross-component layout dependencies for legacy skin to LegacySkin 2021-05-11 18:39:14 +09:00
4c4d75e6f9 Remove AccuracyCounter sizing dependency in HUDOverlay 2021-05-11 18:39:14 +09:00
2396ba42a6 Change HealthDisplay to be a CompositeDrawable 2021-05-11 18:39:14 +09:00
bf65547eec Allow some serialised components to not be mutable by the user 2021-05-11 18:39:14 +09:00
81902ad6a6 Add the ability to revert all skin changes 2021-05-11 18:39:14 +09:00
4769a95b49 Fix encapsulation and remove target lookup overhead 2021-05-11 18:39:14 +09:00
c957293ec3 Load json from disk store at skin construction for now
This allows for easier mutation without worrying about changes being
re-read from disk unexpectedly.
2021-05-11 18:39:14 +09:00
1bb3c609ae Centralise implementation of cancel button logic 2021-05-11 18:39:14 +09:00
b248b2e5e3 Hook up full save/load flow 2021-05-11 18:39:14 +09:00
004798d61d Update Legacy components to not require skin in ctor 2021-05-11 18:39:14 +09:00
b54eb56169 Move new judgement binding to LoadComplete to ensure containers are loaded 2021-05-11 18:39:14 +09:00
6a88b8888b Add basic support for child serialisation 2021-05-11 18:39:14 +09:00
1742ee89e0 Fix incorrect xmldoc for DeleteFile 2021-05-11 18:39:14 +09:00
df72656aa1 Remove downwards dependency from HUDOverlay to HealthDisplay 2021-05-11 18:39:14 +09:00
95a497e9df Remove unused interface class for simplicity 2021-05-11 18:39:14 +09:00
95a8f21ab2 Add the concept of skinnable target containers and mark a basic one for HUD elements 2021-05-11 18:39:14 +09:00
67ea4a7e97 Read from skin config 2021-05-11 18:39:14 +09:00
b9ab9342fa Setup basics to allow extracting serializable content from skinnable Drawables 2021-05-11 18:39:14 +09:00
10a4a5decb Merge branch 'master' into multiplayer-spectator-screen 2021-05-11 17:33:09 +09:00
7d9cdd3bc2 Merge branch 'master' into skin-components-list 2021-05-11 17:27:48 +09:00