-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from Etuldan/feature/show-scene-in-groups
Items in groups available to be manipulated
- Loading branch information
Showing
3 changed files
with
156 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MidiControl.Models.OBS | ||
{ | ||
public class SceneItemTransform | ||
{ | ||
[JsonProperty("alignment")] | ||
public int alignment { get; set; } | ||
|
||
[JsonProperty("boundsAlignment")] | ||
public int boundsAlignment { get; set; } | ||
|
||
[JsonProperty("boundsHeight")] | ||
public double boundsHeight { get; set; } | ||
|
||
[JsonProperty("boundsType")] | ||
public string boundsType { get; set; } | ||
|
||
[JsonProperty("boundsWidth")] | ||
public double boundsWidth { get; set; } | ||
|
||
[JsonProperty("cropBottom")] | ||
public int cropBottom { get; set; } | ||
|
||
[JsonProperty("cropLeft")] | ||
public int cropLeft { get; set; } | ||
|
||
[JsonProperty("cropRight")] | ||
public int cropRight { get; set; } | ||
|
||
[JsonProperty("cropTop")] | ||
public int cropTop { get; set; } | ||
|
||
[JsonProperty("height")] | ||
public double height { get; set; } | ||
|
||
[JsonProperty("positionX")] | ||
public double positionX { get; set; } | ||
|
||
[JsonProperty("positionY")] | ||
public double positionY { get; set; } | ||
|
||
[JsonProperty("rotation")] | ||
public double rotation { get; set; } | ||
|
||
[JsonProperty("scaleX")] | ||
public double scaleX { get; set; } | ||
|
||
[JsonProperty("scaleY")] | ||
public double scaleY { get; set; } | ||
|
||
[JsonProperty("sourceHeight")] | ||
public double sourceHeight { get; set; } | ||
|
||
[JsonProperty("sourceWidth")] | ||
public double sourceWidth { get; set; } | ||
|
||
[JsonProperty("width")] | ||
public double width { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace MidiControl.Models.OBS | ||
{ | ||
public class Source | ||
{ | ||
[JsonProperty("inputKind")] | ||
public string inputKind { get; set; } | ||
|
||
[JsonProperty("isGroup")] | ||
public object isGroup { get; set; } | ||
|
||
[JsonProperty("sceneItemBlendMode")] | ||
public string sceneItemBlendMode { get; set; } | ||
|
||
[JsonProperty("sceneItemEnabled")] | ||
public bool sceneItemEnabled { get; set; } | ||
|
||
[JsonProperty("sceneItemId")] | ||
public int sceneItemId { get; set; } | ||
|
||
[JsonProperty("sceneItemIndex")] | ||
public int sceneItemIndex { get; set; } | ||
|
||
[JsonProperty("sceneItemLocked")] | ||
public bool sceneItemLocked { get; set; } | ||
|
||
[JsonProperty("sceneItemTransform")] | ||
public SceneItemTransform sceneItemTransform { get; set; } | ||
|
||
[JsonProperty("sourceName")] | ||
public string sourceName { get; set; } | ||
|
||
[JsonProperty("sourceType")] | ||
public string sourceType { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters