Commit Graph

2571 Commits (9140c260ee8ab9a11cf5716a1e3218bdb4873099)

Author SHA1 Message Date
derrod 9140c260ee UI: Add Whats New for macOS/Linux
- Requires MbedTLS on Linux
- Enabled by default on macOS and Flatpak
- Enabled on linux via ENABLE_WHATSNEW_LINUX
- Enables compilation of blake2 on Linux/macOS
- Makes header name check also work with lowercase header
- Changes WahtsNew to be only enabled when browser panels are available
2022-08-13 16:46:48 -07:00
cg2121 5aac910659 UI: Fix grid mode spacing with Yami
In the scenes grid mode, the buttons would be squished together in
the Yami theme.
2022-08-13 16:22:02 -07:00
cg2121 5d803058b4 UI: Fix settings properties view background
In the Yami theme, the background color in the properties view in the
settings dialog would be incorrect.
2022-08-13 16:02:00 -07:00
Norihiro Kamae e46e0f8a3e UI: Fix memory leak when virtualcam fails to start 2022-08-13 01:35:45 -07:00
Chip Bradford e7ebe99049 UI: Fix crash when pausing/unpausing recording 2022-08-13 01:33:07 -07:00
cg2121 94189402c2 UI: Fix padding with vertical volume meters
Since Yami uses a different font, the 0 dB mark at the top of the
vertical meters would be cut off. This adds a 1px padding to the top
and bottom of the volume meters, when in vertical mode.
2022-08-13 01:10:38 -07:00
tytan652 cdd3399286 UI/themes: Disable QDialog button icons on all non-system themes 2022-08-13 01:07:29 -07:00
Norihiro Kamae b7d4ae8cf8 UI: Remove unnecessary UTF character 2022-08-13 00:49:17 -07:00
tytan652 e3cebb9942 UI: Avoid forcing the user to start the virtual camera
While configuring it.
2022-08-10 03:44:01 -07:00
tytan652 0e61a57bba UI: Cleanup virtual camera config dialog code
Remove unneeded headers and "using namespace".
2022-08-10 03:44:01 -07:00
Jim 9e15114750
Merge pull request #6577 from chippydip/multiple-video-mixes
libobs: Add support for multiple video mixes
2022-08-09 21:37:48 -07:00
Matt Gajownik 3a7a6f4dc0 UI: Fix build error with stray defaultStylesheet 2022-08-09 22:57:23 +10:00
Matt Gajownik aacc1133f7 UI/installer: Require Windows 10 64bit minimum 2022-08-09 22:43:09 +10:00
Matt Gajownik a7503254f3 Revert "UI: Apply default stylesheet before applying theme"
This reverts commit 08cee21158.

Turns out that while this did improve theme switching performance, it
also completely breaks styling on macOS and introduces visual quirks
on Windows after switching themes, such as sliders and dropdown contents.

# Conflicts:
#	UI/obs-app.cpp
#	UI/obs-app.hpp
2022-08-09 22:39:26 +10:00
cg2121 185dbf5492 UI: Fix ffmpeg path browse button not showing
The ffmpeg path browse button would be hidden in the settings.
2022-08-08 20:44:46 +10:00
Jim cb051240ff
Merge pull request #6896 from GeorgesStavracas/gbsneto/iconography
Iconography and list styles
2022-08-06 17:12:42 -07:00
cg2121 b61cc5de23 UI: Fix spacing with media controls
The spacing in the media controls was set to 0. This only became
noticeable when using the Yami theme, as the buttons have a background
color.
2022-08-06 16:46:47 -07:00
cg2121 f1f405b170 UI: Fix buttons in settings dialog
- The buttons in the accessibility settings were a fixed height, so
they would be rendered in a undesirable way with the Yami theme.

