Bruno Herbelin
39b61fe331
Reimplementation of SourceInputCallbacks into Session
...
Session should be the object holding the list of inputs parameters (e.g. synchrony) and the list of source callbacks. This also avoids mixing input when copying sources. Code could be improved but is operational.
2022-03-07 00:23:24 +01:00
Bruno Herbelin
26f5368264
Implementation Control manager with singleton mechanism (not static)
2022-02-13 22:29:55 +01:00
Bruno Herbelin
74eca2e527
Added UI actions to change key of source callbacks and copy-paste
...
Drag&drop input button keys to change key associated to a list of source callbacks (i.e. move). Copy Paste in context popup menu to remember the input model to copy at another input.
2022-02-10 00:24:38 +01:00
Bruno Herbelin
904c122ee0
Minor UI improvement Input Mapping
2022-02-07 23:34:45 +01:00
Bruno Herbelin
741afaea18
Improved Source Callback for multi-callbacks compatibility
2022-02-07 17:45:34 +01:00
Bruno Herbelin
6cf86d80e2
Input Mapping suport for Gamepad Axis (multiply SourceCallback)
...
Apply the ControlValue as a multiplyer to the Callback. UI with indication bars for gamepad axis.
2022-02-07 13:27:05 +01:00
Bruno Herbelin
ab040f5268
First working implementation of Inputs Mapping
...
Management of inputs in Control, Management of callbacks creator per input in Source, Saving and Loading in Session, Unified renaming of SourceCallbacks, User interface window for creating and editing input mapping from Keyboard and Numerical keypad, with appropriate Settings.
2022-02-06 00:36:05 +01:00
Bruno Herbelin
8404e0f670
Milestone in SourceCallbacks and Keyboard callback trigger
...
Updated SourceCallback class to accept cloning, reversing, and visitors for saving./loading. New mechanism in Source to listen to key triggers for launching SourceCallbacks. Saving and loading in SessionVisitor and SessionCreator.
2022-01-30 00:25:08 +01:00
Bruno Herbelin
e58041227b
Added delay and image selection to CloneSource
2022-01-15 00:15:52 +01:00
Bruno Herbelin
3678e8fb27
Isolate implementation of CloneSource
2022-01-13 22:00:25 +01:00
Bruno Herbelin
4eebfbb89f
Improved Glyph layout
...
Support for shape and placement of glyph
2022-01-03 17:16:55 +01:00
Bruno Herbelin
353d2c4744
New Glyph decoration to show initials of source
2022-01-03 15:41:08 +01:00
Bruno Herbelin
2718e83132
Happy new year 2022
2022-01-02 23:17:22 +01:00
Bruno Herbelin
b885e70fed
Remove spaces from Source name
...
Replace space by underscore
2021-12-25 00:41:24 +01:00
Bruno Herbelin
eb8e33e311
Correct call to Source Activation (inheritance)
2021-12-23 22:16:16 +01:00
Bruno Herbelin
135b6a5702
cleanup SourceCallbacks on source destructor
2021-12-21 00:19:55 +01:00
Bruno Herbelin
f921e7610c
New mechanism for source update with callbacks
...
Similarly to Node update callbacks, sources now have SourceCallbacks called at the start of each update. Several SourceCallback are implemented to ensure thread safe update of more complex properties (mixing alpha, depth, etc.).
2021-12-20 00:25:42 +01:00
Bruno Herbelin
a7689a8f54
Help window, setting to show/hide Tooltips
...
Menu and keyboard shortcut declaration centralized. List of all keyboard shortcuts. ImGuiToolkit unified tooltips.
2021-12-12 23:12:56 +01:00
Bruno Herbelin
baa6ddb401
Implementation of user defined mixing deactivation limit
...
Mixing view handles to grab and scale limbo area. Saving of user defined limit in Session (and snapshot). Testing for source activation outside of update during session update loop.
2021-12-08 23:55:27 +01:00
Bruno Herbelin
4675be7e2a
Unified notification of source creation with Source info
...
New virtual function source::info used for notification after adding source
2021-12-05 18:32:23 +01:00
Bruno Herbelin
a6ba694fbd
Code warning cleanup and add GPL license header to all CPP files
2021-11-10 23:19:38 +01:00
Bruno Herbelin
a97581f5d7
semi-transparent icon of lock to inform its not interactive
...
need to CTRL+clic to unlock, as opposed to other handles: this is not perfect but shows the difference
2021-11-10 00:13:57 +01:00
Bruno Herbelin
dd7a63413c
Fixed keyboard arrows control
2021-10-09 23:40:18 +02:00
Bruno
139137770c
BugFix: prevent missing symbol when attach
2021-08-07 20:25:52 +02:00
Bruno
fc4e40fba3
Display mixing source original texture when inactive
...
Re-using activesurface_ for manipulation and display of the source's input texture in the Mixer icon when inactive.
2021-08-02 22:27:06 +02:00
Bruno
61fa062794
Correct implementation of DeviceSource resize
...
previous commit was bad...
2021-06-19 01:03:21 +02:00
Bruno
b606f479e9
Bugfix change device source resolution
2021-06-19 01:03:21 +02:00
Bruno
e87ef2774b
New SourcePlayer
...
Work in progress; Sources now have play/pause and associated play functions. Media player can play all playable sources, and adapts to control a media player when possible. Selection of play groups (to finalize)
2021-06-19 01:02:12 +02:00
brunoherbelin
737b45a18c
bugfix test initialization before render source
2021-05-04 21:40:24 +02:00
Bruno
a05cd380fb
Using source mode UNINITIALIZED to replace initialized_ bool
...
info about source initialization was duplicated; using the mode state machine only avoids to keep a flag
2021-05-01 10:29:34 +02:00
Bruno
381f68aaae
Change READY state of source
...
a source is ready after rendering one frame (which is after being initialized)
2021-05-01 00:34:58 +02:00
Bruno
c7d6d37a8e
oops
2021-04-26 22:06:06 +02:00
Bruno
0e3575c1ca
Using new basetoolkit function for unique naming
...
applied to source and snapshot names
2021-04-25 23:59:18 +02:00
Bruno
055f5c4c4e
Creating a base toolkit for functions independent from other toolkits
2021-04-25 20:09:22 +02:00
Bruno
5473c0b38b
Store image size in XML
...
and discard loaded image if size does not match
2021-04-24 13:14:03 +02:00
brunoherbelin
da64172848
Work-in-progress: Interpolation of snapshot in Action manager
2021-04-21 23:35:34 +02:00
Bruno
e2d2e6ddd8
prefix ++View::need_deep_update_
2021-04-19 19:24:50 +02:00
Bruno
2392d844d9
Making classes non-assignable
...
Following CppCheck recomendation, all classes that should not be manipulated by value are made non-assignable to ensure no mistake is made.
2021-04-18 13:04:16 +02:00
Bruno
c6d01c1420
Optimizing iteration
...
prefix ++i is faster than post i++
2021-04-18 11:38:03 +02:00
Bruno
8389010002
CoreSource complement
...
The CORE of a source is all what can be interpolated
2021-04-18 10:59:39 +02:00
brunoherbelin
cc752050f8
SourceCore to isolate core properties of a source
2021-04-17 14:40:00 +02:00
brunoherbelin
17d2a63132
Important change: sources keep their id all lifelong.
...
This simplifies a lot history and testing in session.
2021-04-13 22:26:26 +02:00
brunoherbelin
788fa693fd
Draft implementation of Following mechanism for Image processing
2021-04-06 23:20:13 +02:00
brunoherbelin
d3a130d9ba
(continue) Migrating clipboard manipulation to Session XML management
2021-04-05 13:05:38 +02:00
brunoherbelin
f443720319
Programming style improvement: following Cppcheck suggestions.
2021-04-04 13:13:06 +02:00
brunoherbelin
ceea9c10d5
gstreamer memory cleanup in mediaplayer and stream
2021-04-04 01:24:13 +02:00
brunoherbelin
2c3d6ff02e
Implement lock source mechanism in TextureView
2021-03-19 13:30:58 +01:00
brunoherbelin
dd9c8ac0b8
Added option to choose mirror or repeat texture on source
2021-03-18 19:43:51 +01:00
brunoherbelin
e830a6eefe
Mixing Group improved UI feedback
2021-03-18 14:42:33 +01:00
brunoherbelin
81c173e9c3
prevent null scale texture UV
2021-03-17 20:03:40 +01:00