diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index f207260..06a8dcf 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -1,73 +1,73 @@ -name: Build_and_Test - -on: - push: - branches: ["main", "devel"] - pull_request: - branches: ["main"] - -env: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) - BUILD_TYPE: Release - -jobs: - ubuntu: - # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. - # You can convert this to a matrix build if you need cross-platform coverage. - # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-22.04 - - steps: - - uses: actions/checkout@v3 - - uses: awalsh128/cache-apt-pkgs-action@v1.3.0 - with: - packages: libwebkit2gtk-4.0-dev libcurl4-openssl-dev libcrypto++-dev ninja-build - - - name: Install boost - uses: MarkusJx/install-boost@v2.4.1 - id: install-boost - with: - # REQUIRED: Specify the required boost version - # A list of supported versions can be found here: - # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json - boost_version: 1.81.0 - # OPTIONAL: Specify a platform version - platform_version: 22.04 - - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} -G"Ninja" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DNUI_BUILD_EXAMPLES=off -DCMAKE_CXX_EXTENSIONS=on -DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_LINKER=lld -DCMAKE_CXX_STANDARD=20 - env: - BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} - - - name: Build - run: cmake --build ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} --config ${{env.BUILD_TYPE}} - - # TODO: - #- name: Test - # working-directory: ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} - # Execute tests defined by the CMake configuration. - # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - # run: ctest -C ${{env.BUILD_TYPE}} - - windows-msys2: - runs-on: windows-2022 - defaults: - run: - shell: msys2 {0} - - steps: - - uses: actions/checkout@v3 - - uses: msys2/setup-msys2@v2 - with: - msystem: clang64 - release: true - install: mingw-w64-clang-x86_64-clang make unzip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-boost mingw-w64-clang-x86_64-crypto++ libcurl mingw-w64-clang-x86_64-ninja mingw-w64-clang-x86_64-python - - - name: Workspace Path Fixup - run: echo "WSPACE=$(cygpath '${{github.workspace}}')" >> $GITHUB_ENV - - - name: Configure CMake - run: cmake -B ${{env.WSPACE}}/build/clang_${{env.BUILD_TYPE}} -G"Ninja" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DNUI_BUILD_EXAMPLES=off -DCMAKE_CXX_EXTENSIONS=on -DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_LINKER=lld -DCMAKE_CXX_STANDARD=20 - - - name: Build - run: cmake --build ${{env.WSPACE}}/build/clang_${{env.BUILD_TYPE}} --config ${{env.BUILD_TYPE}} +name: Build_and_Test + +on: + push: + branches: ["main", "devel"] + pull_request: + branches: ["main"] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + ubuntu: + # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. + # You can convert this to a matrix build if you need cross-platform coverage. + # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + - uses: awalsh128/cache-apt-pkgs-action@v1.3.0 + with: + packages: libwebkit2gtk-4.0-dev libcurl4-openssl-dev libcrypto++-dev ninja-build + + - name: Install boost + uses: MarkusJx/install-boost@v2.4.1 + id: install-boost + with: + # REQUIRED: Specify the required boost version + # A list of supported versions can be found here: + # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json + boost_version: 1.81.0 + # OPTIONAL: Specify a platform version + platform_version: 22.04 + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} -G"Ninja" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DNUI_BUILD_EXAMPLES=off -DCMAKE_CXX_EXTENSIONS=on -DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_LINKER=lld -DCMAKE_CXX_STANDARD=20 + env: + BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} + + - name: Build + run: cmake --build ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} --config ${{env.BUILD_TYPE}} + + # TODO: + #- name: Test + # working-directory: ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} + # Execute tests defined by the CMake configuration. + # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + # run: ctest -C ${{env.BUILD_TYPE}} + + windows-msys2: + runs-on: windows-2022 + defaults: + run: + shell: msys2 {0} + + steps: + - uses: actions/checkout@v3 + - uses: msys2/setup-msys2@v2 + with: + msystem: clang64 + release: true + install: mingw-w64-clang-x86_64-clang make unzip mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-boost mingw-w64-clang-x86_64-crypto++ libcurl mingw-w64-clang-x86_64-ninja mingw-w64-clang-x86_64-python + + - name: Workspace Path Fixup + run: echo "WSPACE=$(cygpath '${{github.workspace}}')" >> $GITHUB_ENV + + - name: Configure CMake + run: cmake -B ${{env.WSPACE}}/build/clang_${{env.BUILD_TYPE}} -G"Ninja" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DNUI_BUILD_EXAMPLES=off -DCMAKE_CXX_EXTENSIONS=on -DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_LINKER=lld -DCMAKE_CXX_STANDARD=20 + + - name: Build + run: cmake --build ${{env.WSPACE}}/build/clang_${{env.BUILD_TYPE}} --config ${{env.BUILD_TYPE}} diff --git a/nui/include/nui/frontend/attributes/svg/accent_height.hpp b/nui/include/nui/frontend/attributes/svg/accent_height.hpp new file mode 100644 index 0000000..bf810dd --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/accent_height.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(accentHeight, "accent-height") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/accumulate.hpp b/nui/include/nui/frontend/attributes/svg/accumulate.hpp new file mode 100644 index 0000000..7b1851e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/accumulate.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(accumulate) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/additive.hpp b/nui/include/nui/frontend/attributes/svg/additive.hpp new file mode 100644 index 0000000..5365c20 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/additive.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(additive) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/alignment_baseline.hpp b/nui/include/nui/frontend/attributes/svg/alignment_baseline.hpp new file mode 100644 index 0000000..ded04fd --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/alignment_baseline.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(alignmentBaseline, "alignment-baseline") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/alphabetic.hpp b/nui/include/nui/frontend/attributes/svg/alphabetic.hpp new file mode 100644 index 0000000..17adee2 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/alphabetic.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(alphabetic) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/amplitude.hpp b/nui/include/nui/frontend/attributes/svg/amplitude.hpp new file mode 100644 index 0000000..eac9195 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/amplitude.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(amplitude) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/arabic_form.hpp b/nui/include/nui/frontend/attributes/svg/arabic_form.hpp new file mode 100644 index 0000000..d6426bb --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/arabic_form.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(arabicForm, "arabic-form") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/ascent.hpp b/nui/include/nui/frontend/attributes/svg/ascent.hpp new file mode 100644 index 0000000..99540f9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ascent.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(ascent) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/attribute_name.hpp b/nui/include/nui/frontend/attributes/svg/attribute_name.hpp new file mode 100644 index 0000000..773a91e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/attribute_name.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(attributeName) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/attribute_type.hpp b/nui/include/nui/frontend/attributes/svg/attribute_type.hpp new file mode 100644 index 0000000..957d0e6 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/attribute_type.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(attributeType) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/azimuth.hpp b/nui/include/nui/frontend/attributes/svg/azimuth.hpp new file mode 100644 index 0000000..37c7a3e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/azimuth.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(azimuth) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/base_frequency.hpp b/nui/include/nui/frontend/attributes/svg/base_frequency.hpp new file mode 100644 index 0000000..a819f34 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/base_frequency.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(baseFrequency) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/base_profile.hpp b/nui/include/nui/frontend/attributes/svg/base_profile.hpp new file mode 100644 index 0000000..bb7b8f2 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/base_profile.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(baseProfile) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/baseline_shift.hpp b/nui/include/nui/frontend/attributes/svg/baseline_shift.hpp new file mode 100644 index 0000000..6ccb720 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/baseline_shift.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(baselineShift, "baseline-shift") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/bbox.hpp b/nui/include/nui/frontend/attributes/svg/bbox.hpp new file mode 100644 index 0000000..be60080 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/bbox.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(bbox) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/begin.hpp b/nui/include/nui/frontend/attributes/svg/begin.hpp new file mode 100644 index 0000000..e495003 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/begin.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(begin) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/bias.hpp b/nui/include/nui/frontend/attributes/svg/bias.hpp new file mode 100644 index 0000000..f78851a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/bias.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(bias) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/by.hpp b/nui/include/nui/frontend/attributes/svg/by.hpp new file mode 100644 index 0000000..3fc30d2 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/by.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(by) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/calc_mode.hpp b/nui/include/nui/frontend/attributes/svg/calc_mode.hpp new file mode 100644 index 0000000..87ca1b0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/calc_mode.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(calcMode) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/cap_height.hpp b/nui/include/nui/frontend/attributes/svg/cap_height.hpp new file mode 100644 index 0000000..f75f724 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/cap_height.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(capHeight, "cap-height") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/class.hpp b/nui/include/nui/frontend/attributes/svg/class.hpp new file mode 100644 index 0000000..9d66535 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/class.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(class_, "class") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/clip.hpp b/nui/include/nui/frontend/attributes/svg/clip.hpp new file mode 100644 index 0000000..2b2e198 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/clip.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(clip) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/clip_path.hpp b/nui/include/nui/frontend/attributes/svg/clip_path.hpp new file mode 100644 index 0000000..49364a1 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/clip_path.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(clipPath, "clip-path") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/clip_path_units.hpp b/nui/include/nui/frontend/attributes/svg/clip_path_units.hpp new file mode 100644 index 0000000..396cec0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/clip_path_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(clipPathUnits) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/clip_rule.hpp b/nui/include/nui/frontend/attributes/svg/clip_rule.hpp new file mode 100644 index 0000000..b81bf40 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/clip_rule.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(clipRule, "clip-rule") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/color.hpp b/nui/include/nui/frontend/attributes/svg/color.hpp new file mode 100644 index 0000000..79344ec --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/color.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(color) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/color_interpolation.hpp b/nui/include/nui/frontend/attributes/svg/color_interpolation.hpp new file mode 100644 index 0000000..e4044ad --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/color_interpolation.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(colorInterpolation, "color-interpolation") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/color_interpolation_filters.hpp b/nui/include/nui/frontend/attributes/svg/color_interpolation_filters.hpp new file mode 100644 index 0000000..c450034 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/color_interpolation_filters.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(colorInterpolationFilters, "color-interpolation-filters") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/color_profile.hpp b/nui/include/nui/frontend/attributes/svg/color_profile.hpp new file mode 100644 index 0000000..ebe9a44 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/color_profile.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(colorProfile, "color-profile") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/color_rendering.hpp b/nui/include/nui/frontend/attributes/svg/color_rendering.hpp new file mode 100644 index 0000000..6e7259e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/color_rendering.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(colorRendering, "color-rendering") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/content_script_type.hpp b/nui/include/nui/frontend/attributes/svg/content_script_type.hpp new file mode 100644 index 0000000..4df0f7e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/content_script_type.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(contentScriptType) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/content_style_type.hpp b/nui/include/nui/frontend/attributes/svg/content_style_type.hpp new file mode 100644 index 0000000..b9fe60a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/content_style_type.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(contentStyleType) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/crossorigin.hpp b/nui/include/nui/frontend/attributes/svg/crossorigin.hpp new file mode 100644 index 0000000..7c1ca03 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/crossorigin.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(crossorigin) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/cursor.hpp b/nui/include/nui/frontend/attributes/svg/cursor.hpp new file mode 100644 index 0000000..6ab7bfc --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/cursor.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(cursor) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/cx.hpp b/nui/include/nui/frontend/attributes/svg/cx.hpp new file mode 100644 index 0000000..5b82266 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/cx.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(cx) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/cy.hpp b/nui/include/nui/frontend/attributes/svg/cy.hpp new file mode 100644 index 0000000..e67c947 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/cy.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(cy) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/d.hpp b/nui/include/nui/frontend/attributes/svg/d.hpp new file mode 100644 index 0000000..deda0d0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/d.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(d) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/descelerate.hpp b/nui/include/nui/frontend/attributes/svg/descelerate.hpp new file mode 100644 index 0000000..ec5feae --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/descelerate.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(descelerate) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/descent.hpp b/nui/include/nui/frontend/attributes/svg/descent.hpp new file mode 100644 index 0000000..d4fd593 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/descent.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(descent) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/diffuse_constant.hpp b/nui/include/nui/frontend/attributes/svg/diffuse_constant.hpp new file mode 100644 index 0000000..35f04ed --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/diffuse_constant.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(diffuseConstant) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/direction.hpp b/nui/include/nui/frontend/attributes/svg/direction.hpp new file mode 100644 index 0000000..46097bb --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/direction.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(direction) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/display.hpp b/nui/include/nui/frontend/attributes/svg/display.hpp new file mode 100644 index 0000000..5407a4b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/display.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(display) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/divisor.hpp b/nui/include/nui/frontend/attributes/svg/divisor.hpp new file mode 100644 index 0000000..7b0910c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/divisor.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(divisor) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/dominant_baseline.hpp b/nui/include/nui/frontend/attributes/svg/dominant_baseline.hpp new file mode 100644 index 0000000..d85ccb2 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/dominant_baseline.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(dominantBaseline, "dominant-baseline") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/dur.hpp b/nui/include/nui/frontend/attributes/svg/dur.hpp new file mode 100644 index 0000000..9569546 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/dur.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(dur) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/dx.hpp b/nui/include/nui/frontend/attributes/svg/dx.hpp new file mode 100644 index 0000000..919369a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/dx.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(dx) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/dy.hpp b/nui/include/nui/frontend/attributes/svg/dy.hpp new file mode 100644 index 0000000..4ed73d0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/dy.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(dy) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/edge_mode.hpp b/nui/include/nui/frontend/attributes/svg/edge_mode.hpp new file mode 100644 index 0000000..84bb537 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/edge_mode.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(edgeMode) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/elevation.hpp b/nui/include/nui/frontend/attributes/svg/elevation.hpp new file mode 100644 index 0000000..07469f8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/elevation.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(elevation) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/enable_background.hpp b/nui/include/nui/frontend/attributes/svg/enable_background.hpp new file mode 100644 index 0000000..79ba48b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/enable_background.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(enableBackground, "enable-background") \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/end.hpp b/nui/include/nui/frontend/attributes/svg/end.hpp new file mode 100644 index 0000000..afc2d95 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/end.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(end) diff --git a/nui/include/nui/frontend/attributes/svg/exponent.hpp b/nui/include/nui/frontend/attributes/svg/exponent.hpp new file mode 100644 index 0000000..64fa0b7 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/exponent.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(exponent) diff --git a/nui/include/nui/frontend/attributes/svg/fill.hpp b/nui/include/nui/frontend/attributes/svg/fill.hpp new file mode 100644 index 0000000..0bd3258 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/fill.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(fill) diff --git a/nui/include/nui/frontend/attributes/svg/fill_opacity.hpp b/nui/include/nui/frontend/attributes/svg/fill_opacity.hpp new file mode 100644 index 0000000..dc4a386 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/fill_opacity.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fillOpacity, "fill-opacity") diff --git a/nui/include/nui/frontend/attributes/svg/fill_rule.hpp b/nui/include/nui/frontend/attributes/svg/fill_rule.hpp new file mode 100644 index 0000000..3c6ffc7 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/fill_rule.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fillRule, "fill-rule") diff --git a/nui/include/nui/frontend/attributes/svg/filter.hpp b/nui/include/nui/frontend/attributes/svg/filter.hpp new file mode 100644 index 0000000..e83098d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/filter.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(filter) diff --git a/nui/include/nui/frontend/attributes/svg/filter_res.hpp b/nui/include/nui/frontend/attributes/svg/filter_res.hpp new file mode 100644 index 0000000..c9b94be --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/filter_res.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(filterRes) diff --git a/nui/include/nui/frontend/attributes/svg/filter_units.hpp b/nui/include/nui/frontend/attributes/svg/filter_units.hpp new file mode 100644 index 0000000..bee504b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/filter_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(filterUnits) diff --git a/nui/include/nui/frontend/attributes/svg/flood_color.hpp b/nui/include/nui/frontend/attributes/svg/flood_color.hpp new file mode 100644 index 0000000..883ae22 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/flood_color.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(floodColor, "flood-color") diff --git a/nui/include/nui/frontend/attributes/svg/font_family.hpp b/nui/include/nui/frontend/attributes/svg/font_family.hpp new file mode 100644 index 0000000..8bd1ec3 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_family.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontFamily, "font-family") diff --git a/nui/include/nui/frontend/attributes/svg/font_size.hpp b/nui/include/nui/frontend/attributes/svg/font_size.hpp new file mode 100644 index 0000000..d4d207a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_size.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontSize, "font-size") diff --git a/nui/include/nui/frontend/attributes/svg/font_size_adjust.hpp b/nui/include/nui/frontend/attributes/svg/font_size_adjust.hpp new file mode 100644 index 0000000..9e0da37 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_size_adjust.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontSizeAdjust, "font-size-adjust") diff --git a/nui/include/nui/frontend/attributes/svg/font_stretch.hpp b/nui/include/nui/frontend/attributes/svg/font_stretch.hpp new file mode 100644 index 0000000..6f60746 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_stretch.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontStretch, "font-stretch") diff --git a/nui/include/nui/frontend/attributes/svg/font_style.hpp b/nui/include/nui/frontend/attributes/svg/font_style.hpp new file mode 100644 index 0000000..719789a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_style.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontStyle, "font-style") diff --git a/nui/include/nui/frontend/attributes/svg/font_variant.hpp b/nui/include/nui/frontend/attributes/svg/font_variant.hpp new file mode 100644 index 0000000..dafd158 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_variant.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontVariant, "font-variant") diff --git a/nui/include/nui/frontend/attributes/svg/font_weight.hpp b/nui/include/nui/frontend/attributes/svg/font_weight.hpp new file mode 100644 index 0000000..8d2d8c7 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/font_weight.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(fontWeight, "font-weight") diff --git a/nui/include/nui/frontend/attributes/svg/format.hpp b/nui/include/nui/frontend/attributes/svg/format.hpp new file mode 100644 index 0000000..b405911 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/format.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(format) diff --git a/nui/include/nui/frontend/attributes/svg/fr.hpp b/nui/include/nui/frontend/attributes/svg/fr.hpp new file mode 100644 index 0000000..508086d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/fr.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(fr) diff --git a/nui/include/nui/frontend/attributes/svg/from.hpp b/nui/include/nui/frontend/attributes/svg/from.hpp new file mode 100644 index 0000000..efbfb50 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/from.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(from) diff --git a/nui/include/nui/frontend/attributes/svg/fx.hpp b/nui/include/nui/frontend/attributes/svg/fx.hpp new file mode 100644 index 0000000..8392a1f --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/fx.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(fx) diff --git a/nui/include/nui/frontend/attributes/svg/fy.hpp b/nui/include/nui/frontend/attributes/svg/fy.hpp new file mode 100644 index 0000000..71e918d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/fy.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(fy) diff --git a/nui/include/nui/frontend/attributes/svg/g.hpp b/nui/include/nui/frontend/attributes/svg/g.hpp new file mode 100644 index 0000000..c578dce --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/g.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(g) diff --git a/nui/include/nui/frontend/attributes/svg/glyph_name.hpp b/nui/include/nui/frontend/attributes/svg/glyph_name.hpp new file mode 100644 index 0000000..419c694 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/glyph_name.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(glyphName, "glyph-name") diff --git a/nui/include/nui/frontend/attributes/svg/glyph_orientation_horizontal.hpp b/nui/include/nui/frontend/attributes/svg/glyph_orientation_horizontal.hpp new file mode 100644 index 0000000..063a1e1 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/glyph_orientation_horizontal.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(glyphOrientationHorizontal, "glyph-orientation-horizontal") diff --git a/nui/include/nui/frontend/attributes/svg/glyph_ref.hpp b/nui/include/nui/frontend/attributes/svg/glyph_ref.hpp new file mode 100644 index 0000000..865e10c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/glyph_ref.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(glyphRef) diff --git a/nui/include/nui/frontend/attributes/svg/gradient_transform.hpp b/nui/include/nui/frontend/attributes/svg/gradient_transform.hpp new file mode 100644 index 0000000..66f6359 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/gradient_transform.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(gradientTransform) diff --git a/nui/include/nui/frontend/attributes/svg/gradient_units.hpp b/nui/include/nui/frontend/attributes/svg/gradient_units.hpp new file mode 100644 index 0000000..92f299a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/gradient_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(gradientUnits) diff --git a/nui/include/nui/frontend/attributes/svg/hanging.hpp b/nui/include/nui/frontend/attributes/svg/hanging.hpp new file mode 100644 index 0000000..0bd0e86 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/hanging.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(hanging) diff --git a/nui/include/nui/frontend/attributes/svg/height.hpp b/nui/include/nui/frontend/attributes/svg/height.hpp new file mode 100644 index 0000000..fd4f001 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/height.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(height) diff --git a/nui/include/nui/frontend/attributes/svg/horiz_adv_x.hpp b/nui/include/nui/frontend/attributes/svg/horiz_adv_x.hpp new file mode 100644 index 0000000..ec12d03 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/horiz_adv_x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(horizAdvX, "horiz-adv-x") diff --git a/nui/include/nui/frontend/attributes/svg/horiz_origin_x.hpp b/nui/include/nui/frontend/attributes/svg/horiz_origin_x.hpp new file mode 100644 index 0000000..3e80a8d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/horiz_origin_x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(horizOriginX, "horiz-origin-x") diff --git a/nui/include/nui/frontend/attributes/svg/href.hpp b/nui/include/nui/frontend/attributes/svg/href.hpp new file mode 100644 index 0000000..418c766 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/href.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(href) diff --git a/nui/include/nui/frontend/attributes/svg/hreflang.hpp b/nui/include/nui/frontend/attributes/svg/hreflang.hpp new file mode 100644 index 0000000..a81ba11 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/hreflang.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(hreflang) diff --git a/nui/include/nui/frontend/attributes/svg/id.hpp b/nui/include/nui/frontend/attributes/svg/id.hpp new file mode 100644 index 0000000..99648d8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/id.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(id) diff --git a/nui/include/nui/frontend/attributes/svg/ideographic.hpp b/nui/include/nui/frontend/attributes/svg/ideographic.hpp new file mode 100644 index 0000000..d8f2664 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ideographic.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(ideographic) diff --git a/nui/include/nui/frontend/attributes/svg/image_rendering.hpp b/nui/include/nui/frontend/attributes/svg/image_rendering.hpp new file mode 100644 index 0000000..07290a8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/image_rendering.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(imageRendering, "image-rendering") diff --git a/nui/include/nui/frontend/attributes/svg/impl/svg_attribute_factory.hpp b/nui/include/nui/frontend/attributes/svg/impl/svg_attribute_factory.hpp new file mode 100644 index 0000000..caf9332 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/impl/svg_attribute_factory.hpp @@ -0,0 +1,21 @@ +#include + +#define MAKE_SVG_VALUE_ATTRIBUTE_RENAME(NAME, SVG_NAME) \ + namespace Nui::Attributes::Svg \ + { \ + static constexpr auto NAME = AttributeFactory{SVG_NAME}; \ + } + +#define MAKE_SVG_VALUE_ATTRIBUTE(NAME) MAKE_SVG_VALUE_ATTRIBUTE_RENAME(NAME, #NAME) + +#define MAKE_SVG_EVENT_ATTRIBUTE_RENAME(NAME, SVG_ACTUAL) \ + namespace Nui::Attributes::Svg \ + { \ + namespace Names \ + { \ + static constexpr auto Attr##NAME = fixToLower(SVG_ACTUAL); \ + } \ + static constexpr auto NAME = AttributeFactory{Names::Attr##NAME}; \ + } + +#define MAKE_SVG_EVENT_ATTRIBUTE(NAME) MAKE_SVG_EVENT_ATTRIBUTE_RENAME(NAME, #NAME) \ No newline at end of file diff --git a/nui/include/nui/frontend/attributes/svg/in.hpp b/nui/include/nui/frontend/attributes/svg/in.hpp new file mode 100644 index 0000000..093a5a0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/in.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(in) diff --git a/nui/include/nui/frontend/attributes/svg/intercept.hpp b/nui/include/nui/frontend/attributes/svg/intercept.hpp new file mode 100644 index 0000000..d550eb9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/intercept.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(intercept) diff --git a/nui/include/nui/frontend/attributes/svg/k.hpp b/nui/include/nui/frontend/attributes/svg/k.hpp new file mode 100644 index 0000000..09dcb08 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/k.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(k) diff --git a/nui/include/nui/frontend/attributes/svg/kernel_matrix.hpp b/nui/include/nui/frontend/attributes/svg/kernel_matrix.hpp new file mode 100644 index 0000000..e1265d4 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/kernel_matrix.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(kernelMatrix) diff --git a/nui/include/nui/frontend/attributes/svg/kernel_unit_length.hpp b/nui/include/nui/frontend/attributes/svg/kernel_unit_length.hpp new file mode 100644 index 0000000..0cdf9a3 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/kernel_unit_length.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(kernelUnitLength) diff --git a/nui/include/nui/frontend/attributes/svg/kerning.hpp b/nui/include/nui/frontend/attributes/svg/kerning.hpp new file mode 100644 index 0000000..4dc5b83 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/kerning.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(kerning) diff --git a/nui/include/nui/frontend/attributes/svg/key_points.hpp b/nui/include/nui/frontend/attributes/svg/key_points.hpp new file mode 100644 index 0000000..767990e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/key_points.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(keyPoints) diff --git a/nui/include/nui/frontend/attributes/svg/key_splines.hpp b/nui/include/nui/frontend/attributes/svg/key_splines.hpp new file mode 100644 index 0000000..ef176dd --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/key_splines.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(keySplines) diff --git a/nui/include/nui/frontend/attributes/svg/key_times.hpp b/nui/include/nui/frontend/attributes/svg/key_times.hpp new file mode 100644 index 0000000..279112f --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/key_times.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(keyTimes) diff --git a/nui/include/nui/frontend/attributes/svg/lang.hpp b/nui/include/nui/frontend/attributes/svg/lang.hpp new file mode 100644 index 0000000..f425a1a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/lang.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(lang) diff --git a/nui/include/nui/frontend/attributes/svg/length_adjust.hpp b/nui/include/nui/frontend/attributes/svg/length_adjust.hpp new file mode 100644 index 0000000..595db6b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/length_adjust.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(lengthAdjust) diff --git a/nui/include/nui/frontend/attributes/svg/letter_spacing.hpp b/nui/include/nui/frontend/attributes/svg/letter_spacing.hpp new file mode 100644 index 0000000..4abdcf1 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/letter_spacing.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(letterSpacing, "letter-spacing") diff --git a/nui/include/nui/frontend/attributes/svg/ligthing_color.hpp b/nui/include/nui/frontend/attributes/svg/ligthing_color.hpp new file mode 100644 index 0000000..a5437f5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ligthing_color.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(ligthingColor, "ligthing-color") diff --git a/nui/include/nui/frontend/attributes/svg/limiting_cone_angle.hpp b/nui/include/nui/frontend/attributes/svg/limiting_cone_angle.hpp new file mode 100644 index 0000000..5bffb25 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/limiting_cone_angle.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(limitingConeAngle) diff --git a/nui/include/nui/frontend/attributes/svg/local.hpp b/nui/include/nui/frontend/attributes/svg/local.hpp new file mode 100644 index 0000000..3fa69c5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/local.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(local) diff --git a/nui/include/nui/frontend/attributes/svg/marker_end.hpp b/nui/include/nui/frontend/attributes/svg/marker_end.hpp new file mode 100644 index 0000000..7562f5a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/marker_end.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(markerEnd, "marker-end") diff --git a/nui/include/nui/frontend/attributes/svg/marker_height.hpp b/nui/include/nui/frontend/attributes/svg/marker_height.hpp new file mode 100644 index 0000000..ba255e0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/marker_height.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(markerHeight) diff --git a/nui/include/nui/frontend/attributes/svg/marker_mid.hpp b/nui/include/nui/frontend/attributes/svg/marker_mid.hpp new file mode 100644 index 0000000..444aa28 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/marker_mid.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(markerMid, "marker-mid") diff --git a/nui/include/nui/frontend/attributes/svg/marker_start.hpp b/nui/include/nui/frontend/attributes/svg/marker_start.hpp new file mode 100644 index 0000000..5fd317d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/marker_start.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(markerStart, "marker-start") diff --git a/nui/include/nui/frontend/attributes/svg/marker_units.hpp b/nui/include/nui/frontend/attributes/svg/marker_units.hpp new file mode 100644 index 0000000..557f291 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/marker_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(markerUnits) diff --git a/nui/include/nui/frontend/attributes/svg/marker_width.hpp b/nui/include/nui/frontend/attributes/svg/marker_width.hpp new file mode 100644 index 0000000..51a276e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/marker_width.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(markerWidth) diff --git a/nui/include/nui/frontend/attributes/svg/mask.hpp b/nui/include/nui/frontend/attributes/svg/mask.hpp new file mode 100644 index 0000000..026cf29 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/mask.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(mask) diff --git a/nui/include/nui/frontend/attributes/svg/mask_content_units.hpp b/nui/include/nui/frontend/attributes/svg/mask_content_units.hpp new file mode 100644 index 0000000..3222ec1 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/mask_content_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(maskContentUnits) diff --git a/nui/include/nui/frontend/attributes/svg/mask_units.hpp b/nui/include/nui/frontend/attributes/svg/mask_units.hpp new file mode 100644 index 0000000..296c707 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/mask_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(maskUnits) diff --git a/nui/include/nui/frontend/attributes/svg/mathematical.hpp b/nui/include/nui/frontend/attributes/svg/mathematical.hpp new file mode 100644 index 0000000..842b3b1 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/mathematical.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(mathematical) diff --git a/nui/include/nui/frontend/attributes/svg/max.hpp b/nui/include/nui/frontend/attributes/svg/max.hpp new file mode 100644 index 0000000..efe3db5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/max.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(max) diff --git a/nui/include/nui/frontend/attributes/svg/media.hpp b/nui/include/nui/frontend/attributes/svg/media.hpp new file mode 100644 index 0000000..233dba8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/media.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(media) diff --git a/nui/include/nui/frontend/attributes/svg/method.hpp b/nui/include/nui/frontend/attributes/svg/method.hpp new file mode 100644 index 0000000..9ec5940 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/method.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(method) diff --git a/nui/include/nui/frontend/attributes/svg/min.hpp b/nui/include/nui/frontend/attributes/svg/min.hpp new file mode 100644 index 0000000..6d6beca --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/min.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(min) diff --git a/nui/include/nui/frontend/attributes/svg/mode.hpp b/nui/include/nui/frontend/attributes/svg/mode.hpp new file mode 100644 index 0000000..42bc12c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/mode.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(mode) diff --git a/nui/include/nui/frontend/attributes/svg/name.hpp b/nui/include/nui/frontend/attributes/svg/name.hpp new file mode 100644 index 0000000..3c64a10 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/name.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(name) diff --git a/nui/include/nui/frontend/attributes/svg/num_octaves.hpp b/nui/include/nui/frontend/attributes/svg/num_octaves.hpp new file mode 100644 index 0000000..3a3422d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/num_octaves.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(numOctaves) diff --git a/nui/include/nui/frontend/attributes/svg/offset.hpp b/nui/include/nui/frontend/attributes/svg/offset.hpp new file mode 100644 index 0000000..9957506 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/offset.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(offset) diff --git a/nui/include/nui/frontend/attributes/svg/on_begin.hpp b/nui/include/nui/frontend/attributes/svg/on_begin.hpp new file mode 100644 index 0000000..3fc85eb --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/on_begin.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_EVENT_ATTRIBUTE_RENAME(onBegin, "onbegin") diff --git a/nui/include/nui/frontend/attributes/svg/on_end.hpp b/nui/include/nui/frontend/attributes/svg/on_end.hpp new file mode 100644 index 0000000..507f043 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/on_end.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_EVENT_ATTRIBUTE_RENAME(onEnd, "onend") diff --git a/nui/include/nui/frontend/attributes/svg/on_repeat.hpp b/nui/include/nui/frontend/attributes/svg/on_repeat.hpp new file mode 100644 index 0000000..822daf6 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/on_repeat.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_EVENT_ATTRIBUTE_RENAME(onRepeat, "onrepeat") diff --git a/nui/include/nui/frontend/attributes/svg/opacity.hpp b/nui/include/nui/frontend/attributes/svg/opacity.hpp new file mode 100644 index 0000000..d2e2d78 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/opacity.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(opacity) diff --git a/nui/include/nui/frontend/attributes/svg/operator.hpp b/nui/include/nui/frontend/attributes/svg/operator.hpp new file mode 100644 index 0000000..3078958 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/operator.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(operator_, "operator") diff --git a/nui/include/nui/frontend/attributes/svg/order.hpp b/nui/include/nui/frontend/attributes/svg/order.hpp new file mode 100644 index 0000000..f3468ac --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/order.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(order) diff --git a/nui/include/nui/frontend/attributes/svg/orient.hpp b/nui/include/nui/frontend/attributes/svg/orient.hpp new file mode 100644 index 0000000..a99b7c5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/orient.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(orient) diff --git a/nui/include/nui/frontend/attributes/svg/orientation.hpp b/nui/include/nui/frontend/attributes/svg/orientation.hpp new file mode 100644 index 0000000..15dd0ab --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/orientation.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(orientation) diff --git a/nui/include/nui/frontend/attributes/svg/origin.hpp b/nui/include/nui/frontend/attributes/svg/origin.hpp new file mode 100644 index 0000000..6089d38 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/origin.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(origin) diff --git a/nui/include/nui/frontend/attributes/svg/overflow.hpp b/nui/include/nui/frontend/attributes/svg/overflow.hpp new file mode 100644 index 0000000..f225218 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/overflow.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(overflow) diff --git a/nui/include/nui/frontend/attributes/svg/overline_position.hpp b/nui/include/nui/frontend/attributes/svg/overline_position.hpp new file mode 100644 index 0000000..5a47e5f --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/overline_position.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(overlinePosition, "overline-position") diff --git a/nui/include/nui/frontend/attributes/svg/overline_thickness.hpp b/nui/include/nui/frontend/attributes/svg/overline_thickness.hpp new file mode 100644 index 0000000..df799b2 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/overline_thickness.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(overlineThickness, "overline-thickness") diff --git a/nui/include/nui/frontend/attributes/svg/paint_order.hpp b/nui/include/nui/frontend/attributes/svg/paint_order.hpp new file mode 100644 index 0000000..f20747b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/paint_order.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(paintOrder, "paint-order") diff --git a/nui/include/nui/frontend/attributes/svg/panose.hpp b/nui/include/nui/frontend/attributes/svg/panose.hpp new file mode 100644 index 0000000..b3c0d80 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/panose.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(panose, "panose") diff --git a/nui/include/nui/frontend/attributes/svg/path.hpp b/nui/include/nui/frontend/attributes/svg/path.hpp new file mode 100644 index 0000000..6bf0bdb --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/path.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(path) diff --git a/nui/include/nui/frontend/attributes/svg/path_length.hpp b/nui/include/nui/frontend/attributes/svg/path_length.hpp new file mode 100644 index 0000000..bb4b8b0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/path_length.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(pathLength) diff --git a/nui/include/nui/frontend/attributes/svg/pattern_content_units.hpp b/nui/include/nui/frontend/attributes/svg/pattern_content_units.hpp new file mode 100644 index 0000000..a549847 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/pattern_content_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(patternContentUnits) diff --git a/nui/include/nui/frontend/attributes/svg/pattern_transform.hpp b/nui/include/nui/frontend/attributes/svg/pattern_transform.hpp new file mode 100644 index 0000000..3b1e07b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/pattern_transform.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(patternTransform) diff --git a/nui/include/nui/frontend/attributes/svg/pattern_units.hpp b/nui/include/nui/frontend/attributes/svg/pattern_units.hpp new file mode 100644 index 0000000..f3a86ad --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/pattern_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(patternUnits) diff --git a/nui/include/nui/frontend/attributes/svg/ping.hpp b/nui/include/nui/frontend/attributes/svg/ping.hpp new file mode 100644 index 0000000..b310ec9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ping.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(ping) diff --git a/nui/include/nui/frontend/attributes/svg/pointer_events.hpp b/nui/include/nui/frontend/attributes/svg/pointer_events.hpp new file mode 100644 index 0000000..1a47415 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/pointer_events.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(pointerEvents, "pointer-events") diff --git a/nui/include/nui/frontend/attributes/svg/points.hpp b/nui/include/nui/frontend/attributes/svg/points.hpp new file mode 100644 index 0000000..0239d6d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/points.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(points) diff --git a/nui/include/nui/frontend/attributes/svg/points_at_x.hpp b/nui/include/nui/frontend/attributes/svg/points_at_x.hpp new file mode 100644 index 0000000..72abd88 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/points_at_x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(pointsAtX) diff --git a/nui/include/nui/frontend/attributes/svg/points_at_y.hpp b/nui/include/nui/frontend/attributes/svg/points_at_y.hpp new file mode 100644 index 0000000..ffec014 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/points_at_y.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(pointsAtY) diff --git a/nui/include/nui/frontend/attributes/svg/points_at_z.hpp b/nui/include/nui/frontend/attributes/svg/points_at_z.hpp new file mode 100644 index 0000000..25e5905 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/points_at_z.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(pointsAtZ) diff --git a/nui/include/nui/frontend/attributes/svg/preserve_alpha.hpp b/nui/include/nui/frontend/attributes/svg/preserve_alpha.hpp new file mode 100644 index 0000000..8f3012e --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/preserve_alpha.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(preserveAlpha) diff --git a/nui/include/nui/frontend/attributes/svg/preserve_aspect_ratio.hpp b/nui/include/nui/frontend/attributes/svg/preserve_aspect_ratio.hpp new file mode 100644 index 0000000..ef7febd --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/preserve_aspect_ratio.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(preserveAspectRatio) diff --git a/nui/include/nui/frontend/attributes/svg/primitive_units.hpp b/nui/include/nui/frontend/attributes/svg/primitive_units.hpp new file mode 100644 index 0000000..ebca7ca --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/primitive_units.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(primitiveUnits) diff --git a/nui/include/nui/frontend/attributes/svg/r.hpp b/nui/include/nui/frontend/attributes/svg/r.hpp new file mode 100644 index 0000000..4cb5c76 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/r.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(r) diff --git a/nui/include/nui/frontend/attributes/svg/radius.hpp b/nui/include/nui/frontend/attributes/svg/radius.hpp new file mode 100644 index 0000000..b5e5ce9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/radius.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(radius) diff --git a/nui/include/nui/frontend/attributes/svg/ref_x.hpp b/nui/include/nui/frontend/attributes/svg/ref_x.hpp new file mode 100644 index 0000000..736b9b8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ref_x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(refX) diff --git a/nui/include/nui/frontend/attributes/svg/ref_y.hpp b/nui/include/nui/frontend/attributes/svg/ref_y.hpp new file mode 100644 index 0000000..c30493c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ref_y.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(refY) diff --git a/nui/include/nui/frontend/attributes/svg/referrer_policy.hpp b/nui/include/nui/frontend/attributes/svg/referrer_policy.hpp new file mode 100644 index 0000000..e6cb5e9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/referrer_policy.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(referrerPolicy) diff --git a/nui/include/nui/frontend/attributes/svg/rel.hpp b/nui/include/nui/frontend/attributes/svg/rel.hpp new file mode 100644 index 0000000..cc05359 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/rel.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(rel) diff --git a/nui/include/nui/frontend/attributes/svg/rendering_intent.hpp b/nui/include/nui/frontend/attributes/svg/rendering_intent.hpp new file mode 100644 index 0000000..21d7dd4 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/rendering_intent.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(renderingIntent, "rendering-intent") diff --git a/nui/include/nui/frontend/attributes/svg/repeat_count.hpp b/nui/include/nui/frontend/attributes/svg/repeat_count.hpp new file mode 100644 index 0000000..0e5a60a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/repeat_count.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(repeatCount) diff --git a/nui/include/nui/frontend/attributes/svg/repeat_dur.hpp b/nui/include/nui/frontend/attributes/svg/repeat_dur.hpp new file mode 100644 index 0000000..ea78048 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/repeat_dur.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(repeatDur) diff --git a/nui/include/nui/frontend/attributes/svg/required_extensions.hpp b/nui/include/nui/frontend/attributes/svg/required_extensions.hpp new file mode 100644 index 0000000..f803df4 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/required_extensions.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(requiredExtensions) diff --git a/nui/include/nui/frontend/attributes/svg/required_features.hpp b/nui/include/nui/frontend/attributes/svg/required_features.hpp new file mode 100644 index 0000000..1455b90 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/required_features.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(requiredFeatures) diff --git a/nui/include/nui/frontend/attributes/svg/restart.hpp b/nui/include/nui/frontend/attributes/svg/restart.hpp new file mode 100644 index 0000000..f292f37 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/restart.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(restart) diff --git a/nui/include/nui/frontend/attributes/svg/result.hpp b/nui/include/nui/frontend/attributes/svg/result.hpp new file mode 100644 index 0000000..596c4d7 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/result.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(result) diff --git a/nui/include/nui/frontend/attributes/svg/rotate.hpp b/nui/include/nui/frontend/attributes/svg/rotate.hpp new file mode 100644 index 0000000..62b8080 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/rotate.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(rotate) diff --git a/nui/include/nui/frontend/attributes/svg/rx.hpp b/nui/include/nui/frontend/attributes/svg/rx.hpp new file mode 100644 index 0000000..ae0b3ea --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/rx.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(rx) diff --git a/nui/include/nui/frontend/attributes/svg/ry.hpp b/nui/include/nui/frontend/attributes/svg/ry.hpp new file mode 100644 index 0000000..1888733 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/ry.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(ry) diff --git a/nui/include/nui/frontend/attributes/svg/scale.hpp b/nui/include/nui/frontend/attributes/svg/scale.hpp new file mode 100644 index 0000000..ea128e8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/scale.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(scale) diff --git a/nui/include/nui/frontend/attributes/svg/seed.hpp b/nui/include/nui/frontend/attributes/svg/seed.hpp new file mode 100644 index 0000000..b9f7619 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/seed.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(seed) diff --git a/nui/include/nui/frontend/attributes/svg/shape_rendering.hpp b/nui/include/nui/frontend/attributes/svg/shape_rendering.hpp new file mode 100644 index 0000000..24c39e5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/shape_rendering.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(shapeRendering, "shape-rendering") diff --git a/nui/include/nui/frontend/attributes/svg/slope.hpp b/nui/include/nui/frontend/attributes/svg/slope.hpp new file mode 100644 index 0000000..bb6e5e0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/slope.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(slope) diff --git a/nui/include/nui/frontend/attributes/svg/spacing.hpp b/nui/include/nui/frontend/attributes/svg/spacing.hpp new file mode 100644 index 0000000..bb2d066 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/spacing.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(spacing) diff --git a/nui/include/nui/frontend/attributes/svg/specular_constant.hpp b/nui/include/nui/frontend/attributes/svg/specular_constant.hpp new file mode 100644 index 0000000..ea8cbd4 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/specular_constant.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(specularConstant) diff --git a/nui/include/nui/frontend/attributes/svg/specular_exponent.hpp b/nui/include/nui/frontend/attributes/svg/specular_exponent.hpp new file mode 100644 index 0000000..f34c39c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/specular_exponent.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(specularExponent) diff --git a/nui/include/nui/frontend/attributes/svg/speed.hpp b/nui/include/nui/frontend/attributes/svg/speed.hpp new file mode 100644 index 0000000..98bdf70 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/speed.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(speed) diff --git a/nui/include/nui/frontend/attributes/svg/spread_method.hpp b/nui/include/nui/frontend/attributes/svg/spread_method.hpp new file mode 100644 index 0000000..f9f6a3d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/spread_method.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(spreadMethod) diff --git a/nui/include/nui/frontend/attributes/svg/start_offset.hpp b/nui/include/nui/frontend/attributes/svg/start_offset.hpp new file mode 100644 index 0000000..62183d3 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/start_offset.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(startOffset) diff --git a/nui/include/nui/frontend/attributes/svg/std_deviation.hpp b/nui/include/nui/frontend/attributes/svg/std_deviation.hpp new file mode 100644 index 0000000..8577809 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/std_deviation.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(stdDeviation) diff --git a/nui/include/nui/frontend/attributes/svg/stemh.hpp b/nui/include/nui/frontend/attributes/svg/stemh.hpp new file mode 100644 index 0000000..9ee89d9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stemh.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(stemh) diff --git a/nui/include/nui/frontend/attributes/svg/stemv.hpp b/nui/include/nui/frontend/attributes/svg/stemv.hpp new file mode 100644 index 0000000..42d9277 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stemv.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(stemv) diff --git a/nui/include/nui/frontend/attributes/svg/stitch_tiles.hpp b/nui/include/nui/frontend/attributes/svg/stitch_tiles.hpp new file mode 100644 index 0000000..c92f3b7 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stitch_tiles.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(stitchTiles) diff --git a/nui/include/nui/frontend/attributes/svg/stop_color.hpp b/nui/include/nui/frontend/attributes/svg/stop_color.hpp new file mode 100644 index 0000000..d443520 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stop_color.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(stopColor, "stop-color") diff --git a/nui/include/nui/frontend/attributes/svg/stop_opacity.hpp b/nui/include/nui/frontend/attributes/svg/stop_opacity.hpp new file mode 100644 index 0000000..6b3cf2b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stop_opacity.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(stopOpacity, "stop-opacity") diff --git a/nui/include/nui/frontend/attributes/svg/strikethrough_position.hpp b/nui/include/nui/frontend/attributes/svg/strikethrough_position.hpp new file mode 100644 index 0000000..488dc61 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/strikethrough_position.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strikethroughPosition, "strikethrough-position") diff --git a/nui/include/nui/frontend/attributes/svg/strikethrough_thickness.hpp b/nui/include/nui/frontend/attributes/svg/strikethrough_thickness.hpp new file mode 100644 index 0000000..9ed7ee5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/strikethrough_thickness.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strikethroughThickness, "strikethrough-thickness") diff --git a/nui/include/nui/frontend/attributes/svg/string.hpp b/nui/include/nui/frontend/attributes/svg/string.hpp new file mode 100644 index 0000000..42b76aa --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/string.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(string) diff --git a/nui/include/nui/frontend/attributes/svg/stroke.hpp b/nui/include/nui/frontend/attributes/svg/stroke.hpp new file mode 100644 index 0000000..26018d4 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(stroke) diff --git a/nui/include/nui/frontend/attributes/svg/stroke_dasharray.hpp b/nui/include/nui/frontend/attributes/svg/stroke_dasharray.hpp new file mode 100644 index 0000000..4cf4986 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_dasharray.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeDasharray, "stroke-dasharray") diff --git a/nui/include/nui/frontend/attributes/svg/stroke_dashoffset.hpp b/nui/include/nui/frontend/attributes/svg/stroke_dashoffset.hpp new file mode 100644 index 0000000..f835a38 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_dashoffset.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeDashoffset, "stroke-dashoffset") diff --git a/nui/include/nui/frontend/attributes/svg/stroke_linecap.hpp b/nui/include/nui/frontend/attributes/svg/stroke_linecap.hpp new file mode 100644 index 0000000..2bb996b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_linecap.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeLinecap, "stroke-linecap") diff --git a/nui/include/nui/frontend/attributes/svg/stroke_linejoin.hpp b/nui/include/nui/frontend/attributes/svg/stroke_linejoin.hpp new file mode 100644 index 0000000..2f757ca --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_linejoin.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeLinejoin, "stroke-linejoin") diff --git a/nui/include/nui/frontend/attributes/svg/stroke_miterlimit.hpp b/nui/include/nui/frontend/attributes/svg/stroke_miterlimit.hpp new file mode 100644 index 0000000..4e3afcc --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_miterlimit.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeMiterlimit, "stroke-miterlimit") diff --git a/nui/include/nui/frontend/attributes/svg/stroke_opacity.hpp b/nui/include/nui/frontend/attributes/svg/stroke_opacity.hpp new file mode 100644 index 0000000..29b5aca --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_opacity.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeOpacity, "stroke-opacity") diff --git a/nui/include/nui/frontend/attributes/svg/stroke_width.hpp b/nui/include/nui/frontend/attributes/svg/stroke_width.hpp new file mode 100644 index 0000000..057c2d3 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/stroke_width.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(strokeWidth, "stroke-width") diff --git a/nui/include/nui/frontend/attributes/svg/style.hpp b/nui/include/nui/frontend/attributes/svg/style.hpp new file mode 100644 index 0000000..251e499 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/style.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(style) diff --git a/nui/include/nui/frontend/attributes/svg/surface_scale.hpp b/nui/include/nui/frontend/attributes/svg/surface_scale.hpp new file mode 100644 index 0000000..9d2cd4a --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/surface_scale.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(surfaceScale) diff --git a/nui/include/nui/frontend/attributes/svg/system_language.hpp b/nui/include/nui/frontend/attributes/svg/system_language.hpp new file mode 100644 index 0000000..27b8217 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/system_language.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(systemLanguage) diff --git a/nui/include/nui/frontend/attributes/svg/tabindex.hpp b/nui/include/nui/frontend/attributes/svg/tabindex.hpp new file mode 100644 index 0000000..f34b018 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/tabindex.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(tabindex) diff --git a/nui/include/nui/frontend/attributes/svg/table_values.hpp b/nui/include/nui/frontend/attributes/svg/table_values.hpp new file mode 100644 index 0000000..b3adbd3 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/table_values.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(tableValues) diff --git a/nui/include/nui/frontend/attributes/svg/target.hpp b/nui/include/nui/frontend/attributes/svg/target.hpp new file mode 100644 index 0000000..3faeae6 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/target.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(target) diff --git a/nui/include/nui/frontend/attributes/svg/target_x.hpp b/nui/include/nui/frontend/attributes/svg/target_x.hpp new file mode 100644 index 0000000..55806ad --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/target_x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(targetX) diff --git a/nui/include/nui/frontend/attributes/svg/target_y.hpp b/nui/include/nui/frontend/attributes/svg/target_y.hpp new file mode 100644 index 0000000..e92966b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/target_y.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(targetY) diff --git a/nui/include/nui/frontend/attributes/svg/text_anchor.hpp b/nui/include/nui/frontend/attributes/svg/text_anchor.hpp new file mode 100644 index 0000000..7f849f9 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/text_anchor.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(textAnchor, "text-anchor") diff --git a/nui/include/nui/frontend/attributes/svg/text_decoration.hpp b/nui/include/nui/frontend/attributes/svg/text_decoration.hpp new file mode 100644 index 0000000..3888bab --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/text_decoration.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(textDecoration, "text-decoration") diff --git a/nui/include/nui/frontend/attributes/svg/text_length.hpp b/nui/include/nui/frontend/attributes/svg/text_length.hpp new file mode 100644 index 0000000..eed7926 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/text_length.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(textLength) diff --git a/nui/include/nui/frontend/attributes/svg/text_rendering.hpp b/nui/include/nui/frontend/attributes/svg/text_rendering.hpp new file mode 100644 index 0000000..f16f51b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/text_rendering.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(textRendering, "text-rendering") diff --git a/nui/include/nui/frontend/attributes/svg/to.hpp b/nui/include/nui/frontend/attributes/svg/to.hpp new file mode 100644 index 0000000..ff73014 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/to.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(to) diff --git a/nui/include/nui/frontend/attributes/svg/transform.hpp b/nui/include/nui/frontend/attributes/svg/transform.hpp new file mode 100644 index 0000000..23e41fc --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/transform.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(transform) diff --git a/nui/include/nui/frontend/attributes/svg/transform_origin.hpp b/nui/include/nui/frontend/attributes/svg/transform_origin.hpp new file mode 100644 index 0000000..0865127 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/transform_origin.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(transformOrigin, "transform-origin") diff --git a/nui/include/nui/frontend/attributes/svg/type.hpp b/nui/include/nui/frontend/attributes/svg/type.hpp new file mode 100644 index 0000000..fd9d368 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/type.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(type) diff --git a/nui/include/nui/frontend/attributes/svg/u.hpp b/nui/include/nui/frontend/attributes/svg/u.hpp new file mode 100644 index 0000000..2fd6bd5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/u.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(u) diff --git a/nui/include/nui/frontend/attributes/svg/underline_position.hpp b/nui/include/nui/frontend/attributes/svg/underline_position.hpp new file mode 100644 index 0000000..b2859d4 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/underline_position.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(underlinePosition, "underline-position") diff --git a/nui/include/nui/frontend/attributes/svg/underline_thickness.hpp b/nui/include/nui/frontend/attributes/svg/underline_thickness.hpp new file mode 100644 index 0000000..36c2864 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/underline_thickness.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(underlineThickness, "underline-thickness") diff --git a/nui/include/nui/frontend/attributes/svg/unicode.hpp b/nui/include/nui/frontend/attributes/svg/unicode.hpp new file mode 100644 index 0000000..c714c39 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/unicode.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(unicode) diff --git a/nui/include/nui/frontend/attributes/svg/unicode_bidi.hpp b/nui/include/nui/frontend/attributes/svg/unicode_bidi.hpp new file mode 100644 index 0000000..e098daa --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/unicode_bidi.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(unicodeBidi, "unicode-bidi") diff --git a/nui/include/nui/frontend/attributes/svg/unicode_range.hpp b/nui/include/nui/frontend/attributes/svg/unicode_range.hpp new file mode 100644 index 0000000..529c4ee --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/unicode_range.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(unicodeRange, "unicode-range") diff --git a/nui/include/nui/frontend/attributes/svg/units_per_em.hpp b/nui/include/nui/frontend/attributes/svg/units_per_em.hpp new file mode 100644 index 0000000..077a7be --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/units_per_em.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(unitsPerEm, "units-per-em") diff --git a/nui/include/nui/frontend/attributes/svg/v_alphabetic.hpp b/nui/include/nui/frontend/attributes/svg/v_alphabetic.hpp new file mode 100644 index 0000000..b7095ba --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/v_alphabetic.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vAlphabetic, "v-alphabetic") diff --git a/nui/include/nui/frontend/attributes/svg/v_hanging.hpp b/nui/include/nui/frontend/attributes/svg/v_hanging.hpp new file mode 100644 index 0000000..d8745c5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/v_hanging.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vHanging, "v-hanging") diff --git a/nui/include/nui/frontend/attributes/svg/v_ideographic.hpp b/nui/include/nui/frontend/attributes/svg/v_ideographic.hpp new file mode 100644 index 0000000..76452fc --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/v_ideographic.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vIdeographic, "v-ideographic") diff --git a/nui/include/nui/frontend/attributes/svg/v_mathemtical.hpp b/nui/include/nui/frontend/attributes/svg/v_mathemtical.hpp new file mode 100644 index 0000000..62c9807 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/v_mathemtical.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vMathemtical, "v-mathemtical") diff --git a/nui/include/nui/frontend/attributes/svg/values.hpp b/nui/include/nui/frontend/attributes/svg/values.hpp new file mode 100644 index 0000000..abd411c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/values.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(values) diff --git a/nui/include/nui/frontend/attributes/svg/vector_offset.hpp b/nui/include/nui/frontend/attributes/svg/vector_offset.hpp new file mode 100644 index 0000000..82fce35 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/vector_offset.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vectorOffset, "vector-offset") diff --git a/nui/include/nui/frontend/attributes/svg/version.hpp b/nui/include/nui/frontend/attributes/svg/version.hpp new file mode 100644 index 0000000..8362a57 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/version.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(version) diff --git a/nui/include/nui/frontend/attributes/svg/vert_adv_y.hpp b/nui/include/nui/frontend/attributes/svg/vert_adv_y.hpp new file mode 100644 index 0000000..ffa7784 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/vert_adv_y.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vertAdvY, "vert-adv-y") diff --git a/nui/include/nui/frontend/attributes/svg/vert_origin_x.hpp b/nui/include/nui/frontend/attributes/svg/vert_origin_x.hpp new file mode 100644 index 0000000..31d13f8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/vert_origin_x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vertOriginX, "vert-origin-x") diff --git a/nui/include/nui/frontend/attributes/svg/vert_origin_y.hpp b/nui/include/nui/frontend/attributes/svg/vert_origin_y.hpp new file mode 100644 index 0000000..c58a744 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/vert_origin_y.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(vertOriginY, "vert-origin-y") diff --git a/nui/include/nui/frontend/attributes/svg/view_box.hpp b/nui/include/nui/frontend/attributes/svg/view_box.hpp new file mode 100644 index 0000000..19ee24c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/view_box.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(viewBox) diff --git a/nui/include/nui/frontend/attributes/svg/view_target.hpp b/nui/include/nui/frontend/attributes/svg/view_target.hpp new file mode 100644 index 0000000..7aac0b7 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/view_target.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(viewTarget) diff --git a/nui/include/nui/frontend/attributes/svg/visibility.hpp b/nui/include/nui/frontend/attributes/svg/visibility.hpp new file mode 100644 index 0000000..527d190 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/visibility.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(visibility) diff --git a/nui/include/nui/frontend/attributes/svg/width.hpp b/nui/include/nui/frontend/attributes/svg/width.hpp new file mode 100644 index 0000000..defa35d --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/width.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(width) diff --git a/nui/include/nui/frontend/attributes/svg/widths.hpp b/nui/include/nui/frontend/attributes/svg/widths.hpp new file mode 100644 index 0000000..655b483 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/widths.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(widths) diff --git a/nui/include/nui/frontend/attributes/svg/word_spacing.hpp b/nui/include/nui/frontend/attributes/svg/word_spacing.hpp new file mode 100644 index 0000000..5ca9ff8 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/word_spacing.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(wordSpacing, "word-spacing") diff --git a/nui/include/nui/frontend/attributes/svg/writing_mode.hpp b/nui/include/nui/frontend/attributes/svg/writing_mode.hpp new file mode 100644 index 0000000..f0f2ef6 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/writing_mode.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(writingMode, "writing-mode") diff --git a/nui/include/nui/frontend/attributes/svg/x.hpp b/nui/include/nui/frontend/attributes/svg/x.hpp new file mode 100644 index 0000000..938184b --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/x.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(x) diff --git a/nui/include/nui/frontend/attributes/svg/x_channel_selector.hpp b/nui/include/nui/frontend/attributes/svg/x_channel_selector.hpp new file mode 100644 index 0000000..a9832a0 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/x_channel_selector.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(xChannelSelector) diff --git a/nui/include/nui/frontend/attributes/svg/x_height.hpp b/nui/include/nui/frontend/attributes/svg/x_height.hpp new file mode 100644 index 0000000..ceb09e5 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/x_height.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE_RENAME(xHeight, "x-height") diff --git a/nui/include/nui/frontend/attributes/svg/y.hpp b/nui/include/nui/frontend/attributes/svg/y.hpp new file mode 100644 index 0000000..f2eaa3c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/y.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(y) diff --git a/nui/include/nui/frontend/attributes/svg/y_channel_selector.hpp b/nui/include/nui/frontend/attributes/svg/y_channel_selector.hpp new file mode 100644 index 0000000..406fd3c --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/y_channel_selector.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(yChannelSelector) diff --git a/nui/include/nui/frontend/attributes/svg/z.hpp b/nui/include/nui/frontend/attributes/svg/z.hpp new file mode 100644 index 0000000..f81aeca --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/z.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(z) diff --git a/nui/include/nui/frontend/attributes/svg/zoom_and_pan.hpp b/nui/include/nui/frontend/attributes/svg/zoom_and_pan.hpp new file mode 100644 index 0000000..5030ff1 --- /dev/null +++ b/nui/include/nui/frontend/attributes/svg/zoom_and_pan.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +MAKE_SVG_VALUE_ATTRIBUTE(zoomAndPan) diff --git a/nui/include/nui/frontend/dom/basic_element.hpp b/nui/include/nui/frontend/dom/basic_element.hpp index 035fbe8..18ac3f7 100644 --- a/nui/include/nui/frontend/dom/basic_element.hpp +++ b/nui/include/nui/frontend/dom/basic_element.hpp @@ -5,6 +5,8 @@ #include #include #include +#include +#include namespace Nui::Dom { @@ -55,6 +57,12 @@ namespace Nui::Dom }); return tag; } + std::optional namespaceUri() const + { + if (!element_.isUndefined() && element_.hasOwnProperty("namespaceURI")) + return element_["namespaceURI"].as(); + return std::nullopt; + } protected: Nui::val element_; diff --git a/nui/include/nui/frontend/dom/childless_element.hpp b/nui/include/nui/frontend/dom/childless_element.hpp index 828a7c0..01bb6b8 100644 --- a/nui/include/nui/frontend/dom/childless_element.hpp +++ b/nui/include/nui/frontend/dom/childless_element.hpp @@ -67,7 +67,7 @@ namespace Nui::Dom protected: static ChildlessElement createElement(HtmlElement const& element) { - return {Nui::val::global("document").call("createElement", Nui::val{element.name()})}; + return element.bridge()->createElement(element); } }; }; diff --git a/nui/include/nui/frontend/elements.hpp b/nui/include/nui/frontend/elements.hpp index f3dfe65..480284b 100644 --- a/nui/include/nui/frontend/elements.hpp +++ b/nui/include/nui/frontend/elements.hpp @@ -83,7 +83,6 @@ #include #include #include -#include #include #include #include diff --git a/nui/include/nui/frontend/elements/a.hpp b/nui/include/nui/frontend/elements/a.hpp index aa69c04..4440c97 100644 --- a/nui/include/nui/frontend/elements/a.hpp +++ b/nui/include/nui/frontend/elements/a.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(a) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/abbr.hpp b/nui/include/nui/frontend/elements/abbr.hpp index 53b3688..97b5e73 100644 --- a/nui/include/nui/frontend/elements/abbr.hpp +++ b/nui/include/nui/frontend/elements/abbr.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(abbr) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/address.hpp b/nui/include/nui/frontend/elements/address.hpp index 91330d8..64144f4 100644 --- a/nui/include/nui/frontend/elements/address.hpp +++ b/nui/include/nui/frontend/elements/address.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(address) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/area.hpp b/nui/include/nui/frontend/elements/area.hpp index 4b5b6c4..3435180 100644 --- a/nui/include/nui/frontend/elements/area.hpp +++ b/nui/include/nui/frontend/elements/area.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(area) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/article.hpp b/nui/include/nui/frontend/elements/article.hpp index 0a478f2..83611b4 100644 --- a/nui/include/nui/frontend/elements/article.hpp +++ b/nui/include/nui/frontend/elements/article.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(article) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/aside.hpp b/nui/include/nui/frontend/elements/aside.hpp index 8cf6388..b57b6b9 100644 --- a/nui/include/nui/frontend/elements/aside.hpp +++ b/nui/include/nui/frontend/elements/aside.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(aside) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/audio.hpp b/nui/include/nui/frontend/elements/audio.hpp index 61b0764..d5a7539 100644 --- a/nui/include/nui/frontend/elements/audio.hpp +++ b/nui/include/nui/frontend/elements/audio.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(audio) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/b.hpp b/nui/include/nui/frontend/elements/b.hpp index 1f58b4f..290534d 100644 --- a/nui/include/nui/frontend/elements/b.hpp +++ b/nui/include/nui/frontend/elements/b.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(b) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/base.hpp b/nui/include/nui/frontend/elements/base.hpp index dd11b74..59a2731 100644 --- a/nui/include/nui/frontend/elements/base.hpp +++ b/nui/include/nui/frontend/elements/base.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(base) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/bdi.hpp b/nui/include/nui/frontend/elements/bdi.hpp index f8e4ada..4f08c61 100644 --- a/nui/include/nui/frontend/elements/bdi.hpp +++ b/nui/include/nui/frontend/elements/bdi.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(bdi) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/bdo.hpp b/nui/include/nui/frontend/elements/bdo.hpp index 27a471b..7e967f3 100644 --- a/nui/include/nui/frontend/elements/bdo.hpp +++ b/nui/include/nui/frontend/elements/bdo.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(bdo) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/blockquote.hpp b/nui/include/nui/frontend/elements/blockquote.hpp index 1552821..252d7dc 100644 --- a/nui/include/nui/frontend/elements/blockquote.hpp +++ b/nui/include/nui/frontend/elements/blockquote.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(blockquote) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/body.hpp b/nui/include/nui/frontend/elements/body.hpp index e0c6564..3943d33 100644 --- a/nui/include/nui/frontend/elements/body.hpp +++ b/nui/include/nui/frontend/elements/body.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(body) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/br.hpp b/nui/include/nui/frontend/elements/br.hpp index 8c830e6..8026dec 100644 --- a/nui/include/nui/frontend/elements/br.hpp +++ b/nui/include/nui/frontend/elements/br.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(br) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/button.hpp b/nui/include/nui/frontend/elements/button.hpp index 1ab5156..5cdd155 100644 --- a/nui/include/nui/frontend/elements/button.hpp +++ b/nui/include/nui/frontend/elements/button.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(button) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/canvas.hpp b/nui/include/nui/frontend/elements/canvas.hpp index fcc7eba..85a0395 100644 --- a/nui/include/nui/frontend/elements/canvas.hpp +++ b/nui/include/nui/frontend/elements/canvas.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(canvas) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/caption.hpp b/nui/include/nui/frontend/elements/caption.hpp index 579bd64..fc94e4c 100644 --- a/nui/include/nui/frontend/elements/caption.hpp +++ b/nui/include/nui/frontend/elements/caption.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(caption) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/cite.hpp b/nui/include/nui/frontend/elements/cite.hpp index a76c3cf..0a3d69b 100644 --- a/nui/include/nui/frontend/elements/cite.hpp +++ b/nui/include/nui/frontend/elements/cite.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(cite) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/code.hpp b/nui/include/nui/frontend/elements/code.hpp index 1b02403..dbd47b6 100644 --- a/nui/include/nui/frontend/elements/code.hpp +++ b/nui/include/nui/frontend/elements/code.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(code) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/col.hpp b/nui/include/nui/frontend/elements/col.hpp index e90a3af..fd0ac23 100644 --- a/nui/include/nui/frontend/elements/col.hpp +++ b/nui/include/nui/frontend/elements/col.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(col) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/colgroup.hpp b/nui/include/nui/frontend/elements/colgroup.hpp index c385a40..fab753d 100644 --- a/nui/include/nui/frontend/elements/colgroup.hpp +++ b/nui/include/nui/frontend/elements/colgroup.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(colgroup) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/data.hpp b/nui/include/nui/frontend/elements/data.hpp index e2cf68b..b1c2bce 100644 --- a/nui/include/nui/frontend/elements/data.hpp +++ b/nui/include/nui/frontend/elements/data.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(data) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/datalist.hpp b/nui/include/nui/frontend/elements/datalist.hpp index 816618f..5056b71 100644 --- a/nui/include/nui/frontend/elements/datalist.hpp +++ b/nui/include/nui/frontend/elements/datalist.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(datalist) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/dd.hpp b/nui/include/nui/frontend/elements/dd.hpp index e76b926..6cf9bb1 100644 --- a/nui/include/nui/frontend/elements/dd.hpp +++ b/nui/include/nui/frontend/elements/dd.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(dd) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/del.hpp b/nui/include/nui/frontend/elements/del.hpp index ede5a67..71e2dfd 100644 --- a/nui/include/nui/frontend/elements/del.hpp +++ b/nui/include/nui/frontend/elements/del.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(del) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/details.hpp b/nui/include/nui/frontend/elements/details.hpp index 4969d45..6cca5cf 100644 --- a/nui/include/nui/frontend/elements/details.hpp +++ b/nui/include/nui/frontend/elements/details.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(details) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/dfn.hpp b/nui/include/nui/frontend/elements/dfn.hpp index 4b642a0..720cf83 100644 --- a/nui/include/nui/frontend/elements/dfn.hpp +++ b/nui/include/nui/frontend/elements/dfn.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(dfn) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/dialog.hpp b/nui/include/nui/frontend/elements/dialog.hpp index 54db8c2..81914b8 100644 --- a/nui/include/nui/frontend/elements/dialog.hpp +++ b/nui/include/nui/frontend/elements/dialog.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(dialog) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/div.hpp b/nui/include/nui/frontend/elements/div.hpp index 89644df..83cb205 100644 --- a/nui/include/nui/frontend/elements/div.hpp +++ b/nui/include/nui/frontend/elements/div.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(div) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/dl.hpp b/nui/include/nui/frontend/elements/dl.hpp index 0d5feec..3c28417 100644 --- a/nui/include/nui/frontend/elements/dl.hpp +++ b/nui/include/nui/frontend/elements/dl.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(dl) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/dt.hpp b/nui/include/nui/frontend/elements/dt.hpp index 31ba766..832166d 100644 --- a/nui/include/nui/frontend/elements/dt.hpp +++ b/nui/include/nui/frontend/elements/dt.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(dt) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/em.hpp b/nui/include/nui/frontend/elements/em.hpp index 622155b..385156d 100644 --- a/nui/include/nui/frontend/elements/em.hpp +++ b/nui/include/nui/frontend/elements/em.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(em) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/embed.hpp b/nui/include/nui/frontend/elements/embed.hpp index c52c9fa..36498e0 100644 --- a/nui/include/nui/frontend/elements/embed.hpp +++ b/nui/include/nui/frontend/elements/embed.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(embed) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/fieldset.hpp b/nui/include/nui/frontend/elements/fieldset.hpp index 1dd6f2b..9478dc6 100644 --- a/nui/include/nui/frontend/elements/fieldset.hpp +++ b/nui/include/nui/frontend/elements/fieldset.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(fieldset) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/figcaption.hpp b/nui/include/nui/frontend/elements/figcaption.hpp index b138335..980e590 100644 --- a/nui/include/nui/frontend/elements/figcaption.hpp +++ b/nui/include/nui/frontend/elements/figcaption.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(figcaption) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/figure.hpp b/nui/include/nui/frontend/elements/figure.hpp index 165c30e..ebd6fb4 100644 --- a/nui/include/nui/frontend/elements/figure.hpp +++ b/nui/include/nui/frontend/elements/figure.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(figure) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/footer.hpp b/nui/include/nui/frontend/elements/footer.hpp index 0f4b4d1..d336297 100644 --- a/nui/include/nui/frontend/elements/footer.hpp +++ b/nui/include/nui/frontend/elements/footer.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(footer) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/form.hpp b/nui/include/nui/frontend/elements/form.hpp index 9de29eb..9c82030 100644 --- a/nui/include/nui/frontend/elements/form.hpp +++ b/nui/include/nui/frontend/elements/form.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(form) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/fragment.hpp b/nui/include/nui/frontend/elements/fragment.hpp index fc75ad4..54cd461 100644 --- a/nui/include/nui/frontend/elements/fragment.hpp +++ b/nui/include/nui/frontend/elements/fragment.hpp @@ -1,6 +1,6 @@ #pragma once -#include +#include #include @@ -14,8 +14,8 @@ namespace Nui::Elements template constexpr auto fragment(ParametersT&&... params) { - return [generator = HtmlElement{"fragmenterror"}(std::forward(params)...)]( - auto& parentElement, Renderer const&) { + return [generator = HtmlElement{"fragmenterror", &RegularHtmlElementBridge}( + std::forward(params)...)](auto& parentElement, Renderer const&) { return generator(parentElement, Renderer{.type = RendererType::Inplace}); }; } diff --git a/nui/include/nui/frontend/elements/h1.hpp b/nui/include/nui/frontend/elements/h1.hpp index 391fbba..aca967d 100644 --- a/nui/include/nui/frontend/elements/h1.hpp +++ b/nui/include/nui/frontend/elements/h1.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(h1) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/h2.hpp b/nui/include/nui/frontend/elements/h2.hpp index af6e4b6..5919454 100644 --- a/nui/include/nui/frontend/elements/h2.hpp +++ b/nui/include/nui/frontend/elements/h2.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(h2) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/h3.hpp b/nui/include/nui/frontend/elements/h3.hpp index bbb58d0..052d741 100644 --- a/nui/include/nui/frontend/elements/h3.hpp +++ b/nui/include/nui/frontend/elements/h3.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(h3) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/h4.hpp b/nui/include/nui/frontend/elements/h4.hpp index bb83a9a..ef64003 100644 --- a/nui/include/nui/frontend/elements/h4.hpp +++ b/nui/include/nui/frontend/elements/h4.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(h4) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/h5.hpp b/nui/include/nui/frontend/elements/h5.hpp index 8d9a1c8..3b42d83 100644 --- a/nui/include/nui/frontend/elements/h5.hpp +++ b/nui/include/nui/frontend/elements/h5.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(h5) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/h6.hpp b/nui/include/nui/frontend/elements/h6.hpp index 798f594..06299f9 100644 --- a/nui/include/nui/frontend/elements/h6.hpp +++ b/nui/include/nui/frontend/elements/h6.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(h6) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/head.hpp b/nui/include/nui/frontend/elements/head.hpp index 9b9e8c0..46051c9 100644 --- a/nui/include/nui/frontend/elements/head.hpp +++ b/nui/include/nui/frontend/elements/head.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(head) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/header.hpp b/nui/include/nui/frontend/elements/header.hpp index 798b8fb..f3e529e 100644 --- a/nui/include/nui/frontend/elements/header.hpp +++ b/nui/include/nui/frontend/elements/header.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(header) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/hr.hpp b/nui/include/nui/frontend/elements/hr.hpp index cd5b69b..9e8addb 100644 --- a/nui/include/nui/frontend/elements/hr.hpp +++ b/nui/include/nui/frontend/elements/hr.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(hr) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/i.hpp b/nui/include/nui/frontend/elements/i.hpp index 44c4022..73d4927 100644 --- a/nui/include/nui/frontend/elements/i.hpp +++ b/nui/include/nui/frontend/elements/i.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(i) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/iframe.hpp b/nui/include/nui/frontend/elements/iframe.hpp index cf07c5c..fab5c61 100644 --- a/nui/include/nui/frontend/elements/iframe.hpp +++ b/nui/include/nui/frontend/elements/iframe.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(iframe) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/img.hpp b/nui/include/nui/frontend/elements/img.hpp index 72b2a89..d62a9f4 100644 --- a/nui/include/nui/frontend/elements/img.hpp +++ b/nui/include/nui/frontend/elements/img.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(img) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/impl/html_element.hpp b/nui/include/nui/frontend/elements/impl/html_element.hpp index ecb815a..569ab60 100644 --- a/nui/include/nui/frontend/elements/impl/html_element.hpp +++ b/nui/include/nui/frontend/elements/impl/html_element.hpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -139,23 +140,29 @@ namespace Nui constexpr HtmlElement(HtmlElement const&) = default; constexpr HtmlElement(HtmlElement&&) = default; virtual ~HtmlElement() = default; - constexpr HtmlElement(char const* name, std::vector const& attributes) + constexpr HtmlElement( + char const* name, + HtmlElementBridge const* bridge, + std::vector const& attributes) : name_{name} + , bridge_{bridge} , attributes_{attributes} {} - constexpr HtmlElement(char const* name, std::vector&& attributes) + constexpr HtmlElement(char const* name, HtmlElementBridge const* bridge, std::vector&& attributes) : name_{name} + , bridge_{bridge} , attributes_{std::move(attributes)} {} template - constexpr HtmlElement(char const* name, T&&... attributes) + constexpr HtmlElement(char const* name, HtmlElementBridge const* bridge, T&&... attributes) : name_{name} + , bridge_{bridge} , attributes_{std::forward(attributes)...} {} HtmlElement clone() const { - return {name_, attributes_}; + return {name_, bridge_, attributes_}; } private: @@ -488,30 +495,14 @@ namespace Nui return name_; } + inline HtmlElementBridge const* bridge() const + { + return bridge_; + } + private: char const* name_; + HtmlElementBridge const* bridge_; std::vector attributes_; }; -} - -#define NUI_DECLARE_HTML_ELEMENT_RENAME(NAME, HTML_ACTUAL) \ - namespace Nui::Elements \ - { \ - struct NAME : HtmlElement \ - { \ - constexpr NAME(NAME const&) = default; \ - constexpr NAME(NAME&&) = default; \ - constexpr NAME(std::vector const& attributes) \ - : HtmlElement{HTML_ACTUAL, attributes} \ - {} \ - constexpr NAME(std::vector&& attributes) \ - : HtmlElement{HTML_ACTUAL, std::move(attributes)} \ - {} \ - template \ - constexpr NAME(T&&... attributes) \ - : HtmlElement{HTML_ACTUAL, std::forward(attributes)...} \ - {} \ - }; \ - } - -#define NUI_DECLARE_HTML_ELEMENT(NAME) NUI_DECLARE_HTML_ELEMENT_RENAME(NAME, #NAME) \ No newline at end of file +} \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/impl/html_element.tpp b/nui/include/nui/frontend/elements/impl/html_element.tpp index 0942a96..936dbf7 100644 --- a/nui/include/nui/frontend/elements/impl/html_element.tpp +++ b/nui/include/nui/frontend/elements/impl/html_element.tpp @@ -1,6 +1,7 @@ #pragma once #include +#include #include namespace Nui @@ -33,4 +34,26 @@ namespace Nui { return renderElement(gen, parentElement, htmlElement_); } -} \ No newline at end of file +} + +#define NUI_DECLARE_HTML_ELEMENT_RENAME(NAME, HTML_ACTUAL) \ + namespace Nui::Elements \ + { \ + struct NAME : HtmlElement \ + { \ + constexpr NAME(NAME const&) = default; \ + constexpr NAME(NAME&&) = default; \ + constexpr NAME(std::vector const& attributes) \ + : HtmlElement{HTML_ACTUAL, &RegularHtmlElementBridge, attributes} \ + {} \ + constexpr NAME(std::vector&& attributes) \ + : HtmlElement{HTML_ACTUAL, &RegularHtmlElementBridge, std::move(attributes)} \ + {} \ + template \ + constexpr NAME(T&&... attributes) \ + : HtmlElement{HTML_ACTUAL, &RegularHtmlElementBridge, std::forward(attributes)...} \ + {} \ + }; \ + } + +#define NUI_DECLARE_HTML_ELEMENT(NAME) NUI_DECLARE_HTML_ELEMENT_RENAME(NAME, #NAME) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/impl/html_element_bridge.hpp b/nui/include/nui/frontend/elements/impl/html_element_bridge.hpp new file mode 100644 index 0000000..8d5b3ba --- /dev/null +++ b/nui/include/nui/frontend/elements/impl/html_element_bridge.hpp @@ -0,0 +1,15 @@ +#pragma once + +namespace Nui +{ + namespace Dom + { + class ChildlessElement; + } + class HtmlElement; + + struct HtmlElementBridge + { + Dom::ChildlessElement (*createElement)(HtmlElement const& element); + }; +} \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/impl/html_element_bridges.hpp b/nui/include/nui/frontend/elements/impl/html_element_bridges.hpp new file mode 100644 index 0000000..93654fe --- /dev/null +++ b/nui/include/nui/frontend/elements/impl/html_element_bridges.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include +#include + +namespace Nui +{ + constexpr auto RegularHtmlElementBridge = HtmlElementBridge{ + .createElement = +[](HtmlElement const& element) -> Dom::ChildlessElement { + return {Nui::val::global("document").call("createElement", Nui::val{element.name()})}; + }, + }; + + constexpr auto SvgElementBridge = HtmlElementBridge{ + .createElement = +[](HtmlElement const& element) -> Dom::ChildlessElement { + return {Nui::val::global("document") + .call( + "createElementNS", + Nui::val{std::string{"http://www.w3.org/2000/svg"}}, + Nui::val{element.name()})}; + }, + }; +} \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg.hpp b/nui/include/nui/frontend/elements/impl/html_element_incl.hpp similarity index 54% rename from nui/include/nui/frontend/elements/svg.hpp rename to nui/include/nui/frontend/elements/impl/html_element_incl.hpp index 60aa278..f8ee38f 100644 --- a/nui/include/nui/frontend/elements/svg.hpp +++ b/nui/include/nui/frontend/elements/impl/html_element_incl.hpp @@ -1,5 +1,4 @@ #pragma once #include - -NUI_DECLARE_HTML_ELEMENT(svg) \ No newline at end of file +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/input.hpp b/nui/include/nui/frontend/elements/input.hpp index 347d375..77e3ea1 100644 --- a/nui/include/nui/frontend/elements/input.hpp +++ b/nui/include/nui/frontend/elements/input.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(input) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/ins.hpp b/nui/include/nui/frontend/elements/ins.hpp index 8b23543..6029c5d 100644 --- a/nui/include/nui/frontend/elements/ins.hpp +++ b/nui/include/nui/frontend/elements/ins.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(ins) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/kbd.hpp b/nui/include/nui/frontend/elements/kbd.hpp index c196263..b43eb93 100644 --- a/nui/include/nui/frontend/elements/kbd.hpp +++ b/nui/include/nui/frontend/elements/kbd.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(kbd) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/label.hpp b/nui/include/nui/frontend/elements/label.hpp index f1b6a6e..64abf44 100644 --- a/nui/include/nui/frontend/elements/label.hpp +++ b/nui/include/nui/frontend/elements/label.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(label) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/legend.hpp b/nui/include/nui/frontend/elements/legend.hpp index 12a51a7..4dd7e91 100644 --- a/nui/include/nui/frontend/elements/legend.hpp +++ b/nui/include/nui/frontend/elements/legend.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(legend) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/li.hpp b/nui/include/nui/frontend/elements/li.hpp index c4fd0b0..200002b 100644 --- a/nui/include/nui/frontend/elements/li.hpp +++ b/nui/include/nui/frontend/elements/li.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(li) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/link.hpp b/nui/include/nui/frontend/elements/link.hpp index 568bf08..4d70734 100644 --- a/nui/include/nui/frontend/elements/link.hpp +++ b/nui/include/nui/frontend/elements/link.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(link) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/main.hpp b/nui/include/nui/frontend/elements/main.hpp index 03b9dfe..0196450 100644 --- a/nui/include/nui/frontend/elements/main.hpp +++ b/nui/include/nui/frontend/elements/main.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT_RENAME(main_, "main") \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/map.hpp b/nui/include/nui/frontend/elements/map.hpp index 61cf831..efe7738 100644 --- a/nui/include/nui/frontend/elements/map.hpp +++ b/nui/include/nui/frontend/elements/map.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(map) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/mark.hpp b/nui/include/nui/frontend/elements/mark.hpp index 507f25e..600e2b3 100644 --- a/nui/include/nui/frontend/elements/mark.hpp +++ b/nui/include/nui/frontend/elements/mark.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(mark) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/menu.hpp b/nui/include/nui/frontend/elements/menu.hpp index 9c9bc91..6115138 100644 --- a/nui/include/nui/frontend/elements/menu.hpp +++ b/nui/include/nui/frontend/elements/menu.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(menu) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/meta.hpp b/nui/include/nui/frontend/elements/meta.hpp index 784ff27..2d2753e 100644 --- a/nui/include/nui/frontend/elements/meta.hpp +++ b/nui/include/nui/frontend/elements/meta.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(meta) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/meter.hpp b/nui/include/nui/frontend/elements/meter.hpp index 937642c..68a7580 100644 --- a/nui/include/nui/frontend/elements/meter.hpp +++ b/nui/include/nui/frontend/elements/meter.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(meter) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/nav.hpp b/nui/include/nui/frontend/elements/nav.hpp index 259fc43..e33b6dc 100644 --- a/nui/include/nui/frontend/elements/nav.hpp +++ b/nui/include/nui/frontend/elements/nav.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(nav) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/nil.hpp b/nui/include/nui/frontend/elements/nil.hpp index cc47040..d594ac3 100644 --- a/nui/include/nui/frontend/elements/nil.hpp +++ b/nui/include/nui/frontend/elements/nil.hpp @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace Nui { diff --git a/nui/include/nui/frontend/elements/noscript.hpp b/nui/include/nui/frontend/elements/noscript.hpp index d811fd2..a9454ce 100644 --- a/nui/include/nui/frontend/elements/noscript.hpp +++ b/nui/include/nui/frontend/elements/noscript.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(noscript) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/object.hpp b/nui/include/nui/frontend/elements/object.hpp index b915664..7fa1ee3 100644 --- a/nui/include/nui/frontend/elements/object.hpp +++ b/nui/include/nui/frontend/elements/object.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(object) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/ol.hpp b/nui/include/nui/frontend/elements/ol.hpp index 879f14a..106a2ab 100644 --- a/nui/include/nui/frontend/elements/ol.hpp +++ b/nui/include/nui/frontend/elements/ol.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(ol) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/optgroup.hpp b/nui/include/nui/frontend/elements/optgroup.hpp index 678bf72..1af0402 100644 --- a/nui/include/nui/frontend/elements/optgroup.hpp +++ b/nui/include/nui/frontend/elements/optgroup.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(optgroup) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/option.hpp b/nui/include/nui/frontend/elements/option.hpp index d904193..e89b5d3 100644 --- a/nui/include/nui/frontend/elements/option.hpp +++ b/nui/include/nui/frontend/elements/option.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(option) diff --git a/nui/include/nui/frontend/elements/output.hpp b/nui/include/nui/frontend/elements/output.hpp index 9abdf65..0a55b3a 100644 --- a/nui/include/nui/frontend/elements/output.hpp +++ b/nui/include/nui/frontend/elements/output.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(output) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/p.hpp b/nui/include/nui/frontend/elements/p.hpp index 8de3b3d..37a3f28 100644 --- a/nui/include/nui/frontend/elements/p.hpp +++ b/nui/include/nui/frontend/elements/p.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(p) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/param.hpp b/nui/include/nui/frontend/elements/param.hpp index e7d0065..5676f79 100644 --- a/nui/include/nui/frontend/elements/param.hpp +++ b/nui/include/nui/frontend/elements/param.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(param) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/picture.hpp b/nui/include/nui/frontend/elements/picture.hpp index 8e7c318..c6af900 100644 --- a/nui/include/nui/frontend/elements/picture.hpp +++ b/nui/include/nui/frontend/elements/picture.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(picture) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/pre.hpp b/nui/include/nui/frontend/elements/pre.hpp index 20ae149..cd5d2a6 100644 --- a/nui/include/nui/frontend/elements/pre.hpp +++ b/nui/include/nui/frontend/elements/pre.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(pre) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/progress.hpp b/nui/include/nui/frontend/elements/progress.hpp index 5b24425..39d1926 100644 --- a/nui/include/nui/frontend/elements/progress.hpp +++ b/nui/include/nui/frontend/elements/progress.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(progress) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/q.hpp b/nui/include/nui/frontend/elements/q.hpp index 4bd868e..dff6d43 100644 --- a/nui/include/nui/frontend/elements/q.hpp +++ b/nui/include/nui/frontend/elements/q.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(q) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/rp.hpp b/nui/include/nui/frontend/elements/rp.hpp index f553888..adb26b3 100644 --- a/nui/include/nui/frontend/elements/rp.hpp +++ b/nui/include/nui/frontend/elements/rp.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(rp) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/rt.hpp b/nui/include/nui/frontend/elements/rt.hpp index f438f8d..6abce5d 100644 --- a/nui/include/nui/frontend/elements/rt.hpp +++ b/nui/include/nui/frontend/elements/rt.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(rt) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/ruby.hpp b/nui/include/nui/frontend/elements/ruby.hpp index 071e247..c26310c 100644 --- a/nui/include/nui/frontend/elements/ruby.hpp +++ b/nui/include/nui/frontend/elements/ruby.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(ruby) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/s.hpp b/nui/include/nui/frontend/elements/s.hpp index 5086627..c2e1117 100644 --- a/nui/include/nui/frontend/elements/s.hpp +++ b/nui/include/nui/frontend/elements/s.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(s) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/samp.hpp b/nui/include/nui/frontend/elements/samp.hpp index ed0c025..da8bc7c 100644 --- a/nui/include/nui/frontend/elements/samp.hpp +++ b/nui/include/nui/frontend/elements/samp.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(samp) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/script.hpp b/nui/include/nui/frontend/elements/script.hpp index bec87d0..02b3103 100644 --- a/nui/include/nui/frontend/elements/script.hpp +++ b/nui/include/nui/frontend/elements/script.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(script) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/section.hpp b/nui/include/nui/frontend/elements/section.hpp index aa96e40..996a985 100644 --- a/nui/include/nui/frontend/elements/section.hpp +++ b/nui/include/nui/frontend/elements/section.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(section) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/select.hpp b/nui/include/nui/frontend/elements/select.hpp index cbbb975..ea1a1cf 100644 --- a/nui/include/nui/frontend/elements/select.hpp +++ b/nui/include/nui/frontend/elements/select.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(select) diff --git a/nui/include/nui/frontend/elements/small.hpp b/nui/include/nui/frontend/elements/small.hpp index c28daf6..58f4fe2 100644 --- a/nui/include/nui/frontend/elements/small.hpp +++ b/nui/include/nui/frontend/elements/small.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(small) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/source.hpp b/nui/include/nui/frontend/elements/source.hpp index e3ad3c7..a242863 100644 --- a/nui/include/nui/frontend/elements/source.hpp +++ b/nui/include/nui/frontend/elements/source.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(source) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/span.hpp b/nui/include/nui/frontend/elements/span.hpp index 9e040a6..448f7cb 100644 --- a/nui/include/nui/frontend/elements/span.hpp +++ b/nui/include/nui/frontend/elements/span.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(span) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/strong.hpp b/nui/include/nui/frontend/elements/strong.hpp index 722919c..6b9a211 100644 --- a/nui/include/nui/frontend/elements/strong.hpp +++ b/nui/include/nui/frontend/elements/strong.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(strong) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/sub.hpp b/nui/include/nui/frontend/elements/sub.hpp index b2c8375..83984b8 100644 --- a/nui/include/nui/frontend/elements/sub.hpp +++ b/nui/include/nui/frontend/elements/sub.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(sub) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/summary.hpp b/nui/include/nui/frontend/elements/summary.hpp index 1928ced..b9cd1f1 100644 --- a/nui/include/nui/frontend/elements/summary.hpp +++ b/nui/include/nui/frontend/elements/summary.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(summary) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/sup.hpp b/nui/include/nui/frontend/elements/sup.hpp index 3be920d..05a2a7c 100644 --- a/nui/include/nui/frontend/elements/sup.hpp +++ b/nui/include/nui/frontend/elements/sup.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(sup) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/a.hpp b/nui/include/nui/frontend/elements/svg/a.hpp new file mode 100644 index 0000000..6e900cd --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/a.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(a) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/animate.hpp b/nui/include/nui/frontend/elements/svg/animate.hpp new file mode 100644 index 0000000..1709e61 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/animate.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(animate) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/animate_motion.hpp b/nui/include/nui/frontend/elements/svg/animate_motion.hpp new file mode 100644 index 0000000..51d5f30 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/animate_motion.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(animateMotion) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/animate_transform.hpp b/nui/include/nui/frontend/elements/svg/animate_transform.hpp new file mode 100644 index 0000000..3cc22e4 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/animate_transform.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(animateTransform) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/circle.hpp b/nui/include/nui/frontend/elements/svg/circle.hpp new file mode 100644 index 0000000..088f366 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/circle.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(circle) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/clipPath.hpp b/nui/include/nui/frontend/elements/svg/clipPath.hpp new file mode 100644 index 0000000..695bc5d --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/clipPath.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(clipPath) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/defs.hpp b/nui/include/nui/frontend/elements/svg/defs.hpp new file mode 100644 index 0000000..dacb941 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/defs.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(defs) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/desc.hpp b/nui/include/nui/frontend/elements/svg/desc.hpp new file mode 100644 index 0000000..8519114 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/desc.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(desc) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/ellipse.hpp b/nui/include/nui/frontend/elements/svg/ellipse.hpp new file mode 100644 index 0000000..5552a95 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/ellipse.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(ellipse) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_blend.hpp b/nui/include/nui/frontend/elements/svg/fe_blend.hpp new file mode 100644 index 0000000..7ee97ee --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_blend.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feBlend) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_color_matrix.hpp b/nui/include/nui/frontend/elements/svg/fe_color_matrix.hpp new file mode 100644 index 0000000..22faacc --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_color_matrix.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feColorMatrix) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_component_transfer.hpp b/nui/include/nui/frontend/elements/svg/fe_component_transfer.hpp new file mode 100644 index 0000000..de4b390 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_component_transfer.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feComponentTransfer) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_composite.hpp b/nui/include/nui/frontend/elements/svg/fe_composite.hpp new file mode 100644 index 0000000..219d707 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_composite.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feComposite) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_convolve_matrix.hpp b/nui/include/nui/frontend/elements/svg/fe_convolve_matrix.hpp new file mode 100644 index 0000000..252d70d --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_convolve_matrix.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feConvolveMatrix) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_diffuse_lighting.hpp b/nui/include/nui/frontend/elements/svg/fe_diffuse_lighting.hpp new file mode 100644 index 0000000..b10ff59 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_diffuse_lighting.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feDiffuseLighting) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_displacement_map.hpp b/nui/include/nui/frontend/elements/svg/fe_displacement_map.hpp new file mode 100644 index 0000000..3ade335 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_displacement_map.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feDisplacementMap) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_distant_light.hpp b/nui/include/nui/frontend/elements/svg/fe_distant_light.hpp new file mode 100644 index 0000000..d06a385 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_distant_light.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feDistantLight) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_drop_shadow.hpp b/nui/include/nui/frontend/elements/svg/fe_drop_shadow.hpp new file mode 100644 index 0000000..206aa10 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_drop_shadow.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feDropShadow) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_flood.hpp b/nui/include/nui/frontend/elements/svg/fe_flood.hpp new file mode 100644 index 0000000..c515743 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_flood.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feFlood) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_func.hpp b/nui/include/nui/frontend/elements/svg/fe_func.hpp new file mode 100644 index 0000000..7e4a458 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_func.hpp @@ -0,0 +1,8 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feFuncR) +NUI_DECLARE_SVG_ELEMENT(feFuncG) +NUI_DECLARE_SVG_ELEMENT(feFuncB) +NUI_DECLARE_SVG_ELEMENT(feFuncA) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_func_a.hpp b/nui/include/nui/frontend/elements/svg/fe_func_a.hpp new file mode 100644 index 0000000..b097a73 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_func_a.hpp @@ -0,0 +1,3 @@ +#pragma once + +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_func_b.hpp b/nui/include/nui/frontend/elements/svg/fe_func_b.hpp new file mode 100644 index 0000000..b097a73 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_func_b.hpp @@ -0,0 +1,3 @@ +#pragma once + +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_func_g.hpp b/nui/include/nui/frontend/elements/svg/fe_func_g.hpp new file mode 100644 index 0000000..b097a73 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_func_g.hpp @@ -0,0 +1,3 @@ +#pragma once + +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_func_r.hpp b/nui/include/nui/frontend/elements/svg/fe_func_r.hpp new file mode 100644 index 0000000..b097a73 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_func_r.hpp @@ -0,0 +1,3 @@ +#pragma once + +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_gaussian_blur.hpp b/nui/include/nui/frontend/elements/svg/fe_gaussian_blur.hpp new file mode 100644 index 0000000..758bccb --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_gaussian_blur.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feGaussianBlur) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_image.hpp b/nui/include/nui/frontend/elements/svg/fe_image.hpp new file mode 100644 index 0000000..053df7c --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_image.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feImage) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_merge.hpp b/nui/include/nui/frontend/elements/svg/fe_merge.hpp new file mode 100644 index 0000000..b0cbfbe --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_merge.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feMerge) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_merge_node.hpp b/nui/include/nui/frontend/elements/svg/fe_merge_node.hpp new file mode 100644 index 0000000..c083abd --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_merge_node.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feMergeNode) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_morphology.hpp b/nui/include/nui/frontend/elements/svg/fe_morphology.hpp new file mode 100644 index 0000000..c837552 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_morphology.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feMorphology) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_offset.hpp b/nui/include/nui/frontend/elements/svg/fe_offset.hpp new file mode 100644 index 0000000..cfbd890 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_offset.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feOffset) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_point_light.hpp b/nui/include/nui/frontend/elements/svg/fe_point_light.hpp new file mode 100644 index 0000000..b36ef95 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_point_light.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(fePointLight) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_specular_lighting.hpp b/nui/include/nui/frontend/elements/svg/fe_specular_lighting.hpp new file mode 100644 index 0000000..4823bba --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_specular_lighting.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feSpecularLighting) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_spot_light.hpp b/nui/include/nui/frontend/elements/svg/fe_spot_light.hpp new file mode 100644 index 0000000..ca6e878 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_spot_light.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feSpotLight) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_tile.hpp b/nui/include/nui/frontend/elements/svg/fe_tile.hpp new file mode 100644 index 0000000..b42b11d --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_tile.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feTile) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/fe_turbulence.hpp b/nui/include/nui/frontend/elements/svg/fe_turbulence.hpp new file mode 100644 index 0000000..f40077f --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/fe_turbulence.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(feTurbulence) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/filter.hpp b/nui/include/nui/frontend/elements/svg/filter.hpp new file mode 100644 index 0000000..635583c --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/filter.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(filter) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/foreign_object.hpp b/nui/include/nui/frontend/elements/svg/foreign_object.hpp new file mode 100644 index 0000000..07b4e10 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/foreign_object.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(foreignObject) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/g.hpp b/nui/include/nui/frontend/elements/svg/g.hpp new file mode 100644 index 0000000..5a8559b --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/g.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(g) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/hatch.hpp b/nui/include/nui/frontend/elements/svg/hatch.hpp new file mode 100644 index 0000000..646c4e7 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/hatch.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(hatch) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/hatchpath.hpp b/nui/include/nui/frontend/elements/svg/hatchpath.hpp new file mode 100644 index 0000000..4b0d6d0 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/hatchpath.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(hatchpath) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/image.hpp b/nui/include/nui/frontend/elements/svg/image.hpp new file mode 100644 index 0000000..dd5556a --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/image.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(image) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/impl/svg_element.hpp b/nui/include/nui/frontend/elements/svg/impl/svg_element.hpp new file mode 100644 index 0000000..4db6e5c --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/impl/svg_element.hpp @@ -0,0 +1,23 @@ +#pragma once + +#define NUI_DECLARE_SVG_ELEMENT_RENAME(NAME, HTML_ACTUAL) \ + namespace Nui::Elements::Svg \ + { \ + struct NAME : HtmlElement \ + { \ + constexpr NAME(NAME const&) = default; \ + constexpr NAME(NAME&&) = default; \ + constexpr NAME(std::vector const& attributes) \ + : HtmlElement{HTML_ACTUAL, &SvgElementBridge, attributes} \ + {} \ + constexpr NAME(std::vector&& attributes) \ + : HtmlElement{HTML_ACTUAL, &SvgElementBridge, std::move(attributes)} \ + {} \ + template \ + constexpr NAME(T&&... attributes) \ + : HtmlElement{HTML_ACTUAL, &SvgElementBridge, std::forward(attributes)...} \ + {} \ + }; \ + } + +#define NUI_DECLARE_SVG_ELEMENT(NAME) NUI_DECLARE_SVG_ELEMENT_RENAME(NAME, #NAME) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/impl/svg_element_incl.hpp b/nui/include/nui/frontend/elements/svg/impl/svg_element_incl.hpp new file mode 100644 index 0000000..d11c5be --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/impl/svg_element_incl.hpp @@ -0,0 +1,4 @@ +#pragma once + +#include +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/line.hpp b/nui/include/nui/frontend/elements/svg/line.hpp new file mode 100644 index 0000000..ee78642 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/line.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(line) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/linear_gradient.hpp b/nui/include/nui/frontend/elements/svg/linear_gradient.hpp new file mode 100644 index 0000000..5e07836 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/linear_gradient.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(linearGradient) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/marker.hpp b/nui/include/nui/frontend/elements/svg/marker.hpp new file mode 100644 index 0000000..3a63fd7 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/marker.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(marker) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/mask.hpp b/nui/include/nui/frontend/elements/svg/mask.hpp new file mode 100644 index 0000000..3841bfc --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/mask.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(mask) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/metadata.hpp b/nui/include/nui/frontend/elements/svg/metadata.hpp new file mode 100644 index 0000000..9e81240 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/metadata.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(metadata) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/mpath.hpp b/nui/include/nui/frontend/elements/svg/mpath.hpp new file mode 100644 index 0000000..2c1b579 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/mpath.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(mpath) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/path.hpp b/nui/include/nui/frontend/elements/svg/path.hpp new file mode 100644 index 0000000..b9828be --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/path.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(path) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/pattern.hpp b/nui/include/nui/frontend/elements/svg/pattern.hpp new file mode 100644 index 0000000..48b4a55 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/pattern.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(pattern) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/polygon.hpp b/nui/include/nui/frontend/elements/svg/polygon.hpp new file mode 100644 index 0000000..c54e2fa --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/polygon.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(polygon) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/polyline.hpp b/nui/include/nui/frontend/elements/svg/polyline.hpp new file mode 100644 index 0000000..266d4f0 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/polyline.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(polyline) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/radial_gradient.hpp b/nui/include/nui/frontend/elements/svg/radial_gradient.hpp new file mode 100644 index 0000000..769e705 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/radial_gradient.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(radialGradient) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/rect.hpp b/nui/include/nui/frontend/elements/svg/rect.hpp new file mode 100644 index 0000000..ecb9747 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/rect.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(rect) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/script.hpp b/nui/include/nui/frontend/elements/svg/script.hpp new file mode 100644 index 0000000..faf9ded --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/script.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(script) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/set.hpp b/nui/include/nui/frontend/elements/svg/set.hpp new file mode 100644 index 0000000..3587a2d --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/set.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(set) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/stop.hpp b/nui/include/nui/frontend/elements/svg/stop.hpp new file mode 100644 index 0000000..7f0ce51 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/stop.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(stop) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/style.hpp b/nui/include/nui/frontend/elements/svg/style.hpp new file mode 100644 index 0000000..3065ea4 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/style.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(style) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/svg.hpp b/nui/include/nui/frontend/elements/svg/svg.hpp new file mode 100644 index 0000000..e6837ba --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/svg.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(svg) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/switch.hpp b/nui/include/nui/frontend/elements/svg/switch.hpp new file mode 100644 index 0000000..2c06a27 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/switch.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT_RENAME(switch_, "switch") \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/symbol.hpp b/nui/include/nui/frontend/elements/svg/symbol.hpp new file mode 100644 index 0000000..a300164 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/symbol.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(symbol) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/text.hpp b/nui/include/nui/frontend/elements/svg/text.hpp new file mode 100644 index 0000000..5c4fc46 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/text.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(text) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/textPath.hpp b/nui/include/nui/frontend/elements/svg/textPath.hpp new file mode 100644 index 0000000..fc7806c --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/textPath.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(textPath) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/title.hpp b/nui/include/nui/frontend/elements/svg/title.hpp new file mode 100644 index 0000000..d9ec100 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/title.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(title) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/tspan.hpp b/nui/include/nui/frontend/elements/svg/tspan.hpp new file mode 100644 index 0000000..672622c --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/tspan.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(tspan) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/use.hpp b/nui/include/nui/frontend/elements/svg/use.hpp new file mode 100644 index 0000000..d81dd74 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/use.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(use) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/svg/view.hpp b/nui/include/nui/frontend/elements/svg/view.hpp new file mode 100644 index 0000000..82dde49 --- /dev/null +++ b/nui/include/nui/frontend/elements/svg/view.hpp @@ -0,0 +1,5 @@ +#pragma once + +#include + +NUI_DECLARE_SVG_ELEMENT(view) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/table.hpp b/nui/include/nui/frontend/elements/table.hpp index 8ed02bc..2c2f7bf 100644 --- a/nui/include/nui/frontend/elements/table.hpp +++ b/nui/include/nui/frontend/elements/table.hpp @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/nui/include/nui/frontend/elements/tbody.hpp b/nui/include/nui/frontend/elements/tbody.hpp index 0149d76..59f5679 100644 --- a/nui/include/nui/frontend/elements/tbody.hpp +++ b/nui/include/nui/frontend/elements/tbody.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(tbody) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/td.hpp b/nui/include/nui/frontend/elements/td.hpp index f51fd93..e3c6f21 100644 --- a/nui/include/nui/frontend/elements/td.hpp +++ b/nui/include/nui/frontend/elements/td.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(td) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/template.hpp b/nui/include/nui/frontend/elements/template.hpp index 3d1f63e..892c5b7 100644 --- a/nui/include/nui/frontend/elements/template.hpp +++ b/nui/include/nui/frontend/elements/template.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT_RENAME(template_, "template") \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/textarea.hpp b/nui/include/nui/frontend/elements/textarea.hpp index c3b977b..2bd5293 100644 --- a/nui/include/nui/frontend/elements/textarea.hpp +++ b/nui/include/nui/frontend/elements/textarea.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(textarea) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/tfoot.hpp b/nui/include/nui/frontend/elements/tfoot.hpp index 469ae43..5f341f0 100644 --- a/nui/include/nui/frontend/elements/tfoot.hpp +++ b/nui/include/nui/frontend/elements/tfoot.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(tfoot) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/th.hpp b/nui/include/nui/frontend/elements/th.hpp index 3350c09..f07c807 100644 --- a/nui/include/nui/frontend/elements/th.hpp +++ b/nui/include/nui/frontend/elements/th.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(th) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/thead.hpp b/nui/include/nui/frontend/elements/thead.hpp index 963220f..b88e2d4 100644 --- a/nui/include/nui/frontend/elements/thead.hpp +++ b/nui/include/nui/frontend/elements/thead.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(thead) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/time.hpp b/nui/include/nui/frontend/elements/time.hpp index 87b1adb..89cf6a8 100644 --- a/nui/include/nui/frontend/elements/time.hpp +++ b/nui/include/nui/frontend/elements/time.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(time) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/title.hpp b/nui/include/nui/frontend/elements/title.hpp index 10c63f2..5437082 100644 --- a/nui/include/nui/frontend/elements/title.hpp +++ b/nui/include/nui/frontend/elements/title.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(title) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/tr.hpp b/nui/include/nui/frontend/elements/tr.hpp index 7fa6e33..05f20aa 100644 --- a/nui/include/nui/frontend/elements/tr.hpp +++ b/nui/include/nui/frontend/elements/tr.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(tr) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/track.hpp b/nui/include/nui/frontend/elements/track.hpp index a1d449d..c8f9f20 100644 --- a/nui/include/nui/frontend/elements/track.hpp +++ b/nui/include/nui/frontend/elements/track.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(track) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/u.hpp b/nui/include/nui/frontend/elements/u.hpp index 1b5b62a..99ddfb7 100644 --- a/nui/include/nui/frontend/elements/u.hpp +++ b/nui/include/nui/frontend/elements/u.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(u) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/ul.hpp b/nui/include/nui/frontend/elements/ul.hpp index 70d0ae0..51fc559 100644 --- a/nui/include/nui/frontend/elements/ul.hpp +++ b/nui/include/nui/frontend/elements/ul.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(ul) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/var.hpp b/nui/include/nui/frontend/elements/var.hpp index 4eeaa76..22bf61e 100644 --- a/nui/include/nui/frontend/elements/var.hpp +++ b/nui/include/nui/frontend/elements/var.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(var) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/video.hpp b/nui/include/nui/frontend/elements/video.hpp index 7a7a510..3572cc5 100644 --- a/nui/include/nui/frontend/elements/video.hpp +++ b/nui/include/nui/frontend/elements/video.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(video) \ No newline at end of file diff --git a/nui/include/nui/frontend/elements/wbr.hpp b/nui/include/nui/frontend/elements/wbr.hpp index 105cdb7..d937870 100644 --- a/nui/include/nui/frontend/elements/wbr.hpp +++ b/nui/include/nui/frontend/elements/wbr.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include NUI_DECLARE_HTML_ELEMENT(wbr) \ No newline at end of file diff --git a/nui/include/nui/frontend/frontend.hpp b/nui/include/nui/frontend/frontend.hpp index b05737e..ca3384b 100644 --- a/nui/include/nui/frontend/frontend.hpp +++ b/nui/include/nui/frontend/frontend.hpp @@ -2,6 +2,7 @@ #include #include +#include #include #include #include diff --git a/nui/include/nui/frontend/svg.hpp b/nui/include/nui/frontend/svg.hpp new file mode 100644 index 0000000..1bf9add --- /dev/null +++ b/nui/include/nui/frontend/svg.hpp @@ -0,0 +1,4 @@ +#pragma once + +#include +#include \ No newline at end of file diff --git a/nui/include/nui/frontend/svg_attributes.hpp b/nui/include/nui/frontend/svg_attributes.hpp new file mode 100644 index 0000000..ac8eefb --- /dev/null +++ b/nui/include/nui/frontend/svg_attributes.hpp @@ -0,0 +1,239 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/nui/include/nui/frontend/svg_elements.hpp b/nui/include/nui/frontend/svg_elements.hpp new file mode 100644 index 0000000..e5940f2 --- /dev/null +++ b/nui/include/nui/frontend/svg_elements.hpp @@ -0,0 +1,68 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/nui/src/nui/frontend/utility/stabilize.cpp b/nui/src/nui/frontend/utility/stabilize.cpp index 61dc381..774da03 100644 --- a/nui/src/nui/frontend/utility/stabilize.cpp +++ b/nui/src/nui/frontend/utility/stabilize.cpp @@ -33,9 +33,10 @@ namespace Nui { stableElement.reset_ = false; // Needs to be valid element for replace and fragments: - stableElement.stableElement_ = Dom::Element::makeElement(HtmlElement{"div"}); + stableElement.stableElement_ = Dom::Element::makeElement(HtmlElement{"div", &RegularHtmlElementBridge}); stableElement.stableElement_->replaceElement(encapsulatedRenderer); - return HtmlElement{"stablerror_slot"}()(actualParent, gen)->slotFor(stableElement.stableElement_); + return HtmlElement{"stablerror_slot", &RegularHtmlElementBridge}()(actualParent, gen) + ->slotFor(stableElement.stableElement_); } return nil()(actualParent, gen); }; diff --git a/nui/test/nui/CMakeLists.txt b/nui/test/nui/CMakeLists.txt index b2f3f13..463f87c 100644 --- a/nui/test/nui/CMakeLists.txt +++ b/nui/test/nui/CMakeLists.txt @@ -33,6 +33,7 @@ target_link_libraries(nui-tests PRIVATE ) gtest_discover_tests(nui-tests) + # If msys2, copy dynamic libraries to executable directory, visual studio does this automatically. # And there is no need on linux. if (DEFINED ENV{MSYSTEM})