Commit Graph

39168 Commits

Author SHA1 Message Date
0a895fff15 Remove remaining test usage of SkinnableXXX HUD components 2021-05-12 18:53:25 +09:00
494a1b01a5 Move SkinnableElementTargetContainer out of HUD namespace 2021-05-12 15:59:33 +09:00
29e6f6b6b6 Remove public prefixes from interface type and add Components list for future use 2021-05-12 15:58:21 +09:00
96d4011de2 Use pattern matching to tidy up instance construction 2021-05-12 14:02:24 +09:00
4aad7b96ea Merge branch 'health-bar-hud-overlay-dependency' into skin-serialisation 2021-05-12 12:54:37 +09:00
184dbaf202 Improve safety of bindings in HealthDisplay 2021-05-12 12:53:30 +09:00
461b633148 Merge branch 'skin-instantiation-info' into skin-serialisation 2021-05-12 00:03:07 +09:00
5d45c8c1c7 Merge branch 'health-bar-hud-overlay-dependency' into skin-serialisation 2021-05-11 23:56:09 +09:00
7d2fdcc3fe Merge branch 'health-display-composite' into skin-serialisation 2021-05-11 23:54:05 +09: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
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
61ea3f2e64 Remove unnecessary test step creating needless skins 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
4be15cfc5a Merge pull request #12636 from peppy/skin-components-list
Add initial implementation of skin editor component list
2021-05-11 18:03:28 +09:00
7d9cdd3bc2 Merge branch 'master' into skin-components-list 2021-05-11 17:27:48 +09:00