pax_global_header00006660000000000000000000000064141761503430014516gustar00rootroot0000000000000052 comment=5e15d30fd82c63344548cbbb9d2d973ae0f7e3ed obs-transition-table-0.2.1/000077500000000000000000000000001417615034300155565ustar00rootroot00000000000000obs-transition-table-0.2.1/.github/000077500000000000000000000000001417615034300171165ustar00rootroot00000000000000obs-transition-table-0.2.1/.github/FUNDING.yml000066400000000000000000000000671417615034300207360ustar00rootroot00000000000000github: exeldro custom: "https://www.paypal.me/exeldro"obs-transition-table-0.2.1/.github/workflows/000077500000000000000000000000001417615034300211535ustar00rootroot00000000000000obs-transition-table-0.2.1/.github/workflows/build.yml000066400000000000000000000342351417615034300230040ustar00rootroot00000000000000name: build obs plugin on: push: branches: [ master ] pull_request: branches: [ master ] env: PLUGIN_NAME: transition-table OBS_VERSION: 26.1.1 jobs: macos64: name: "macOS 64-bit" runs-on: [macos-latest] env: QT_VERSION: '5.15.2' MACOS_DEPS_VERSION: '2021-02-28' steps: - name: Checkout uses: actions/checkout@v2.3.3 with: repository: obsproject/obs-studio ref: ${{ env.OBS_VERSION }} submodules: 'recursive' - name: "Checkout plugin" uses: actions/checkout@v2.3.3 with: path: UI/frontend-plugins/${{ env.PLUGIN_NAME }} - name: Fetch Git Tags run: | cd UI/frontend-plugins/${{ env.PLUGIN_NAME }} git fetch --prune --tags --unshallow - name: 'Install prerequisites (Homebrew)' shell: bash run: | if [ -d /usr/local/opt/openssl@1.0.2t ]; then brew uninstall openssl@1.0.2t brew untap local/openssl fi if [ -d /usr/local/opt/python@2.7.17 ]; then brew uninstall python@2.7.17 brew untap local/python2 fi if [ -d /usr/local/opt/speexdsp ]; then brew unlink speexdsp fi brew uninstall curl php composer brew bundle --file ./CI/scripts/macos/Brewfile echo "NPROC=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV - name: 'Install prerequisite: Pre-built dependencies' if: steps.deps-cache.outputs.cache-hit != 'true' shell: bash run: | curl -L -O https://github.com/obsproject/obs-deps/releases/download/${{ env.MACOS_DEPS_VERSION }}/macos-deps-${{ env.MACOS_DEPS_VERSION }}.tar.gz tar -xf ./macos-deps-${{ env.MACOS_DEPS_VERSION }}.tar.gz -C "/tmp" - name: 'Install prerequisite: Pre-built dependency Qt' if: steps.deps-qt-cache.outputs.cache-hit != 'true' shell: bash run: | curl -L -O https://github.com/obsproject/obs-deps/releases/download/${{ env.MACOS_DEPS_VERSION }}/macos-qt-${{ env.QT_VERSION }}-${{ env.MACOS_DEPS_VERSION }}.tar.gz tar -xf ./macos-qt-${{ env.QT_VERSION }}-${{ env.MACOS_DEPS_VERSION }}.tar.gz -C "/tmp" xattr -r -d com.apple.quarantine /tmp/obsdeps - name: Configure shell: bash run: | echo "add_subdirectory(${{ env.PLUGIN_NAME }})" >> UI/frontend-plugins/CMakeLists.txt mkdir ./build cd ./build cmake -DDISABLE_PYTHON=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DQTDIR="/tmp/obsdeps" -DSWIGDIR="/tmp/obsdeps" -DDepsPath="/tmp/obsdeps" -DBUILD_BROWSER=OFF -DENABLE_PIPEWIRE=OFF -DBUILD_VST=OFF -DBUILD_VIRTUALCAM=OFF -DENABLE_SCRIPTING=OFF .. cd - - name: Build shell: bash run: | set -e cd ./build make -j4 cd - - name: Relink to Qt that ships with OBS if: success() shell: bash run: | cd ./build/UI/frontend-plugins/${{ env.PLUGIN_NAME }} install_name_tool -change /tmp/obsdeps/lib/QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore ${{ env.PLUGIN_NAME }}.so install_name_tool -change /tmp/obsdeps/lib/QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui ${{ env.PLUGIN_NAME }}.so install_name_tool -change /tmp/obsdeps/lib/QtWidgets.framework/Versions/5/QtWidgets @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets ${{ env.PLUGIN_NAME }}.so - name: 'Install prerequisite: Packages app' if: success() shell: bash run: | curl -L -O http://s.sudre.free.fr/Software/files/Packages.dmg sudo hdiutil attach ./Packages.dmg sudo installer -pkg /Volumes/Packages\ 1.2.9/Install\ Packages.pkg -target / - name: Package if: success() shell: bash run: | cd UI/frontend-plugins/${{ env.PLUGIN_NAME }} FILE_DATE=$(date +%Y-%m-%d) FILE_NAME=${{ env.PLUGIN_NAME }}-$FILE_DATE-${{ github.sha }}-macos.pkg echo "FILE_NAME=${FILE_NAME}" >> $GITHUB_ENV packagesbuild ./CI/macos/${{ env.PLUGIN_NAME }}.pkgproj cd - mkdir ./nightly mv UI/frontend-plugins/${{ env.PLUGIN_NAME }}/${{ env.PLUGIN_NAME }}.pkg ./nightly/${FILE_NAME} - name: Publish if: success() uses: actions/upload-artifact@v2.2.0 with: name: '${{ env.FILE_NAME }}' path: ./nightly/*.pkg ubuntu64: name: 'Linux/Ubuntu 64-bit' runs-on: [ubuntu-latest] steps: - name: Checkout uses: actions/checkout@v2.3.3 with: repository: obsproject/obs-studio ref: ${{ env.OBS_VERSION }} submodules: 'recursive' - name: "Checkout plugin" uses: actions/checkout@v2.3.3 with: path: UI/frontend-plugins/${{ env.PLUGIN_NAME }} - name: Add plugin to obs cmake shell: bash run: echo "add_subdirectory(${{ env.PLUGIN_NAME }})" >> UI/frontend-plugins/CMakeLists.txt - name: Fetch Git Tags run: git fetch --prune --tags --unshallow - name: Install prerequisites (Apt) shell: bash run: | sudo dpkg --add-architecture amd64 sudo apt-get -qq update sudo apt-get install -y \ build-essential \ checkinstall \ cmake \ libasound2-dev \ libavcodec-dev \ libavdevice-dev \ libavfilter-dev \ libavformat-dev \ libavutil-dev \ libcurl4-openssl-dev \ libfdk-aac-dev \ libfontconfig-dev \ libfreetype6-dev \ libgl1-mesa-dev \ libjack-jackd2-dev \ libjansson-dev \ libluajit-5.1-dev \ libpulse-dev \ libqt5x11extras5-dev \ libsndio-dev \ libspeexdsp-dev \ libswresample-dev \ libswscale-dev \ libudev-dev \ libv4l-dev \ libva-dev \ libvlc-dev \ libx11-dev \ libx11-xcb-dev \ libx264-dev \ libxcb-randr0-dev \ libxcb-shm0-dev \ libxcb-xfixes0-dev \ libxcb-xinerama0-dev \ libxcomposite-dev \ libxinerama-dev \ libmbedtls-dev \ pkg-config \ python3-dev \ qtbase5-dev \ qtbase5-private-dev \ libqt5svg5-dev \ swig \ linux-generic - name: 'Configure' shell: bash run: | mkdir ./build cd ./build cmake -DUNIX_STRUCTURE=0 -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/obs-studio-portable" -DBUILD_CAPTIONS=OFF -DWITH_RTMPS=OFF -DBUILD_BROWSER=OFF -DBUILD_VIRTUALCAM=OFF -DBUILD_VST=OFF -DENABLE_PIPEWIRE=OFF -DENABLE_SCRIPTING=OFF .. - name: 'Build' shell: bash working-directory: ${{ github.workspace }}/build run: make -j4 - name: 'Package' shell: bash run: | FILE_DATE=$(date +%Y-%m-%d) FILE_NAME=${{ env.PLUGIN_NAME }}-$FILE_DATE-${{ github.sha }}-linux64.tar.gz echo "FILE_NAME=${FILE_NAME}" >> $GITHUB_ENV mkdir -p ./${{ env.PLUGIN_NAME }}/bin/64bit/ mv ./build/UI/frontend-plugins/${{ env.PLUGIN_NAME }}/${{ env.PLUGIN_NAME }}.so ./${{ env.PLUGIN_NAME }}/bin/64bit/${{ env.PLUGIN_NAME }}.so mv ./UI/frontend-plugins/${{ env.PLUGIN_NAME }}/data ./${{ env.PLUGIN_NAME }}/data tar -cvzf "${FILE_NAME}" ${{ env.PLUGIN_NAME }} - name: 'Publish' uses: actions/upload-artifact@v2.2.0 with: name: '${{ env.FILE_NAME }}' path: '*.tar.gz' windows: name: Windows runs-on: [windows-latest] env: QT_VERSION: '5.15.2' CMAKE_GENERATOR: "Visual Studio 16 2019" CMAKE_SYSTEM_VERSION: "10.0.18363.657" WINDOWS_DEPS_VERSION: '2019' steps: - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - name: Checkout obs uses: actions/checkout@v2.3.3 with: repository: obsproject/obs-studio ref: ${{ env.OBS_VERSION }} submodules: 'recursive' - name: Checkout plugin uses: actions/checkout@v2.3.3 with: path: UI/frontend-plugins/${{ env.PLUGIN_NAME}} - name: Add plugin to obs cmake shell: cmd run: echo add_subdirectory(${{ env.PLUGIN_NAME }}) >> UI/frontend-plugins/CMakeLists.txt - name: Fetch Git Tags run: git fetch --prune --tags --unshallow - name: 'Restore QT dependency from cache' id: qt-cache uses: actions/cache@v2.1.2 env: CACHE_NAME: 'qt-cache' with: path: ${{ github.workspace }}/cmbuild/QT key: ${{ runner.os }}-pr-${{ env.CACHE_NAME }}-${{ env.QT_VERSION }} - name: 'Restore pre-built dependencies from cache' id: deps-cache uses: actions/cache@v2.1.2 env: CACHE_NAME: 'deps-cache' with: path: ${{ github.workspace }}/cmbuild/deps key: ${{ runner.os }}-pr-${{ env.CACHE_NAME }}-${{ env.WINDOWS_DEPS_VERSION }} - name: 'Install prerequisite: QT' if: steps.qt-cache.outputs.cache-hit != 'true' run: | curl -kLO https://cdn-fastly.obsproject.com/downloads/Qt_${{ env.QT_VERSION }}.7z -f --retry 5 -C - 7z x Qt_${{ env.QT_VERSION }}.7z -o"${{ github.workspace }}/cmbuild/QT" - name: 'Install prerequisite: Pre-built dependencies' if: steps.deps-cache.outputs.cache-hit != 'true' run: | curl -kLO https://cdn-fastly.obsproject.com/downloads/dependencies${{ env.WINDOWS_DEPS_VERSION }}.zip -f --retry 5 -C - 7z x dependencies${{ env.WINDOWS_DEPS_VERSION }}.zip -o"${{ github.workspace }}/cmbuild/deps" - name: Configure run: | mkdir ./package mkdir ./build32 cd ./build32 cmake -G"${{ env.CMAKE_GENERATOR }}" -A"Win32" -DCMAKE_SYSTEM_VERSION="${{ env.CMAKE_SYSTEM_VERSION }}" -DBUILD_BROWSER=false -DBUILD_VST=false -DBUILD_VIRTUALCAM=false -DBUILD_CAPTIONS=false -DCOMPILE_D3D12_HOOK=false -DENABLE_SCRIPTING=false -DDepsPath="${{ github.workspace }}/cmbuild/deps/win32" -DQTDIR="${{ github.workspace }}/cmbuild/QT/${{ env.QT_VERSION }}/msvc2019" -DCOPIED_DEPENDENCIES=FALSE -DCOPY_DEPENDENCIES=TRUE .. cd .. mkdir ./build64 cd ./build64 cmake -G"${{ env.CMAKE_GENERATOR }}" -A"x64" -DCMAKE_SYSTEM_VERSION="${{ env.CMAKE_SYSTEM_VERSION }}" -DBUILD_BROWSER=false -DBUILD_VST=false -DBUILD_VIRTUALCAM=false -DBUILD_CAPTIONS=false -DCOMPILE_D3D12_HOOK=false -DENABLE_SCRIPTING=false -DDepsPath="${{ github.workspace }}/cmbuild/deps/win64" -DQTDIR="${{ github.workspace }}/cmbuild/QT/${{ env.QT_VERSION }}/msvc2019_64" -DCOPIED_DEPENDENCIES=FALSE -DCOPY_DEPENDENCIES=TRUE .. - name: 'Build 32' run: msbuild /m /p:Configuration=RelWithDebInfo .\build32\obs-studio.sln - name: 'Build 64' run: msbuild /m /p:Configuration=RelWithDebInfo .\build64\obs-studio.sln - name: Package if: success() run: | $env:FILE_DATE=(Get-Date -UFormat "%F") $env:FILE_NAME="${{ env.PLUGIN_NAME }}-${env:FILE_DATE}-${{ github.sha }}-windows" echo "FILE_NAME=${env:FILE_NAME}" >> ${env:GITHUB_ENV} robocopy .\build32\rundir\RelWithDebInfo\obs-plugins\32bit\ .\package\obs-plugins\32bit ${{ env.PLUGIN_NAME }}.* /E /XF .gitignore robocopy .\build64\rundir\RelWithDebInfo\obs-plugins\64bit\ .\package\obs-plugins\64bit ${{ env.PLUGIN_NAME }}.* /E /XF .gitignore robocopy .\build64\rundir\RelWithDebInfo\data\obs-plugins\${{ env.PLUGIN_NAME }}\ .\package\data\obs-plugins\${{ env.PLUGIN_NAME }}\ /E /XF .gitignore exit 0 - name: Create Code Signing Certificate if: success() && github.event_name != 'pull_request' run: | New-Item -ItemType directory -Path certificate Set-Content -Path certificate\certificate.txt -Value '${{ secrets.CERTIFICATE }}' certutil -decode certificate\certificate.txt certificate\certificate.pfx - name: Code Sign 32 if: success() && github.event_name != 'pull_request' run: | & 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.20348.0/x86/signtool.exe' sign /f certificate\certificate.pfx /p '${{ secrets.CERTIFICATE_PASS }}' /t http://timestamp.comodoca.com/authenticode .\package\obs-plugins\32bit\${{ env.PLUGIN_NAME }}.dll - name: Code Sign 64 if: success() && github.event_name != 'pull_request' run: | & 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.20348.0/x64/signtool.exe' sign /f certificate\certificate.pfx /p '${{ secrets.CERTIFICATE_PASS }}' /t http://timestamp.comodoca.com/authenticode .\package\obs-plugins\64bit\${{ env.PLUGIN_NAME }}.dll - name: Publish zip if: success() uses: actions/upload-artifact@v2.2.0 with: name: '${{ env.FILE_NAME }}' path: package/* - name: "Package Installer (Prereqs)" run: | curl "-kL" "https://github.com/Xaymar/msvc-redist-helper/releases/download/0.1/msvc-redist-helper-64.exe" "-f" "--retry" "5" "-o" "msvc-redist-helper.exe" curl "-kL" "https://files.jrsoftware.org/is/6/innosetup-6.0.3.exe" "-f" "--retry" "5" "-o" "inno.exe" .\inno.exe /VERYSILENT /SP- /SUPPRESSMSGBOXES /NORESTART - name: "Package Installer (Compile)" run: | & 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' /Qp ".\build64\UI\frontend-plugins\${{ env.PLUGIN_NAME }}\installer.iss" - name: Code Sign Installer if: success() && github.event_name != 'pull_request' run: | & 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.20348.0/x64/signtool.exe' sign /f certificate\certificate.pfx /p '${{ secrets.CERTIFICATE_PASS }}' /t http://timestamp.comodoca.com/authenticode .\package\${{ env.PLUGIN_NAME }}-installer.exe - name: Publish installer if: success() uses: actions/upload-artifact@v2.2.0 with: name: '${{ env.FILE_NAME }}-installer' path: package/*.exe obs-transition-table-0.2.1/CI/000077500000000000000000000000001417615034300160515ustar00rootroot00000000000000obs-transition-table-0.2.1/CI/macos/000077500000000000000000000000001417615034300171535ustar00rootroot00000000000000obs-transition-table-0.2.1/CI/macos/transition-table.pkgproj000066400000000000000000000473141417615034300240410ustar00rootroot00000000000000 PROJECT PACKAGE_FILES DEFAULT_INSTALL_LOCATION / HIERARCHY CHILDREN CHILDREN CHILDREN CHILDREN CHILDREN CHILDREN CHILDREN CHILDREN GID 80 PATH ../../../../../build/UI/frontend-plugins/transition-table/transition-table.so PATH_TYPE 3 PERMISSIONS 493 TYPE 3 UID 0 GID 80 PATH bin PATH_TYPE 0 PERMISSIONS 493 TYPE 2 UID 0 CHILDREN GID 80 PATH ../../data PATH_TYPE 1 PERMISSIONS 493 TYPE 3 UID 0 GID 80 PATH transition-table PATH_TYPE 0 PERMISSIONS 493 TYPE 2 UID 0 GID 80 PATH plugins PATH_TYPE 0 PERMISSIONS 493 TYPE 2 UID 0 GID 80 PATH obs-studio PATH_TYPE 0 PERMISSIONS 493 TYPE 2 UID 0 GID 80 PATH Application Support PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Automator PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Documentation PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Extensions PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Filesystems PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Frameworks PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Input Methods PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Internet Plug-Ins PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH LaunchAgents PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH LaunchDaemons PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH PreferencePanes PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Preferences PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 80 PATH Printers PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH PrivilegedHelperTools PATH_TYPE 0 PERMISSIONS 1005 TYPE 1 UID 0 CHILDREN GID 0 PATH QuickLook PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH QuickTime PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Screen Savers PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Scripts PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Services PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 0 PATH Widgets PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 GID 0 PATH Library PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN CHILDREN GID 0 PATH Shared PATH_TYPE 0 PERMISSIONS 1023 TYPE 1 UID 0 GID 80 PATH Users PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 CHILDREN GID 80 PATH Applications PATH_TYPE 0 PERMISSIONS 509 TYPE 1 UID 0 GID 0 PATH / PATH_TYPE 0 PERMISSIONS 493 TYPE 1 UID 0 PAYLOAD_TYPE 0 PRESERVE_EXTENDED_ATTRIBUTES SHOW_INVISIBLE SPLIT_FORKS TREAT_MISSING_FILES_AS_WARNING VERSION 5 PACKAGE_SCRIPTS POSTINSTALL_PATH PATH_TYPE 0 PREINSTALL_PATH PATH_TYPE 0 RESOURCES PACKAGE_SETTINGS AUTHENTICATION 1 CONCLUSION_ACTION 0 FOLLOW_SYMBOLIC_LINKS IDENTIFIER com.exeldro.transition-table LOCATION 0 NAME OVERWRITE_PERMISSIONS PAYLOAD_SIZE -1 REFERENCE_PATH RELOCATABLE USE_HFS+_COMPRESSION VERSION 0.0.2 PROJECT_COMMENTS NOTES PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1M IDQuMDEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIvaHRtbDQv c3RyaWN0LmR0ZCI+CjxodG1sPgo8aGVhZD4KPG1ldGEgaHR0cC1l cXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7 IGNoYXJzZXQ9VVRGLTgiPgo8bWV0YSBodHRwLWVxdWl2PSJDb250 ZW50LVN0eWxlLVR5cGUiIGNvbnRlbnQ9InRleHQvY3NzIj4KPHRp dGxlPjwvdGl0bGU+CjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29u dGVudD0iQ29jb2EgSFRNTCBXcml0ZXIiPgo8bWV0YSBuYW1lPSJD b2NvYVZlcnNpb24iIGNvbnRlbnQ9IjE0MDQuMTMiPgo8c3R5bGUg dHlwZT0idGV4dC9jc3MiPgo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5 Pgo8L2JvZHk+CjwvaHRtbD4K PROJECT_SETTINGS BUILD_PATH PATH ../.. PATH_TYPE 1 EXCLUDED_FILES PATTERNS_ARRAY REGULAR_EXPRESSION STRING .DS_Store TYPE 0 PROTECTED PROXY_NAME Remove .DS_Store files PROXY_TOOLTIP Remove ".DS_Store" files created by the Finder. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING .pbdevelopment TYPE 0 PROTECTED PROXY_NAME Remove .pbdevelopment files PROXY_TOOLTIP Remove ".pbdevelopment" files created by ProjectBuilder or Xcode. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING CVS TYPE 1 REGULAR_EXPRESSION STRING .cvsignore TYPE 0 REGULAR_EXPRESSION STRING .cvspass TYPE 0 REGULAR_EXPRESSION STRING .svn TYPE 1 REGULAR_EXPRESSION STRING .git TYPE 1 REGULAR_EXPRESSION STRING .gitignore TYPE 0 PROTECTED PROXY_NAME Remove SCM metadata PROXY_TOOLTIP Remove helper files and folders used by the CVS, SVN or Git Source Code Management systems. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING classes.nib TYPE 0 REGULAR_EXPRESSION STRING designable.db TYPE 0 REGULAR_EXPRESSION STRING info.nib TYPE 0 PROTECTED PROXY_NAME Optimize nib files PROXY_TOOLTIP Remove "classes.nib", "info.nib" and "designable.nib" files within .nib bundles. STATE PATTERNS_ARRAY REGULAR_EXPRESSION STRING Resources Disabled TYPE 1 PROTECTED PROXY_NAME Remove Resources Disabled folders PROXY_TOOLTIP Remove "Resources Disabled" folders. STATE SEPARATOR NAME transition-table PAYLOAD_ONLY TYPE 1 VERSION 2 obs-transition-table-0.2.1/CMakeLists.txt000066400000000000000000000036671417615034300203320ustar00rootroot00000000000000cmake_minimum_required(VERSION 3.18) project(transition-table VERSION 0.2.2) set(PROJECT_FULL_NAME "Transition Table") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/version.h) find_package(Qt5Widgets) set(CMAKE_AUTOMOC ON) set(transition-table_HEADERS transition-table.hpp version.h) set(transition-table_SOURCES transition-table.cpp) if(WIN32) get_filename_component(ISS_FILES_DIR "${CMAKE_BINARY_DIR}\\..\\package" ABSOLUTE) file(TO_NATIVE_PATH "${ISS_FILES_DIR}" ISS_FILES_DIR) get_filename_component(ISS_PACKAGE_DIR "${CMAKE_PACKAGE_PREFIX}\\.." ABSOLUTE) file(TO_NATIVE_PATH "${ISS_PACKAGE_DIR}" ISS_PACKAGE_DIR) get_filename_component(ISS_SOURCE_DIR "${PROJECT_SOURCE_DIR}" ABSOLUTE) file(TO_NATIVE_PATH "${ISS_SOURCE_DIR}" ISS_SOURCE_DIR) configure_file("installer.iss.in" "${PROJECT_BINARY_DIR}/installer.iss" ) configure_file(resource.rc.in transition-table.rc) list(APPEND transition-table_SOURCES transition-table.rc) endif() if(BUILD_OUT_OF_TREE) find_package(LibObs REQUIRED) endif() add_library(transition-table MODULE ${transition-table_HEADERS} ${transition-table_SOURCES}) target_link_libraries(transition-table obs-frontend-api Qt5::Widgets libobs) if(BUILD_OUT_OF_TREE) if(NOT LIB_OUT_DIR) set(LIB_OUT_DIR "/lib/obs-plugins") endif() if(NOT DATA_OUT_DIR) set(DATA_OUT_DIR "/share/obs/obs-plugins/transition-table") endif() set_target_properties(transition-table PROPERTIES PREFIX "") install(TARGETS transition-table LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/${LIB_OUT_DIR}) install(DIRECTORY data/locale DESTINATION ${CMAKE_INSTALL_PREFIX}/${DATA_OUT_DIR}) else() target_include_directories(transition-table PRIVATE "${CMAKE_SOURCE_DIR}/UI/obs-frontend-api") set_target_properties(transition-table PROPERTIES FOLDER "plugins/exeldro") install_obs_plugin_with_data(transition-table data) endif() obs-transition-table-0.2.1/LICENSE000066400000000000000000000432541417615034300165730ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. obs-transition-table-0.2.1/README.md000066400000000000000000000010211417615034300170270ustar00rootroot00000000000000# Transition Table for OBS Studio Plugin for OBS Studio to add a Transition Table to the tools menu. Inspired by https://github.com/admshao/obs-transition-matrix # Download https://obsproject.com/forum/resources/transition-table.1174/ # Build - Build OBS Studio: https://obsproject.com/wiki/Install-Instructions - Check out this repository to UI/frontend-plugins/transition-table - Add `add_subdirectory(transition-table)` to UI/frontend-plugins/CMakeLists.txt - Rebuild OBS Studio # Donations https://www.paypal.me/exeldro obs-transition-table-0.2.1/data/000077500000000000000000000000001417615034300164675ustar00rootroot00000000000000obs-transition-table-0.2.1/data/locale/000077500000000000000000000000001417615034300177265ustar00rootroot00000000000000obs-transition-table-0.2.1/data/locale/en-US.ini000066400000000000000000000004301417615034300213530ustar00rootroot00000000000000TransitionTable="Transition Table" Description="Transition Table" FromScene="From" ToScene="To" Transition="Transition" Duration="Duration" Set="Set" Delete="Delete" Close="Close" TransitionTable.Enable="Transition Table Enable" TransitionTable.Disable="Transition Table Disable" obs-transition-table-0.2.1/data/locale/pt-BR.ini000066400000000000000000000004731417615034300213570ustar00rootroot00000000000000TransitionTable="Tabela de TransiУЇУЃo" Description="Tabela de TransiУЇУЃo" FromScene="De" ToScene="Para" Transition="TransiУЇУЃo" Duration="DuraУЇУЃo" Set="Criar" Delete="Deletar" Close="Fechar" TransitionTable.Enable="Tabela de TransiУЇУЃo Habilitada" TransitionTable.Disable="Tabela de TransiУЇУЃo Desabilitada" obs-transition-table-0.2.1/installer.iss.in000066400000000000000000000076771417615034300207210ustar00rootroot00000000000000; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "@PROJECT_FULL_NAME@" #define MyAppVersion "@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@" #define MyAppPublisher "Exeldro" [Setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) ; app Information AppId={{BAF585C6-93B0-4449-80FB-4CD5671E12AC}} AppName={#MyAppName} AppVersion={#MyAppVersion} AppPublisher={#MyAppPublisher} AppMutex={#MyAppName} VersionInfoVersion={#MyAppVersion} VersionInfoCompany={#MyAppPublisher} VersionInfoDescription={#MyAppName} Setup ; Compression Compression=lzma2/ultra64 SolidCompression=yes LZMAAlgorithm=1 ; Other Information DefaultDirName={code:GetDirName} DefaultGroupName={#MyAppName} AllowNoIcons=yes OutputDir="@ISS_FILES_DIR@" OutputBaseFilename=@PROJECT_NAME@-installer ; Wizard Information WizardStyle=modern WizardResizable=yes SetupIconFile="@PROJECT_SOURCE_DIR@/media/icon.ico" [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" [Files] Source: "@ISS_FILES_DIR@/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "@ISS_PACKAGE_DIR@/msvc-redist-helper.exe"; DestDir: "{app}"; DestName: "msvc-redist-helper.exe"; Flags: ignoreversion dontcopy noencryption ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" [Code] function GetDirName(Value: string): string; var InstallPath: string; begin // initialize default path, which will be returned when the following registry // key queries fail due to missing keys or for some different reason Result := ExpandConstant('{pf}\obs-studio'); // query the first registry value; if this succeeds, return the obtained value if RegQueryStringValue(HKLM32, 'SOFTWARE\OBS Studio', '', InstallPath) then Result := InstallPath end; ///////////////////////////////////////////////////////////////////// function GetUninstallString(): String; var sUnInstPath: String; sUnInstallString: String; begin sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\{#emit SetupSetting("AppId")}_is1'); sUnInstallString := ''; if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString); Result := sUnInstallString; end; ///////////////////////////////////////////////////////////////////// function IsUpgrade(): Boolean; begin Result := (GetUninstallString() <> ''); end; ///////////////////////////////////////////////////////////////////// function UnInstallOldVersion(): Integer; var sUnInstallString: String; iResultCode: Integer; begin // Return Values: // 1 - uninstall string is empty // 2 - error executing the UnInstallString // 3 - successfully executed the UnInstallString // default return value Result := 0; // get the uninstall string of the old app sUnInstallString := GetUninstallString(); if sUnInstallString <> '' then begin sUnInstallString := RemoveQuotes(sUnInstallString); if Exec(sUnInstallString, '/VERYSILENT /NORESTART /SUPPRESSMSGBOXES','', SW_HIDE, ewWaitUntilTerminated, iResultCode) then Result := 3 else Result := 2; end else Result := 1; end; ///////////////////////////////////////////////////////////////////// procedure CurStepChanged(CurStep: TSetupStep); var ResultCode: Integer; begin if (CurStep=ssInstall) then begin if (IsUpgrade()) then begin UnInstallOldVersion(); end; end; if (CurStep=ssPostInstall) then begin ExtractTemporaryFile('msvc-redist-helper.exe'); Exec(ExpandConstant('{tmp}\msvc-redist-helper.exe'), '2019', '', SW_HIDE, ewWaitUntilTerminated, ResultCode); end; end; obs-transition-table-0.2.1/media/000077500000000000000000000000001417615034300166355ustar00rootroot00000000000000obs-transition-table-0.2.1/media/icon.ico000066400000000000000000000734261417615034300202750ustar00rootroot00000000000000 hV ˆ О  ЈF00 Ј%юпц€2–D(  УУџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџќќќџђђђџёёёџёёёџёёёџёёёџёёёџёёёџёёёџёёёџёёёџјјјџџџџџџџџџџџџџџџџџнннџМММџШШШџЖЖЖџЗЗЗџШШШџАААџПППџИИИџЖЖЖџЦЦЦџХХХџўўўџџџџџџџџџџџџџеееџДДДџФФФџ­­­џЎЎЎџФФФџЄЄЄџЙЙЙџЏЏЏџ­­­џТТТџЙЙЙџ§§§џџџџџџџџџџџџџжжжџЛЛЛџЬЬЬџДДДџЕЕЕџЬЬЬџЋЋЋџРРРџЖЖЖџДДДџЪЪЪџМММџ§§§џџџџџџџџџџџџџжжжџИИИџШШШџБББџВВВџШШШџЈЈЈџНННџГГГџБББџЦЦЦџЛЛЛџ§§§џџџџџџџџџџџџџжжжџЛЛЛџЬЬЬџДДДџЕЕЕџЬЬЬџЋЋЋџСССџЖЖЖџДДДџЪЪЪџМММџ§§§џџџџџџџџџџџџџжжжџИИИџЩЩЩџБББџВВВџЩЩЩџЈЈЈџНННџГГГџБББџЦЦЦџЛЛЛџ§§§џџџџџџџџџџџџџжжжџЗЗЗџШШШџАААџБББџШШШџЈЈЈџМММџВВВџБББџЦЦЦџЛЛЛџ§§§џџџџџџџџџџџџџдддџЃЃЃџЎЎЎџžžžџžžžџЎЎЎџ–––џІІІџžžžџџ­­­џДДДџўўўџџџџџџџџџџџџџдддџžžžџЇЇЇџ™™™џ™™™џЇЇЇџ”””џЁЁЁџšššџ˜˜˜џІІІџГГГџўўўџџџџџџџџџџџџџзззџŒŒŒџ‹‹‹џŽŽŽџ‹‹‹џ‹‹‹џџџ”””џџ’’’џМММџўўўџџџџџџџџџџџџџѕѕѕџоооџпппџнннџнннџпппџмммџоооџнннџнннџпппџъъъџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ(0 УУџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџќќќџаааџЩЩЩџЩЩЩџЩЩЩџФФФџФФФџЩЩЩџЩЩЩџЦЦЦџТТТџЩЩЩџШШШџРРРџШШШџЩЩЩџЦЦЦџцццџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџЅЅЅџбббџвввџвввџ­­­џЏЏЏџвввџвввџМММџЂЂЂџвввџЮЮЮџ———џЭЭЭџвввџМММџПППџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџ›››џРРРџРРРџРРРџžžžџ   џРРРџРРРџЋЋЋџ“““џРРРџНННџŠŠŠџЛЛЛџРРРџЋЋЋџМММџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџ›››џПППџПППџПППџџŸŸŸџПППџПППџЋЋЋџ“““џПППџМММџ‰‰‰џКККџПППџЊЊЊџМММџџџџџџџџџџџџџџџџџџџџџџџџџђђђџЈЈЈџкккџкккџкккџДДДџЖЖЖџкккџкккџУУУџЈЈЈџкккџжжжџџеееџкккџУУУџПППџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџџУУУџФФФџФФФџЁЁЁџЃЃЃџФФФџФФФџЏЏЏџ–––џФФФџРРРџŒŒŒџПППџФФФџЏЏЏџМММџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџœœœџСССџСССџСССџŸŸŸџЁЁЁџСССџСССџ­­­џ”””џСССџОООџ‹‹‹џМММџСССџЌЌЌџМММџџџџџџџџџџџџџџџџџџџџџџџџџђђђџЈЈЈџкккџкккџкккџДДДџЖЖЖџкккџкккџУУУџЈЈЈџкккџзззџџеееџкккџУУУџПППџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџџТТТџУУУџУУУџ   џЂЂЂџУУУџУУУџЎЎЎџ•••џУУУџПППџŒŒŒџОООџУУУџЎЎЎџМММџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџџТТТџУУУџУУУџ   џЂЂЂџУУУџУУУџЎЎЎџ•••џУУУџПППџŒŒŒџОООџУУУџЎЎЎџМММџџџџџџџџџџџџџџџџџџџџџџџџџђђђџЄЄЄџвввџгггџгггџ­­­џЏЏЏџгггџгггџМММџЂЂЂџгггџЯЯЯџ———џЮЮЮџгггџМММџОООџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџ–––џЊЊЊџЊЊЊџЊЊЊџ“““џ”””џЊЊЊџЊЊЊџ›››џˆˆˆџЊЊЊџЈЈЈџ‚‚‚џЊЊЊџЌЌЌџžžžџМММџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџ–––џЋЋЋџЋЋЋџЋЋЋџ’’’џ”””џЋЋЋџЋЋЋџœœœџŠŠŠџЋЋЋџЉЉЉџ€€€џЅЅЅџЈЈЈџ™™™џЛЛЛџџџџџџџџџџџџџџџџџџџџџџџџџѓѓѓџ•••џЉЉЉџЉЉЉџЉЉЉџ‘‘‘џ’’’џЉЉЉџЉЉЉџ›››џ‰‰‰џЉЉЉџЇЇЇџ€€€џІІІџЉЉЉџšššџЛЛЛџџџџџџџџџџџџџџџџџџџџџџџџџєєєџ“““џ‚‚‚џ€€€џ€€€џџ†††џ€€€џ€€€џџ‘‘‘џџ‘‘‘џ———џŠŠŠџ€€€џЂЂЂџУУУџџџџџџџџџџџџџџџџџџџџџџџџџјјјџЊЊЊџЅЅЅџЅЅЅџЅЅЅџžžžџœœœџЅЅЅџЅЅЅџЂЂЂџ›››џЅЅЅџЇЇЇџ™™™џІІІџЅЅЅџІІІџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџћћћџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџјјјџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ( @ УУџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ§§§џїїїџіііџіііџіііџіііџїїїџїїїџіііџіііџіііџіііџїїїџіііџіііџіііџїїїџїїїџіііџіііџіііџјјјџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџСССџ˜˜˜џЄЄЄџЄЄЄџЄЄЄџЄЄЄџџџЄЄЄџЄЄЄџЄЄЄџЂЂЂџƒƒƒџŸŸŸџЄЄЄџЄЄЄџџŽŽŽџЄЄЄџЄЄЄџЄЄЄџ“““џрррџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ­­­џЪЪЪџьььџьььџьььџьььџГГГџЗЗЗџьььџьььџьььџщщщџ”””џрррџьььџьььџИИИџВВВџьььџьььџьььџЌЌЌџЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЇЇЇџџІІІџІІІџІІІџІІІџџџІІІџІІІџІІІџЄЄЄџiiiџžžžџІІІџІІІџ‚‚‚џ~~~џІІІџІІІџІІІџџЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ­­­џОООџнннџнннџнннџнннџЉЉЉџЌЌЌџнннџнннџнннџкккџŒŒŒџвввџнннџнннџ­­­џЈЈЈџнннџнннџнннџЃЃЃџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЈЈЈџ˜˜˜џАААџАААџАААџАААџ‡‡‡џŠŠŠџАААџАААџАААџЎЎЎџpppџЇЇЇџАААџАААџŠŠŠџ†††џАААџАААџАААџ†††џЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЎЎЎџЪЪЪџыыыџыыыџыыыџыыыџДДДџЗЗЗџыыыџыыыџыыыџшшшџ•••џпппџыыыџыыыџИИИџГГГџыыыџыыыџыыыџ­­­џаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЇЇЇџ’’’џЊЊЊџЊЊЊџЊЊЊџЊЊЊџ‚‚‚џ………џЊЊЊџЊЊЊџЊЊЊџЈЈЈџlllџЂЂЂџЊЊЊџЊЊЊџ†††џџЊЊЊџЊЊЊџЊЊЊџ‚‚‚џЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ­­­џФФФџфффџфффџфффџфффџЎЎЎџВВВџфффџфффџфффџсссџџйййџфффџфффџГГГџ­­­џфффџфффџфффџЈЈЈџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЈЈЈџ•••џ­­­џ­­­џ­­­џ­­­џ„„„џ‡‡‡џ­­­џ­­­џ­­­џЋЋЋџnnnџЄЄЄџ­­­џ­­­џˆˆˆџ„„„џ­­­џ­­­џ­­­џ„„„џЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЎЎЎџЬЬЬџюююџюююџюююџюююџЖЖЖџКККџюююџюююџюююџыыыџ———џтттџюююџюююџЛЛЛџЕЕЕџюююџюююџюююџЏЏЏџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЇЇЇџџЈЈЈџЈЈЈџЈЈЈџЈЈЈџ€€€џƒƒƒџЈЈЈџЈЈЈџЈЈЈџІІІџjjjџ   џЈЈЈџЈЈЈџ„„„џ€€€џЈЈЈџЈЈЈџЈЈЈџ€€€џЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЎЎЎџЦЦЦџчччџчччџчччџчччџАААџДДДџчччџчччџчччџфффџ’’’џлллџчччџчччџЕЕЕџЏЏЏџчччџчччџчччџЊЊЊџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЇЇЇџ“““џЌЌЌџЌЌЌџЌЌЌџЌЌЌџƒƒƒџ†††џЌЌЌџЌЌЌџЌЌЌџЉЉЉџmmmџЃЃЃџЌЌЌџЌЌЌџ‡‡‡џ‚‚‚џЌЌЌџЌЌЌџЌЌЌџ‚‚‚џЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ­­­џФФФџфффџфффџфффџфффџЎЎЎџБББџфффџфффџфффџсссџџиииџфффџфффџГГГџ­­­џфффџфффџфффџЈЈЈџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЈЈЈџџœœœџœœœџœœœџœœœџ€€€џ‚‚‚џœœœџœœœџœœœџ›››џkkkџ———џœœœџœœœџ€€€џџЂЂЂџЁЁЁџЂЂЂџџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЊЊЊџ›››џЏЏЏџЏЏЏџЏЏЏџЏЏЏџŒŒŒџџЏЏЏџЏЏЏџЏЏЏџЎЎЎџuuuџЈЈЈџЏЏЏџЏЏЏџŽŽŽџŠŠŠџЊЊЊџЉЉЉџЊЊЊџ‰‰‰џаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЋЋЋџЂЂЂџГГГџГГГџГГГџГГГџ”””џ–––џГГГџГГГџГГГџДДДџџЏЏЏџГГГџГГГџ“““џџГГГџГГГџГГГџŽŽŽџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЇЇЇџџЁЁЁџЁЁЁџЁЁЁџЁЁЁџ}}}џ€€€џЁЁЁџЁЁЁџЁЁЁџ   џiiiџšššџЁЁЁџЁЁЁџџ|||џЁЁЁџЁЁЁџЁЁЁџ|||џЯЯЯџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЏЏЏџ‰‰‰џ~~~џ~~~џ~~~џџ———џ‰‰‰џ~~~џ~~~џ~~~џ’’’џ‘‘‘џ———џ~~~џ„„„џІІІџ———џџ~~~џ”””џЉЉЉџаааџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ­­­џџ‘‘‘џ‘‘‘џ‘‘‘џ“““џџ‡‡‡џ‘‘‘џ‘‘‘џ‘‘‘џ›››џ€€€џ›››џ‘‘‘џ•••џ———џџ“““џ‘‘‘џџ˜˜˜џбббџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџтттџНННџРРРџРРРџРРРџРРРџКККџЛЛЛџРРРџРРРџРРРџПППџЗЗЗџОООџРРРџРРРџКККџКККџРРРџРРРџРРРџПППџђђђџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ(0` $УУџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџАААџ~~~џƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџyyyџzzzџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџ€€€џtttџ‚‚‚џƒƒƒџƒƒƒџƒƒƒџƒƒƒџzzzџyyyџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџ€€€џЈЈЈџўўўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ{{{џЗЗЗџкккџкккџкккџкккџкккџкккџкккџŠŠŠџ’’’џкккџкккџкккџкккџкккџкккџСССџfffџжжжџкккџкккџкккџкккџ”””џˆˆˆџкккџкккџкккџкккџкккџРРРџsssџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ€€€џеееџ§§§џ§§§џ§§§џ§§§џ§§§џ§§§џ§§§џЂЂЂџЋЋЋџ§§§џ§§§џ§§§џ§§§џ§§§џ§§§џрррџyyyџљљљџ§§§џ§§§џ§§§џ§§§џЎЎЎџ   џ§§§џ§§§џ§§§џ§§§џ§§§џпппџzzzџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџiiiџ}}}џ}}}џ}}}џ}}}џ}}}џ}}}џ}}}џPPPџUUUџ}}}џ}}}џ}}}џ}}}џ}}}џ}}}џoooџ<<<џ{{{џ}}}џ}}}џ}}}џ}}}џVVVџOOOџ}}}џ}}}џ}}}џ}}}џ}}}џnnnџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ~~~џСССџцццџцццџцццџцццџцццџцццџцццџ”””џœœœџцццџцццџцццџцццџцццџцццџЬЬЬџnnnџтттџцццџцццџцццџцццџžžžџ’’’џцццџцццџцццџцццџцццџЫЫЫџwwwџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ~~~џНННџсссџсссџсссџсссџсссџсссџсссџ‘‘‘џ˜˜˜џсссџсссџсссџсссџсссџсссџШШШџkkkџнннџсссџсссџсссџсссџšššџџсссџсссџсссџсссџсссџЧЧЧџvvvџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџkkkџџџџџџџџRRRџVVVџџџџџџџqqqџ===џ}}}џџџџџWWWџQQQџџџџџџpppџiiiџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ€€€џеееџ§§§џ§§§џ§§§џ§§§џ§§§џ§§§џ§§§џЃЃЃџЌЌЌџ§§§џ§§§џ§§§џ§§§џ§§§џ§§§џсссџyyyџљљљџ§§§џ§§§џ§§§џ§§§џЎЎЎџЁЁЁџ§§§џ§§§џ§§§џ§§§џ§§§џрррџzzzџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЩЩЩџяяяџяяяџяяяџяяяџяяяџяяяџяяяџ™™™џЂЂЂџяяяџяяяџяяяџяяяџяяяџяяяџдддџrrrџыыыџяяяџяяяџяяяџяяяџЄЄЄџ———џяяяџяяяџяяяџяяяџяяяџгггџxxxџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџfffџyyyџyyyџyyyџyyyџyyyџyyyџyyyџNNNџRRRџyyyџyyyџyyyџyyyџyyyџyyyџlllџ:::џwwwџyyyџyyyџyyyџyyyџSSSџMMMџyyyџyyyџyyyџyyyџyyyџkkkџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ€€€џЮЮЮџѕѕѕџѕѕѕџѕѕѕџѕѕѕџѕѕѕџѕѕѕџѕѕѕџžžžџІІІџѕѕѕџѕѕѕџѕѕѕџѕѕѕџѕѕѕџѕѕѕџкккџuuuџёёёџѕѕѕџѕѕѕџѕѕѕџѕѕѕџЈЈЈџ›››џѕѕѕџѕѕѕџѕѕѕџѕѕѕџѕѕѕџиииџyyyџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ~~~џТТТџчччџчччџчччџчччџчччџчччџчччџ”””џœœœџчччџчччџчччџчччџчччџчччџЬЬЬџnnnџуууџчччџчччџчччџчччџžžžџ’’’џчччџчччџчччџчччџчччџЫЫЫџwwwџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџhhhџ|||џ|||џ|||џ|||џ|||џ|||џ|||џPPPџTTTџ|||џ|||џ|||џ|||џ|||џ|||џnnnџ;;;џzzzџ|||џ|||џ|||џ|||џUUUџOOOџ|||џ|||џ|||џ|||џ|||џmmmџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ€€€џвввџњњњџњњњџњњњџњњњџњњњџњњњџњњњџЁЁЁџЊЊЊџњњњџњњњџњњњџњњњџњњњџњњњџоооџwwwџіііџњњњџњњњџњњњџњњњџЌЌЌџŸŸŸџњњњџњњњџњњњџњњњџњњњџнннџzzzџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЭЭЭџєєєџєєєџєєєџєєєџєєєџєєєџєєєџœœœџЅЅЅџєєєџєєєџєєєџєєєџєєєџєєєџиииџtttџ№№№џєєєџєєєџєєєџєєєџЇЇЇџšššџєєєџєєєџєєєџєєєџєєєџзззџyyyџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџsssџfffџyyyџyyyџyyyџyyyџyyyџyyyџyyyџNNNџRRRџyyyџyyyџyyyџyyyџyyyџyyyџlllџ:::џwwwџyyyџyyyџyyyџyyyџSSSџMMMџyyyџyyyџyyyџyyyџyyyџkkkџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЪЪЪџ№№№џ№№№џ№№№џ№№№џ№№№џ№№№џ№№№џšššџЃЃЃџ№№№џ№№№џ№№№џ№№№џ№№№џ№№№џеееџsssџьььџ№№№џ№№№џ№№№џ№№№џЅЅЅџ˜˜˜џ№№№џ№№№џ№№№џ№№№џ№№№џдддџxxxџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЧЧЧџэээџэээџэээџэээџэээџэээџэээџ˜˜˜џ   џэээџэээџэээџэээџэээџэээџвввџqqqџщщщџэээџэээџэээџэээџЂЂЂџ–––џэээџэээџэээџэээџэээџбббџxxxџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџgggџzzzџzzzџzzzџzzzџzzzџzzzџzzzџNNNџSSSџzzzџzzzџzzzџzzzџzzzџzzzџlllџ:::џxxxџzzzџzzzџzzzџzzzџTTTџMMMџzzzџzzzџzzzџzzzџzzzџlllџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ€€€џаааџјјјџјјјџјјјџјјјџјјјџјјјџјјјџŸŸŸџЈЈЈџјјјџјјјџјјјџјјјџјјјџјјјџмммџvvvџєєєџјјјџјјјџјјјџјјјџЊЊЊџџјјјџјјјџјјјџјјјџјјјџкккџyyyџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ~~~џПППџуууџуууџуууџуууџуууџуууџуууџ’’’џšššџуууџуууџуууџуууџуууџуууџЪЪЪџlllџрррџуууџуууџуууџуууџœœœџџуууџуууџуууџуууџуууџЩЩЩџvvvџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџgggџxxxџwwwџwwwџwwwџwwwџwwwџxxxџPPPџTTTџxxxџwwwџwwwџwwwџwwwџwwwџlllџ<<<џwwwџwwwџwwwџwwwџxxxџTTTџPPPџ}}}џ}}}џ}}}џ}}}џ}}}џoooџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЧЧЧџбббџбббџбббџбббџбббџбббџзззџŸŸŸџІІІџжжжџбббџбббџбббџбббџбббџЦЦЦџwwwџеееџбббџбббџбббџвввџЁЁЁџџиииџбббџбббџбббџбббџЯЯЯџ{{{џћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџvvvџџ———џ———џ———џ———џ———џ———џ———џaaaџfffџ———џ———џ———џ———џ———џ———џ†††џHHHџ”””џ———џ———џ———џ———џhhhџ___џ’’’џ‘‘‘џ‘‘‘џ‘‘‘џ‘‘‘џƒƒƒџlllџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ{{{џœœœџ­­­џ­­­џ­­­џ­­­џ­­­џ­­­џАААџzzzџ€€€џЏЏЏџ­­­џ­­­џ­­­џ­­­џ­­­џЃЃЃџ]]]џБББџ­­­џ­­­џ­­­џ­­­џџvvvџЎЎЎџ­­­џ­­­џ­­­џ­­­џŸŸŸџrrrџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџЗЗЗџХХХџФФФџФФФџФФФџФФФџФФФџЩЩЩџ‘‘‘џ˜˜˜џШШШџФФФџФФФџФФФџФФФџФФФџПППџoooџЭЭЭџФФФџФФФџФФФџХХХџ”””џŠŠŠџЦЦЦџФФФџФФФџФФФџФФФџЗЗЗџwwwџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџtttџlllџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџ‚‚‚џQQQџVVVџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџƒƒƒџqqqџ;;;џџƒƒƒџƒƒƒџƒƒƒџ‚‚‚џVVVџPPPџ‚‚‚џƒƒƒџƒƒƒџƒƒƒџ‚‚‚џpppџhhhџ§§§џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџАААџЋЋЋџЊЊЊџЊЊЊџЊЊЊџЊЊЊџЊЊЊџКККџœœœџ———џЏЏЏџЊЊЊџЊЊЊџЊЊЊџЊЊЊџЌЌЌџФФФџzzzџЪЪЪџЊЊЊџЊЊЊџЊЊЊџТТТџЊЊЊџ™™™џЛЛЛџЊЊЊџЊЊЊџЊЊЊџМММџиииџzzzџћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ„„„џ………џMMMџLLLџLLLџLLLџLLLџLLLџmmmџ˜˜˜џ‚‚‚џVVVџLLLџLLLџLLLџLLLџOOOџЅЅЅџџ•••џLLLџLLLџLLLџџЌЌЌџ•••џoooџLLLџLLLџLLLџpppџзззџ|||џћћћџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ{{{џŸŸŸџЙЙЙџЙЙЙџЙЙЙџЙЙЙџЙЙЙџЙЙЙџЛЛЛџzzzџџКККџЙЙЙџЙЙЙџЙЙЙџЙЙЙџКККџЉЉЉџ[[[џКККџЙЙЙџЙЙЙџЙЙЙџМММџƒƒƒџyyyџЛЛЛџЙЙЙџЙЙЙџЙЙЙџМММџЉЉЉџrrrџќќќџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџХХХџ•••џ———џ———џ———џ———џ———џ———џ———џ“““џ“““џ———џ———џ———џ———џ———џ———џ–––џ‘‘‘џ———џ———џ———џ———џ———џ“““џ“““џ———џ———џ———џ———џ———џ•••џНННџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ(пЬ(УУџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў8ЧŒџџџЧџџџўџџџџў?џџџџЧџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў8ЧŽЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџўџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў8ЧЧџџџўџџџџў0ЦŽЧџџџўџџџџў0ЦŽЧџџџўџџџџў0ЦŽЧџџџўџџџџў8ЧЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџў?џџџџЧџџџџџџџџџџЧџџџўџџџџўџџџўџџџџўџџџўџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџўobs-transition-table-0.2.1/media/logo.png000066400000000000000000000021501417615034300203010ustar00rootroot00000000000000‰PNG  IHDRпцUŒPIsRGBЎЮщgAMAБ ќa pHYsФФ•+§IDATx^эл[nт@@С0ћпs‘P†s™Ўњ™(јЊ›36Ф>Мzžюпё_рЩФёAD|DФёAD|DФёAD|DФёAD|DФёAD|DФёAD|DФёAD|DФёAD|DФёAD|DФёAD|9М:ў<всp8ўї›єv}цЋMzOЙь„ШшЫЮгџЅ†_žЕœmЪКLмg>ˆˆ"тƒˆј ђ’_ИœўОђsй&Эzэl_VЮїѓЕП<ыипЮЭ№хЗ9*/wц{Ф†нтš9ЊYЏ=юъљўђzZ›jЭoсВ"тƒШЫХ7хz§š9ЊYЏ=юъљўђzZ›jЭoс—E&ЯZЮ6e]&юЫNˆˆ"тƒˆј ђ2_ИР*ОpЭ‰"ўЮЗШфYЫйІЌЫФ§qцƒˆј ">ˆx˜і—fš0k=лїqЮћ™kђл5_И,2yжrЖ)ы2q\vBD|DмлЩv|цƒЭ‰"ўдАШфYЫйІЌЫФ§qцƒˆј ">ˆјЬЗˆЯ|ч]:іщяхвёІьЋяpЭц–Г~ЯqnЖGЯѕлБ Sц8хЬЗШфYЫйФw™Я|DмлЩv\vТцФпv.2yжrЖ)ы2qœљ ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆxЊэИН 6'>ˆxЊa‘ЩГ–ГMY—‰ћуЬёAD|DФёAD|DФёAФS lЧэeА9ёAФS ‹LžЕœmЪКLмg>ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆGŠиŽ{;asтƒˆGŠ™ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆxЄˆэИЗ6'>ˆxЄh‘ЩГ–ГMY—‰ћуЬёAD|DФёAD|DФ7VГwИРцФ7V/2yжrЖ)ы2qœљ ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆxЊэИН 67:ОС'e^дЄїдшЫNјŸЙь„ˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆ"тƒˆј ">ˆˆooЈўлFйуГIENDЎB`‚obs-transition-table-0.2.1/resource.rc.in000066400000000000000000000016531417615034300203450ustar00rootroot000000000000001 VERSIONINFO FILEVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0 PRODUCTVERSION ${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0 FILEFLAGSMASK 0x0L #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x0L FILETYPE 0x2L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "CompanyName", "Exeldro" VALUE "FileDescription", "${PROJECT_FULL_NAME}" VALUE "FileVersion", "${PROJECT_VERSION}" VALUE "InternalName", "${PROJECT_NAME}" VALUE "LegalCopyright", "(C) Exeldro" VALUE "OriginalFilename", "${PROJECT_NAME}" VALUE "ProductName", "${PROJECT_FULL_NAME}" VALUE "ProductVersion", "${PROJECT_VERSION}" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END obs-transition-table-0.2.1/transition-table.cpp000066400000000000000000000502461417615034300215500ustar00rootroot00000000000000 #include "transition-table.hpp" #include "version.h" #include #include #include #include #include #include #include #include #include #include #include #include #include OBS_DECLARE_MODULE() OBS_MODULE_AUTHOR("Exeldro"); OBS_MODULE_USE_DEFAULT_LOCALE("transition-table", "en-US") using namespace std; struct transition_info { string transition; int duration; }; map> transition_table; int transition_table_width = 0; int transition_table_height = 0; obs_hotkey_pair_id transition_table_hotkey = OBS_INVALID_HOTKEY_PAIR_ID; static void load_transition_matrix(obs_data_t *obj) { obs_data_array_t *transitions = obs_data_get_array(obj, "matrix"); if (!transitions) return; const size_t count = obs_data_array_count(transitions); for (size_t i = 0; i < count; i++) { obs_data_t *transition = obs_data_array_item(transitions, i); string fromScene = obs_data_get_string(transition, "scene"); obs_data_array_t *data = obs_data_get_array(transition, "data"); const size_t transition_count = obs_data_array_count(data); for (size_t j = 0; j < transition_count; j++) { obs_data_t *transition2 = obs_data_array_item(data, j); string toScene = obs_data_get_string(transition2, "to"); if (!fromScene.empty() && !toScene.empty()) { transition_table[fromScene][toScene].transition = obs_data_get_string(transition2, "transition"); transition_table[fromScene][toScene].duration = obs_data_get_int(transition2, "duration"); } obs_data_release(transition2); } obs_data_array_release(data); obs_data_release(transition); } obs_data_array_release(transitions); } static void frontend_save_load(obs_data_t *save_data, bool saving, void *) { if (saving) { obs_data_t *obj = obs_data_create(); obs_data_array_t *transitions = obs_data_array_create(); obs_data_set_obj(save_data, "transition-table", obj); for (const auto &it : transition_table) { for (const auto &it2 : it.second) { obs_data_t *transition = obs_data_create(); obs_data_set_string(transition, "from_scene", it.first.c_str()); obs_data_set_string(transition, "to_scene", it2.first.c_str()); obs_data_set_string( transition, "transition", it2.second.transition.c_str()); obs_data_set_int(transition, "duration", it2.second.duration); obs_data_array_push_back(transitions, transition); } } obs_data_set_array(obj, "transitions", transitions); if (transition_table_width > 500 && transition_table_height > 300) { obs_data_set_int(obj, "dialog_width", transition_table_width); obs_data_set_int(obj, "dialog_height", transition_table_height); } obs_data_array_t *data0 = nullptr; obs_data_array_t *data1 = nullptr; obs_hotkey_pair_save(transition_table_hotkey, &data0, &data1); if (data0) { obs_data_set_array(obj, "enable_hotkey", data0); obs_data_array_release(data0); } if (data1) { obs_data_set_array(obj, "disable_hotkey", data1); obs_data_array_release(data1); } obs_data_set_obj(save_data, "transition-table", obj); obs_data_array_release(transitions); obs_data_release(obj); } else { transition_table.clear(); obs_data_t *obj = obs_data_get_obj(save_data, "transition-table"); if (obj) { transition_table_width = obs_data_get_int(obj, "dialog_width"); transition_table_height = obs_data_get_int(obj, "dialog_height"); obs_data_array_t *eh = obs_data_get_array(obj, "enable_hotkey"); obs_data_array_t *dh = obs_data_get_array(obj, "disable_hotkey"); obs_hotkey_pair_load(transition_table_hotkey, eh, dh); obs_data_array_release(eh); obs_data_array_release(dh); obs_data_array_t *transitions = obs_data_get_array(obj, "transitions"); if (transitions) { size_t count = obs_data_array_count(transitions); for (size_t i = 0; i < count; i++) { obs_data_t *transition = obs_data_array_item(transitions, i); string fromScene = obs_data_get_string( transition, "from_scene"); string toScene = obs_data_get_string( transition, "to_scene"); string transitionName = obs_data_get_string( transition, "transition"); bool custom_duration = obs_data_get_bool( transition, "custom_duration"); const uint32_t duration = obs_data_get_int(transition, "duration"); transition_table[fromScene][toScene] .transition = transitionName; transition_table[fromScene][toScene] .duration = duration; obs_data_release(transition); } obs_data_array_release(transitions); } obs_data_release(obj); } else { obj = obs_data_get_obj(save_data, "obs-transition-matrix"); if (obj) { load_transition_matrix(obj); obs_data_release(obj); } obs_frontend_source_list scenes = {}; obs_frontend_get_scenes(&scenes); for (size_t i = 0; i < scenes.sources.num; i++) { obs_data_t *data = obs_source_get_private_settings( scenes.sources.array[i]); string transitionName = obs_data_get_string(data, "transition"); string sceneName = obs_source_get_name( scenes.sources.array[i]); if (!transitionName.empty()) { transition_table["Any"][sceneName] .transition = transitionName; transition_table["Any"][sceneName] .duration = obs_data_get_int( data, "transition_duration"); } obs_data_release(data); } obs_frontend_source_list_free(&scenes); } } } static void clear_transition_overrides() { obs_frontend_source_list scenes = {}; obs_frontend_get_scenes(&scenes); for (size_t i = 0; i < scenes.sources.num; i++) { obs_data_t *data = obs_source_get_private_settings( scenes.sources.array[i]); obs_data_erase(data, "transition"); obs_data_release(data); } obs_frontend_source_list_free(&scenes); } static void set_transition_overrides() { obs_source_t *scene = obs_frontend_get_current_scene(); string fromScene = obs_source_get_name(scene); obs_source_release(scene); auto fs_it = fromScene.empty() ? transition_table.end() : transition_table.find(fromScene); auto as_it = transition_table.find("Any"); obs_frontend_source_list scenes = {}; obs_frontend_get_scenes(&scenes); for (size_t i = 0; i < scenes.sources.num; i++) { string toScene = obs_source_get_name(scenes.sources.array[i]); string transition; auto duration = 0; if (fs_it != transition_table.end()) { auto to_it = fs_it->second.find(toScene); if (to_it == fs_it->second.end()) { to_it = fs_it->second.find("Any"); } if (to_it != fs_it->second.end()) { transition = to_it->second.transition; duration = to_it->second.duration; } } if (transition.empty() && as_it != transition_table.end()) { auto to_it = as_it->second.find(toScene); if (to_it == as_it->second.end()) { to_it = as_it->second.find("Any"); } if (to_it != as_it->second.end()) { transition = to_it->second.transition; duration = to_it->second.duration; } } obs_data_t *data = obs_source_get_private_settings( scenes.sources.array[i]); if (transition.empty()) { obs_data_erase(data, "transition"); } else { obs_data_set_string(data, "transition", transition.c_str()); obs_data_set_int(data, "transition_duration", duration); } obs_data_release(data); } obs_frontend_source_list_free(&scenes); } static bool transition_table_enabled = true; static void frontend_event(enum obs_frontend_event event, void *) { if (event == OBS_FRONTEND_EVENT_SCENE_CHANGED) { if (transition_table_enabled) set_transition_overrides(); } else if (event == OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP || event == OBS_FRONTEND_EVENT_EXIT) { transition_table.clear(); } } static void source_rename(void *data, calldata_t *call_data) { string new_name = calldata_string(call_data, "new_name"); string prev_name = calldata_string(call_data, "prev_name"); auto it = transition_table.find(prev_name); if (it != transition_table.end()) { transition_table[new_name] = it->second; transition_table.erase(it); } for (const auto &it : transition_table) { auto it2 = it.second.find(prev_name); if (it2 != it.second.end()) { transition_table[it.first][new_name] = it2->second; transition_table[it.first].erase(it2); } } } bool enable_hotkey(void *data, obs_hotkey_pair_id id, obs_hotkey_t *hotkey, bool pressed) { if (!transition_table_enabled && pressed) { transition_table_enabled = true; set_transition_overrides(); return true; } return false; } bool disable_hotkey(void *data, obs_hotkey_pair_id id, obs_hotkey_t *hotkey, bool pressed) { if (transition_table_enabled && pressed) { transition_table_enabled = false; clear_transition_overrides(); return true; } return false; } bool obs_module_load(void) { blog(LOG_INFO, "[Transition Table] loaded version %s", PROJECT_VERSION); auto *action = (QAction *)obs_frontend_add_tools_menu_qaction( obs_module_text("TransitionTable")); auto cb = [] { obs_frontend_push_ui_translation(obs_module_get_string); auto ttd = new TransitionTableDialog( (QMainWindow *)obs_frontend_get_main_window()); ttd->setAttribute(Qt::WA_DeleteOnClose); ttd->show(); obs_frontend_pop_ui_translation(); }; QAction::connect(action, &QAction::triggered, cb); obs_frontend_add_save_callback(frontend_save_load, nullptr); obs_frontend_add_event_callback(frontend_event, nullptr); signal_handler_connect(obs_get_signal_handler(), "source_rename", source_rename, nullptr); transition_table_hotkey = obs_hotkey_pair_register_frontend( "transition-table.enable", obs_module_text("TransitionTable.Enable"), "transition-table.disable", obs_module_text("TransitionTable.Disable"), enable_hotkey, disable_hotkey, nullptr, nullptr); return true; } void obs_module_unload(void) { obs_hotkey_pair_unregister(transition_table_hotkey); obs_frontend_remove_save_callback(frontend_save_load, nullptr); obs_frontend_remove_event_callback(frontend_event, nullptr); signal_handler_disconnect(obs_get_signal_handler(), "source_rename", source_rename, nullptr); transition_table.clear(); } MODULE_EXPORT const char *obs_module_description(void) { return obs_module_text("Description"); } MODULE_EXPORT const char *obs_module_name(void) { return obs_module_text("TransitionTable"); } TransitionTableDialog::TransitionTableDialog(QMainWindow *parent) : QDialog(parent) { obs_frontend_get_scenes(&scenes); obs_frontend_get_transitions(&transitions); int idx = 0; mainLayout = new QGridLayout; mainLayout->setContentsMargins(0, 0, 0, 0); QLabel *label = new QLabel(obs_module_text("FromScene")); label->setStyleSheet("font-weight: bold;"); mainLayout->addWidget(label, 0, idx++, Qt::AlignCenter); label = new QLabel(obs_module_text("ToScene")); label->setStyleSheet("font-weight: bold;"); mainLayout->addWidget(label, 0, idx++, Qt::AlignCenter); label = new QLabel(obs_module_text("Transition")); label->setStyleSheet("font-weight: bold;"); mainLayout->addWidget(label, 0, idx++, Qt::AlignCenter); label = new QLabel(obs_module_text("Duration")); label->setStyleSheet("font-weight: bold;"); mainLayout->addWidget(label, 0, idx++, Qt::AlignCenter); QCheckBox *checkbox = new QCheckBox; mainLayout->addWidget(checkbox, 0, idx++, Qt::AlignCenter); mainLayout->setColumnStretch(0, 1); mainLayout->setColumnStretch(1, 1); mainLayout->setColumnStretch(2, 1); connect(checkbox, &QCheckBox::stateChanged, [this]() { SelectAllChanged(); }); idx = 0; fromCombo = new QComboBox(); fromCombo->setEditable(true); auto *completer = fromCombo->completer(); completer->setCaseSensitivity(Qt::CaseInsensitive); completer->setFilterMode(Qt::MatchContains); completer->setCompletionMode(QCompleter::PopupCompletion); fromCombo->addItem("", QByteArray("")); fromCombo->addItem(obs_module_text("Any"), QByteArray("Any")); mainLayout->addWidget(fromCombo, 1, idx++); toCombo = new QComboBox(); toCombo->setEditable(true); completer = toCombo->completer(); completer->setCaseSensitivity(Qt::CaseInsensitive); completer->setFilterMode(Qt::MatchContains); completer->setCompletionMode(QCompleter::PopupCompletion); toCombo->addItem("", QByteArray("")); toCombo->addItem(obs_module_text("Any"), QByteArray("Any")); mainLayout->addWidget(toCombo, 1, idx++); for (size_t i = 0; i < scenes.sources.num; i++) { string sceneName = obs_source_get_name(scenes.sources.array[i]); fromCombo->addItem(QString::fromUtf8(sceneName.c_str()), QByteArray(sceneName.c_str())); toCombo->addItem(QString::fromUtf8(sceneName.c_str()), QByteArray(sceneName.c_str())); } connect(fromCombo, SIGNAL(editTextChanged(const QString &)), SLOT(RefreshTable())); connect(toCombo, SIGNAL(editTextChanged(const QString &)), SLOT(RefreshTable())); transitionCombo = new QComboBox(); for (size_t i = 0; i < transitions.sources.num; i++) { string trName = obs_source_get_name(transitions.sources.array[i]); transitionCombo->addItem(QString::fromUtf8(trName.c_str()), QByteArray(trName.c_str())); } mainLayout->addWidget(transitionCombo, 1, idx++); durationSpin = new QSpinBox; durationSpin->setMinimum(50); durationSpin->setMaximum(20000); durationSpin->setSingleStep(50); durationSpin->setValue(500); durationSpin->setSuffix("ms"); mainLayout->addWidget(durationSpin, 1, idx++); QPushButton *addButton = new QPushButton(obs_module_text("Set")); connect(addButton, &QPushButton::clicked, [this]() { AddClicked(); }); mainLayout->addWidget(addButton, 1, idx++, Qt::AlignCenter); RefreshTable(); QWidget *controlArea = new QWidget; controlArea->setLayout(mainLayout); controlArea->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); QVBoxLayout *vlayout = new QVBoxLayout; vlayout->addWidget(controlArea); //vlayout->setAlignment(controlArea, Qt::AlignTop); QWidget *widget = new QWidget; widget->setLayout(vlayout); widget->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); QScrollArea *scrollArea = new QScrollArea; scrollArea->setWidget(widget); scrollArea->setWidgetResizable(true); QPushButton *closeButton = new QPushButton(obs_module_text("Close")); QPushButton *deleteButton = new QPushButton(obs_module_text("Delete")); QHBoxLayout *bottomLayout = new QHBoxLayout; bottomLayout->addWidget(deleteButton, 0, Qt::AlignLeft); bottomLayout->addWidget(closeButton, 0, Qt::AlignRight); connect(deleteButton, &QPushButton::clicked, [this]() { DeleteClicked(); }); connect(closeButton, &QPushButton::clicked, [this]() { close(); }); vlayout = new QVBoxLayout; vlayout->setContentsMargins(11, 11, 11, 11); vlayout->addWidget(scrollArea); vlayout->addLayout(bottomLayout); setLayout(vlayout); setWindowTitle(obs_module_text("TransitionTable")); setSizeGripEnabled(true); setMinimumSize(500, 300); if (transition_table_width > 500 && transition_table_height > 300) { resize(transition_table_width, transition_table_height); } } TransitionTableDialog::~TransitionTableDialog() { auto size = this->size(); transition_table_width = size.width(); transition_table_height = size.height(); obs_frontend_source_list_free(&scenes); obs_frontend_source_list_free(&transitions); } void TransitionTableDialog::AddClicked() { const auto fromScene = fromCombo->currentText(); const auto toScene = toCombo->currentText(); const auto transition = transitionCombo->currentText(); if (fromScene.isEmpty() || toScene.isEmpty() || transition.isEmpty()) return; auto &t = transition_table[fromScene.toUtf8().constData()] [toScene.toUtf8().constData()]; t.transition = transition.toUtf8().constData(); t.duration = durationSpin->value(); RefreshTable(); if (transition_table_enabled) set_transition_overrides(); } void TransitionTableDialog::DeleteClicked() { for (auto row = 2; row < mainLayout->rowCount(); row++) { auto *item = mainLayout->itemAtPosition(row, 4); if (!item) continue; auto *checkBox = dynamic_cast(item->widget()); if (!checkBox || !checkBox->isChecked()) continue; item = mainLayout->itemAtPosition(row, 0); auto *label = dynamic_cast(item->widget()); if (!label) continue; string fromScene = label->text().toUtf8().constData(); auto fs_it = transition_table.find(fromScene); if (fs_it == transition_table.end()) continue; item = mainLayout->itemAtPosition(row, 1); label = dynamic_cast(item->widget()); if (!label) continue; string toScene = label->text().toUtf8().constData(); auto ts_it = fs_it->second.find(toScene); if (ts_it == fs_it->second.end()) continue; fs_it->second.erase(ts_it); } RefreshTable(); if (transition_table_enabled) set_transition_overrides(); } void TransitionTableDialog::SelectAllChanged() { auto *item = mainLayout->itemAtPosition(0, 4); auto *checkBox = dynamic_cast(item->widget()); bool checked = checkBox && checkBox->isChecked(); for (auto row = 2; row < mainLayout->rowCount(); row++) { item = mainLayout->itemAtPosition(row, 4); if (!item) continue; auto *checkBox = dynamic_cast(item->widget()); if (!checkBox) continue; checkBox->setChecked(checked); } } void TransitionTableDialog::RefreshTable() { const auto fromScene = fromCombo->currentText(); const auto toScene = toCombo->currentText(); for (auto row = mainLayout->rowCount() - 1; row >= 2; row--) { for (auto col = mainLayout->columnCount() - 1; col >= 0; col--) { auto *item = mainLayout->itemAtPosition(row, col); if (item) { mainLayout->removeItem(item); delete item->widget(); delete item; } } } int duration = 0; string transition; auto row = 2; for (const auto &it : transition_table) { if (!fromScene.isEmpty() && !QString::fromUtf8(it.first.c_str()) .contains(fromScene, Qt::CaseInsensitive)) continue; for (const auto &it2 : it.second) { if (!toScene.isEmpty() && !QString::fromUtf8(it2.first.c_str()) .contains(toScene, Qt::CaseInsensitive)) continue; auto col = 0; auto *label = new QLabel(QString::fromUtf8(it.first.c_str())); if (it.first == "Any") { label->setProperty("themeID", "good"); } else { auto scene = obs_get_source_by_name( it.first.c_str()); if (scene) { obs_source_release(scene); } else { label->setProperty("themeID", "error"); } } mainLayout->addWidget(label, row, col++); label = new QLabel( QString::fromUtf8(it2.first.c_str())); if (it2.first == "Any") { label->setProperty("themeID", "good"); } else { auto scene = obs_get_source_by_name( it2.first.c_str()); if (scene) { obs_source_release(scene); } else { label->setProperty("themeID", "error"); } } mainLayout->addWidget(label, row, col++); label = new QLabel(QString::fromUtf8( it2.second.transition.c_str())); mainLayout->addWidget(label, row, col++); label = new QLabel(QString::fromUtf8( (to_string(it2.second.duration) + "ms") .c_str())); mainLayout->addWidget(label, row, col++, Qt::AlignRight); auto *checkBox = new QCheckBox; mainLayout->addWidget(checkBox, row, col++, Qt::AlignCenter); duration = it2.second.duration; transition = it2.second.transition; row++; } } if (row == 3) { if (duration) durationSpin->setValue(duration); if (!transition.empty()) transitionCombo->setCurrentText(transition.c_str()); } } void TransitionTableDialog::mouseDoubleClickEvent(QMouseEvent *event) { QWidget *widget = childAt(event->pos()); if (!widget) return; int index = mainLayout->indexOf(widget); if (index < 0) return; int row, column, row_span, col_span; mainLayout->getItemPosition(index, &row, &column, &row_span, &col_span); if (row < 2) return; QLayoutItem *item = mainLayout->itemAtPosition(row, 0); if (!item) return; auto label = dynamic_cast(item->widget()); if (!label) return; const QString from = label->text(); if (from.isEmpty()) return; item = mainLayout->itemAtPosition(row, 1); if (!item) return; label = dynamic_cast(item->widget()); if (!label) return; const QString to = label->text(); if (to.isEmpty()) return; fromCombo->setCurrentText(from); toCombo->setCurrentText(to); } obs-transition-table-0.2.1/transition-table.hpp000066400000000000000000000013541417615034300215510ustar00rootroot00000000000000#pragma once #include #include #include #include #include #include #include #include "obs-frontend-api.h" class TransitionTableDialog : public QDialog { Q_OBJECT QGridLayout *mainLayout; QComboBox *fromCombo; QComboBox *toCombo; QComboBox *transitionCombo; QSpinBox *durationSpin; struct obs_frontend_source_list scenes = {}; struct obs_frontend_source_list transitions = {}; void AddClicked(); void DeleteClicked(); void SelectAllChanged(); public: TransitionTableDialog(QMainWindow *parent = nullptr); ~TransitionTableDialog(); public slots: void RefreshTable(); protected: virtual void mouseDoubleClickEvent(QMouseEvent *event) override; }; obs-transition-table-0.2.1/version.h.in000066400000000000000000000003371417615034300200240ustar00rootroot00000000000000#pragma once #define PROJECT_VERSION "${PROJECT_VERSION}" #define PROJECT_VERSION_MAJOR ${PROJECT_VERSION_MAJOR} #define PROJECT_VERSION_MINOR ${PROJECT_VERSION_MINOR} #define PROJECT_VERSION_PATCH ${PROJECT_VERSION_PATCH}