osu/osu.Game.Rulesets.Osu/Objects/Drawables
smoogipoo 6d4f94756e Rewrite the way drag + click selections happen
The general idea here is that we need the masks to handle mouse down events, as they need to handle the drag (mousedown -> drag immediately).

I've rewritten the editor selections to use events, as there are some 3 different components that handle/trigger selections in different ways.

1. All selections/deselections now propagate through `HitObjectMask.Select()`/`HitObjectMask.Deselect()`.
2. Components that react to changes in the selection bind to the masks' `Selected`/`Deselected` events, and track them/change their states locally.
3. Masks provide a `SingleSelectionRequested` event which is invoked on the mouse-down event. Various components bind to this event to perform state changes locally in this scenario.
4. `DragBox` now handles all drag input locally. It triggers `Select`/`Deselect` on the masks it needs to.
5. `SelectionBox` handles the display of itself locally.
6. `SelectionBox` handles movement of groups of masks locally.
7. `HitObjectMasks` handles movement of itself locally.
2018-03-29 22:07:23 +09:00
..
Connections Merge remote-tracking branch 'upstream/master' into approach-rate 2018-01-12 18:05:16 +09:00
Pieces Merge branch 'master' into skin--completion 2018-03-22 16:44:00 +09:00
DrawableHitCircle.cs Move combo colours completely out of HitObjects 2018-03-20 15:50:12 +09:00
DrawableOsuHitObject.cs Move AccentColour changes local to rulesets which rely on it 2018-03-22 18:53:16 +09:00
DrawableOsuJudgement.cs Merge branch 'master' into more-skinning 2018-03-12 11:55:50 +09:00
DrawableRepeatPoint.cs Make DrawableHitObject a CompositeDrawable 2018-03-15 13:41:06 +09:00
DrawableSlider.cs Rewrite the way drag + click selections happen 2018-03-29 22:07:23 +09:00
DrawableSliderHead.cs Split out the slider head into a separate drawable hitobject 2018-03-10 01:13:59 +09:00
DrawableSliderTail.cs Split out the slider head into a separate drawable hitobject 2018-03-10 01:13:59 +09:00
DrawableSliderTick.cs Make DrawableHitObject a CompositeDrawable 2018-03-15 13:41:06 +09:00
DrawableSpinner.cs Make DrawableHitObject a CompositeDrawable 2018-03-15 13:41:06 +09:00
IRequireTracking.cs Give Slider a tail hitobject to make slider ends counts towards score 2018-01-30 16:28:14 +09:00
ITrackSnaking.cs Add licence header 2018-01-18 21:12:53 +09:00