Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Cleanup frontend event handling #10881

Merged
merged 1 commit into from
Aug 11, 2024
Merged

Conversation

cg2121
Copy link
Contributor

@cg2121 cg2121 commented Jun 18, 2024

Description

This adds a function to OBSBasic to call on_event, so every time a event is called, the api variable doesn't have to be checked every time.

Motivation and Context

Code cleanup

How Has This Been Tested?

Tested events with one of my plugins

Types of changes

  • Code cleanup (non-breaking change which makes code smaller or more readable)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@cg2121 cg2121 requested a review from tt2468 June 18, 2024 20:38
@cg2121 cg2121 added the Code Cleanup Non-breaking change which makes code smaller or more readable label Jun 18, 2024
UI/window-basic-main.hpp Outdated Show resolved Hide resolved
This adds a function to OBSBasic to call on_event, so every
time a event is called, the api variable doesn't have to be
checked everytime.
@Lain-B Lain-B merged commit 8955411 into obsproject:master Aug 11, 2024
15 checks passed
@RytoEX RytoEX added this to the OBS Studio 31 milestone Aug 11, 2024
@cg2121 cg2121 deleted the event-cleanup branch August 12, 2024 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Non-breaking change which makes code smaller or more readable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants