52 Commits

Author SHA1 Message Date
tt2468
9cdb32d56a Docs: Various docs improvements
I noticed that some parts of the docs were inconsistent/lacking.
Decided to go through all of them and update them.
2020-07-09 03:27:44 -07:00
tt2468
513bd1372b Docs, Requests: Fix GetSceneItemList code revisions
Replace the `sourceId` term with `sourceKind` to match everything else.
2020-07-03 07:12:28 -07:00
tt2468
355cee0db9 Merge branch '4.x-current' into feature/component-management 2020-07-03 07:07:52 -07:00
Lars Bärtschi
948f6ccd95 Also change all other occurrences and documentation where int was used for transform position 2020-06-04 15:42:27 +02:00
Lars Bärtschi
1c58727ca9 Change position datatype from int to double (as it is in OBS) 2020-06-04 15:28:47 +02:00
tt2468
1474499886 Requests: Add GetSceneItemList
Adds a new `GetSceneItemList` request to get all scene items in a
specified scene.
2020-05-29 00:00:16 -07:00
tt2468
d2865b9f4f Requests: Add AddSceneItem
New request `AddSceneItem` which allows you to add a
source to a scene. Returns an itemId which can be used
to manipulate the item further if necessary.
2020-05-28 22:20:25 -07:00
Stéphane Lepin
3604995c2f requests(DeleteSceneItem + DuplicateSceneItem): backport dual "item" behaviour to existing functions 2020-03-30 00:02:36 +02:00
Stéphane Lepin
8b731f3ba4 fixes 2020-03-29 23:55:45 +02:00
Stéphane Lepin
83f702fbab requests(GetSceneItemProperties): add itemId response field 2020-03-29 23:28:07 +02:00
Stéphane Lepin
fbebf1c7d3 requests(scene item): fix docs 2020-03-29 23:04:20 +02:00
Stéphane Lepin
be14947668 oops 2020-03-29 22:12:54 +02:00
Stéphane Lepin
0fcf770043 requests(scene items): implement object mode on "item" request field 2020-03-29 22:07:55 +02:00
Stéphane Lepin
a6c6a42669 requests(scene items): doc fixes again 2020-03-29 19:39:57 +02:00
Stéphane Lepin
c486bc64c4 requests(scene items): refactor docs 2020-03-29 19:39:57 +02:00
Chris Angelico
be10227829 Utils,GetSceneItemProperties: Document both muted and alignment 2020-03-11 23:02:23 +11:00
Stéphane Lepin
101b795c0a
Merge pull request #324 from Rosuav/show-gravity
Show alignment (gravity) of scene elements when querying/switching scenes
2020-03-04 13:49:58 +01:00
Stéphane Lepin
6bfe533a20 chore: fix quality warnings 2020-01-28 16:16:19 +01:00
Stéphane Lepin
2f244ae37e WSRequestHandler(SceneItems): fix error message 2019-11-15 20:54:06 +01:00
Stéphane Lepin
f83317f7c8 WSRequestHandler(SceneItems): fix DuplicateSceneItem 2019-11-15 20:39:39 +01:00
Stéphane Lepin
9389ceaf4f WSRequestHandler(SceneItems): fixes 2019-11-15 20:33:13 +01:00
Stéphane Lepin
cee0cbebc2 Utils: use obs_scene_t* directly for scene-related helpers 2019-08-31 03:03:32 +02:00
Chris Angelico
47b485819f Update property -> return as this isn't a typedef 2019-05-20 01:47:25 +10:00
Chris Angelico
fd32f7f435 Explain how OBS interprets alignment numbers 2019-05-20 00:44:11 +10:00
Chris Angelico
c4b07b1a7b Merge remote-tracking branch 'origin/4.x-current' into show-gravity 2019-05-20 00:37:22 +10:00
Stéphane L
bfb5570b7a scene item requests: defer updates to avoid triggering several transform events at once 2019-05-19 15:50:44 +02:00
Stéphane Lepin
de6bfdca0a SceneItems(docs): add comment about coordinates 2019-05-16 14:30:39 +02:00
Stéphane Lepin
788f70d5f3 Utils(GetSceneItemData): remove property isGroup 2019-05-16 13:57:38 +02:00
Stéphane Lepin
b0a35789f6 utils + sceneitem: fix docs again 2019-05-16 13:55:33 +02:00
Stéphane Lepin
eb7fbf011f utils + sceneitems: fix docs 2019-05-16 13:54:06 +02:00
Stéphane Lepin
0744d215c6 utils(GetSceneItemData): add isGroup flag + move Source typedef here 2019-05-15 13:11:15 +02:00
Chris Angelico
2622eb4663 Add alignment to the documented definition of a Source 2019-05-14 04:09:18 +10:00
Stéphane Lepin
a54171e1cd SetSceneItemProperties: fix docs (optional parameters)
Fixes #318
2019-05-09 15:52:35 +02:00
Stéphane Lepin
82d1a2b4f9 GetSceneItemProperties: fix docs 2019-05-07 13:36:25 +02:00
Stéphane L
03ba2a680e SetSceneItemProperties: fix string comparison for bounds type parameter
Fixes #309
2019-04-23 11:32:04 +02:00
Stéphane L
ea28d217e0 requests: add "id" to scene item data and fix docs 2019-04-22 19:45:32 +02:00
Stéphane Lepin
8eeea50ede
Merge pull request #305 from Rosuav/fix-docs-formatting
Fix docs formatting (loose combining character)
2019-04-22 18:31:16 +02:00
Chris Angelico
182bde4884 Allow the manipulation of the locked flag of scene items.
Lockedness can be seen when you query an item or see the scene
contents, and can be changed (only) with SetSceneItemProperties.
2019-04-23 00:32:28 +10:00
Chris Angelico
3ecb637e70 Fix docs formatting (loose combining character) 2019-04-23 00:23:06 +10:00
Stéphane Lepin
93adc8587d general: refactor qt includes 2019-04-20 18:04:36 +02:00
Stéphane Lepin
c914632663 GetSceneItemProperties: add width & height values 2019-04-19 17:44:11 +02:00
Stéphane L
5e4d6fbd3f utils: refactored docs and impl of scene item properties 2019-04-17 01:09:05 +02:00
Barry Carlyon
1993596232 Requested changes to move the common code to a utils function. 2019-04-17 00:15:15 +02:00
Stéphane L
2d973e0b90 handler: return obs_data_t objects 2019-01-01 17:54:29 +01:00
Stéphane L
e9b43b9b2a handler: refactor response passing 2019-01-01 17:25:08 +01:00
Stéphane L
e310c7d744 move SetSceneItemOrder to Scenes 2018-12-24 18:34:18 +01:00
Stéphane L
8a649b89c8 scene items: import reorder method from master 2018-12-24 02:43:58 +01:00
Stéphane Lepin
9cda739672 sceneitems: fix docs 2018-12-24 00:02:21 +01:00
Stéphane Lepin
147e49b362 sources + scene items: refactor + get rid of scene-name params 2018-12-23 23:54:25 +01:00
Ryan Foster
37ea7073d5 general: Fix several typos throughout 2018-11-01 00:42:02 -04:00