Commit Graph

14 Commits (19c5da4645a66cc44ef6ae8ae38c1155f8d536b0)

Author SHA1 Message Date
Richard Stanway a43c10b173 UI: Refuse drop operations from our own widgets
The UI feedback when dropping scene / source items on other parts of the
program indicated that something would happen instead of showing the
"no drop" icon.
2020-04-13 03:07:30 +02:00
Kurt Kartaltepe aeed4a3aa1 UI: Support DnD overlay in linuxbrowser
Add support for checking multiple source types in Drag n Drop callback
to support overlays for linuxbrowser users. Once the "browsersource" is
available on the platform it will have priority.
2020-01-13 19:20:54 -08:00
jp9000 5f830522a2 UI: Add drag and drop for URLs
Co-authored-by: Matt Gajownik <matt@wizardcm.com>
2020-01-13 03:09:30 -08:00
Matt Gajownik 505d321840 UI: Make dropped HTML files use canvas size 2020-01-13 03:03:33 -08:00
jp9000 f53df7da64 clang-format: Apply formatting
Code submissions have continually suffered from formatting
inconsistencies that constantly have to be addressed.  Using
clang-format simplifies this by making code formatting more consistent,
and allows automation of the code formatting so that maintainers can
focus more on the code itself instead of code formatting.
2019-06-23 23:49:10 -07:00
Michael Fabian Dirks c280e620e3
UI: Remove 5 file limit for drag & drop 2019-05-17 16:56:27 +02:00
Alex Anderson 0accb9f865 UI: Fix memory leak when drag/dropping 2018-05-09 12:49:21 -07:00
Richard Stanway aa78b1bbee
UI: Add missing separator in mediaExtensions initializer 2017-07-12 19:54:27 +02:00
mntone d70c97db3a UI: Add ability to drop html files
(Edit by Jim: Added a check to make sure that the browser source exists
due to the fact that it's technically optional)

Closes jp9000/obs-studio#905
2017-06-30 00:10:26 -07:00
Jim da0f3c2705 Merge pull request #889 from cg2121/drag-drop-bug
UI: Fix drag & drop bug
2017-05-03 14:17:49 -07:00
cg2121 012b5ef6a5 UI: Display filename when dragging & dropping
After dragging and dropping a file, the source name will be the
filename.

(Jim: When dragging and dropping raw text, the raw text would then be
used as the source's name, which is bad if there's a lot of text.  It's
now been changed so that it uses the source type's display name, i.e.
"Text (GDI+)" as the source name in that case)

Closes jp9000/obs-studio#888
2017-04-30 03:37:02 -07:00
cg2121 485bfa5570 UI: Fix drag & drop bug 2017-04-23 20:45:55 -05:00
Michael Fabian Dirks d324713364 UI: Add raw text and text file to drag&drop support
Closes jp9000/obs-studio#644
2016-10-09 18:39:53 -07:00
jp9000 eb1fecdd34 UI: Add media/image file drop support 2016-09-27 10:01:22 -07:00