- Also fixes clear button sizing issues in hotkeys sections
2022-08-06 16:26:26 -07:00
cg2121 2b4629848d UI: Fix spacer lines not using accessibility color
The spacer helper lines would not use the selection color set in the
accessibility settings.
2022-08-06 16:14:24 -07:00
Monsteer 0c930f52d3
UI: Fix typo "QTestEdit" in Yami
Changed "QTestEdit" with "QTextEdit".
2022-08-07 01:13:56 +02:00
gxalpha 3233c455d1 UI: Make spacing helpers DPI aware
Addition to 76ae9cbc which was made independently of the spacing helpers
introduced in 2d6a9c9c
2022-08-06 16:10:20 -07:00
Norihiro Kamae e7c00890f6 UI: Increase maximum limit of automatic file splitting 2022-08-06 16:06:17 -07:00
gxalpha a1e8075fba UI: Unregister file splitting hotkey when clearing hotkeys 2022-08-06 10:25:10 +10:00
gxalpha 405f5123c1 UI: Don't hardcode margins in lineedit-autoresize 2022-08-06 10:22:25 +10:00
shiina424 b247a401c9 UI: Add missing Icon in Acri theme
accessibility and interact icons is missing.
2022-08-02 09:46:36 -07:00
shiina424 f58a28da33 UI: Add missing Icon in Rachni theme
accessibility and interact icons is missing.
2022-08-02 09:46:20 -07:00
gxalpha 1a170f4c94 UI: Properly store manual file splitting type 2022-08-02 09:43:15 -07:00
Georges Basile Stavracas Neto b74b5fec65 UI: Make audio icons consistent
Force them to align to a 16x16 pixel grid, and match the style of
other icons in the main UI.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 2de20ac00d UI: Revamp empty state of SourcesTree
The empty state of the SourcesTree widget looks rather busy, with
multiple icons and text without spacing. Revamp that state to use
a single, faded-out, 32px icon, add some spacing between the icon
and the text, and put the icon above the text.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 3f3cf02d2a UI: Remove 1px spacer from SourceTree
With the new icons, this extra spacer is not necessary.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto d09c1fcdd7 UI: Adjust list style of filters dialog
Exact same set of visual changes as before, but this one required
removing some hardcoded sizes from VisibilityItemWidget that were
clipping icons and text, and messing up with the height of items.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 249459afc9 UI: Add specific icons to expand and collapse
Instead of reusing the same thinline arrow, use a smaller, filled
arrow for expanding and collapsing.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto cfb36a338b UI: Rename expand.svg to right.svg
New icons for expanding and collapsing groups will be introduced
by next commit, so rename the current one to right.svg - it also
better matches the current filename layout, since we have up.svg,
down.svg, and left.svg.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto b26c0dd7d5 UI: Remove fixed icon sizes from SourceTree
Setting fixed sizes breaks rendering of the icons in subtle
ways, such as cutting 1px from their sizes. Removing these
fixes sizes seem to allow Qt to correctly render these icons,
and allows us to remove some negative margins hacks that were
added to deal with it.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto ef999dfc99 UI: Adjust list style of scenes and sources
Exact same set of changes as before, but additionally remove the
margins from the items since it was artificially increasing the
spacing between them.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto a8141789fe UI: Adjust list style of settings sidebar
Add padding between items and border; increase inner padding a
bit; make list items rounded; add spacing between list items.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 8751741572 UI: Increase maximum size of settings' sidebar
Some languages such as Spanish or Brazilian Portuguese have longer
words that make the sidebar scroll. Unfortunately Qt reports a rather
large minimum size for the sidebar, so simply removing the maximum
size is not an option.

Increase maximum width of the sidebar to 180px.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 7256702f39 UI: Set sidebar icon size to 16px
Symbolic icons, such as the ones used in the sidebar of the settings
dialog, are usually made to work best at 16x16.
2022-08-02 09:27:00 -03:00
Georges Basile Stavracas Neto 30888822bc UI: Rework icons
The current icon style is somewhat all over the place, with some
icons having thin lines, some others having thicker lines; some
filling the pixel grid in center, others in edges; some trying to
reduce subpixel positioning, some completely unaware of it.

Rework these icons to have a consistent style, with elongated
lines, rounded strokes, and proper center alignment.

The "no_sources.svg" asset is not covered by this work because this
empty state will be worked on in a separate commit.

Further changes will adjust specific UI elements to better match
the icon style.

These icons are derived from the GNOME icon library. I've changed
the fill colour to #fefefe for Dark theme icons, and #000000 for
embedded icons. If further icons are needed, they can be found at
https://teams.pages.gitlab.gnome.org/Design/icon-development-kit-www/
2022-08-02 09:25:47 -03:00
tytan652 c2122b0916 UI: Fix crash if there is no monitoring available 2022-07-31 21:48:56 -07:00
derrod 5620a469a9 UI: Remove compatibility for QT < 5.10 2022-07-31 21:47:01 -07:00
jpark37 ff88e0b8ac UI: Restore color format/space warning
Callbacks had the wrong signature.
2022-07-31 21:45:51 -07:00
Translation Updater 81734be37c Update translations from Crowdin 2022-07-31 23:40:53 +00:00
Chip Bradford df446c3f6e UI: Add Virtual Camera source selector dialog 2022-07-31 15:39:18 -07:00
PatTheMav f1cf3ff141 UI: Fix Qt call on UI thread from graphics thread
Calling `devicePixelRatioF` from any thread but the main UI thread
triggers thread-safety warnings at runtime on macOS, because Qt uses
NSView calls to determine the value.

NSView calls are only allowed to be made from the main thread on macOS,
so instead the value is stored as a property of the OBSQTDisplay at
initialization, to be retrieved from the preview object later.

Static functions that do not have access to the preview object have the
pixel ratio passed in their call signature.
2022-07-31 19:36:34 +02:00
gxalpha 37526e9ac9 UI: Add macOS permissions window
Co-Authored-By: Matt Gajownik <git@wizardcm.com>
2022-07-31 18:14:41 +02:00
gxalpha b7a20cd5e4 UI: Add function to open privacy preferences on macOS 2022-07-31 18:14:41 +02:00
Matt Gajownik 43ef6699e3 UI: Fix toolbutton colour in Yami 2022-07-31 20:45:52 +10:00
gxalpha e75b509bba UI: Include OpenSans font with OBS
Also reinstates the font-family statement removed in 2941c48
2022-07-31 20:23:19 +10:00
cg2121 e072976ccf UI: Add audio mixer toolbar
This adds a toolbar to the audio mixer dock, so it is
easier to access advanced audio dialog and unhide/vertical
actions.
2022-07-31 20:22:02 +10:00