slikui-python 0.2.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {slikui_python-0.2.0 → slikui_python-0.4.0}/.github/workflows/cpp.yml +35 -3
- {slikui_python-0.2.0 → slikui_python-0.4.0}/.github/workflows/docs.yml +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/.github/workflows/python.yml +4 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/.gitignore +3 -0
- slikui_python-0.4.0/CHANGELOG.md +203 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/CMakeLists.txt +2 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/PKG-INFO +19 -16
- {slikui_python-0.2.0 → slikui_python-0.4.0}/README.md +21 -13
- {slikui_python-0.2.0 → slikui_python-0.4.0}/cmake/slikuiConfig.cmake.in +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/dist/slikui.hpp +2037 -650
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/development.md +20 -8
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/getting-started/cpp.md +18 -18
- slikui_python-0.4.0/docs/getting-started/python.md +99 -0
- slikui_python-0.4.0/docs/guide/backends.md +280 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/guide/core-concepts.md +10 -10
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/guide/custom-widgets.md +36 -13
- slikui_python-0.4.0/docs/guide/examples.md +162 -0
- slikui_python-0.4.0/docs/guide/input-events.md +167 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/guide/layout.md +8 -8
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/guide/text-fonts.md +6 -6
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/guide/theming.md +10 -10
- slikui_python-0.4.0/docs/images/examples-clock.gif +0 -0
- slikui_python-0.4.0/docs/images/examples-controls.png +0 -0
- slikui_python-0.4.0/docs/images/examples-events.png +0 -0
- slikui_python-0.4.0/docs/images/examples-gallery.png +0 -0
- slikui_python-0.4.0/docs/images/examples-hello.png +0 -0
- slikui_python-0.4.0/docs/images/examples-keyboard.png +0 -0
- slikui_python-0.4.0/docs/images/examples-paint.png +0 -0
- slikui_python-0.4.0/docs/images/examples-renderer.png +0 -0
- slikui_python-0.4.0/docs/images/examples-snake.gif +0 -0
- slikui_python-0.4.0/docs/images/examples-window.png +0 -0
- slikui_python-0.4.0/docs/includes/examples/boundsdebug.md +37 -0
- slikui_python-0.4.0/docs/includes/examples/chip.md +50 -0
- slikui_python-0.4.0/docs/includes/examples/clockface.md +57 -0
- slikui_python-0.4.0/docs/includes/examples/eventprobe.md +115 -0
- slikui_python-0.4.0/docs/includes/examples/gauge.md +49 -0
- slikui_python-0.4.0/docs/includes/examples/hello-build.md +21 -0
- slikui_python-0.4.0/docs/includes/examples/hello-frame.md +8 -0
- slikui_python-0.4.0/docs/includes/examples/joystick.md +119 -0
- slikui_python-0.4.0/docs/includes/examples/knob.md +95 -0
- slikui_python-0.4.0/docs/includes/examples/limitslider.md +39 -0
- slikui_python-0.4.0/docs/includes/examples/meter.md +32 -0
- slikui_python-0.4.0/docs/includes/examples/pointerroot.md +28 -0
- slikui_python-0.4.0/docs/includes/examples/snake.md +108 -0
- slikui_python-0.4.0/docs/includes/examples/sparkline.md +60 -0
- slikui_python-0.4.0/docs/includes/examples/tracesink.md +47 -0
- slikui_python-0.4.0/docs/includes/examples/xypad.md +82 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/index.md +13 -13
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/architecture.md +21 -20
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/context.md +5 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/index.md +8 -8
- slikui_python-0.4.0/docs/reference/python-bindings.md +237 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-containers.md +6 -6
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-controls.md +9 -9
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-data.md +8 -8
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-editors.md +5 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-inputs.md +10 -10
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-menus.md +10 -10
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/reference/widgets-shells.md +20 -19
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/01_hello/main.cpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/02_raw_pixels/main.cpp +2 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/03_gallery/main.cpp +5 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/04_glfw_opengl/main.cpp +8 -8
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/04_glfw_software/main.cpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/05_showcase/main.cpp +86 -86
- slikui_python-0.4.0/examples/06_sdl_opengl/main.cpp +126 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/examples/CMakeLists.txt +13 -4
- slikui_python-0.4.0/include/slikui/backends/glfw/glfw_input.hpp +414 -0
- slikui_python-0.4.0/include/slikui/backends/glfw/glfw_window.hpp +118 -0
- slikui_python-0.4.0/include/slikui/backends/opengl/opengl.hpp +238 -0
- slikui_python-0.4.0/include/slikui/backends/sdl/sdl_input.hpp +298 -0
- slikui_python-0.4.0/include/slikui/backends/sdl/sdl_window.hpp +142 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/backends/software/software.hpp +40 -16
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/context.hpp +357 -68
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/core/color.hpp +1 -1
- slikui_python-0.4.0/include/slikui/core/input.hpp +113 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/core/math.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/core/time.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/core/utf8.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/layout/layout.hpp +1 -1
- slikui_python-0.4.0/include/slikui/render/batcher.hpp +306 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/render/draw_list.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/render/sink.hpp +11 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/slikui.hpp +2 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/style/anim.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/style/theme.hpp +6 -6
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/text/default_font.hpp +3 -3
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/text/font.hpp +12 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/text/system_fonts.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/version.hpp +3 -3
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/all.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/containers.hpp +13 -10
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/controls.hpp +23 -13
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/data.hpp +12 -12
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/editors.hpp +10 -10
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/env.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/icons.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/image.hpp +11 -3
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/inputs.hpp +43 -6
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/menus.hpp +58 -24
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/shells.hpp +42 -22
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/text.hpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/toolbar.hpp +18 -7
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/views.hpp +10 -10
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/widgets/widget.hpp +51 -7
- {slikui_python-0.2.0 → slikui_python-0.4.0}/mkdocs.yml +10 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/pyproject.toml +7 -4
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/CMakeLists.txt +2 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/README.md +15 -14
- slikui_python-0.4.0/python/benchmarks/bench_render.py +202 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/examples/capture_check.py +2 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/examples/glfw_demo.py +85 -67
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/examples/pyrenderer_demo.py +2 -2
- slikui_python-0.4.0/python/examples/sdl_demo.py +147 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/examples/showcase.py +100 -131
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/__init__.py +40 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/_py/app.py +96 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/_py/builder.py +4 -4
- slikui_python-0.4.0/python/slikui/_py/drawcmd.py +49 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/_py/events.py +12 -3
- slikui_python-0.4.0/python/slikui/_py/gl.py +321 -0
- slikui_python-0.4.0/python/slikui/_py/moderngl_sink.py +190 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/_py/pixels.py +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/_py/renderer.py +39 -23
- slikui_python-0.4.0/python/slikui/_slikui.pyi +2432 -0
- slikui_python-0.4.0/python/slikui/examples/__init__.py +111 -0
- slikui_python-0.4.0/python/slikui/examples/__main__.py +178 -0
- slikui_python-0.4.0/python/slikui/examples/_support.py +260 -0
- slikui_python-0.4.0/python/slikui/examples/_window.py +192 -0
- slikui_python-0.4.0/python/slikui/examples/controls.py +469 -0
- slikui_python-0.4.0/python/slikui/examples/events.py +315 -0
- {slikui_python-0.2.0/python → slikui_python-0.4.0/python/slikui}/examples/gallery.py +79 -42
- slikui_python-0.4.0/python/slikui/examples/hello.py +82 -0
- slikui_python-0.4.0/python/slikui/examples/keyboard.py +298 -0
- slikui_python-0.4.0/python/slikui/examples/paint.py +374 -0
- slikui_python-0.4.0/python/slikui/examples/renderer.py +157 -0
- slikui_python-0.4.0/python/slikui/examples/window.py +126 -0
- slikui_python-0.4.0/python/slikui/glfw_input.py +294 -0
- slikui_python-0.4.0/python/slikui/sdl_input.py +267 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/src/slikui_py.cpp +440 -109
- slikui_python-0.4.0/python/tests/gl_scenes.py +110 -0
- slikui_python-0.4.0/python/tests/test_ascii.py +41 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_custom_widgets.py +4 -4
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_editors.py +2 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_events.py +1 -1
- slikui_python-0.4.0/python/tests/test_examples.py +170 -0
- slikui_python-0.4.0/python/tests/test_gl_sink.py +280 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_glfw_demo.py +7 -5
- slikui_python-0.4.0/python/tests/test_glfw_input.py +183 -0
- slikui_python-0.4.0/python/tests/test_gpu_batcher.py +135 -0
- slikui_python-0.4.0/python/tests/test_input_model.py +183 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_menus.py +5 -6
- slikui_python-0.4.0/python/tests/test_moderngl_sink.py +150 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_pyrenderer.py +1 -1
- slikui_python-0.4.0/python/tests/test_render_contract.py +299 -0
- slikui_python-0.4.0/python/tests/test_sdl_input.py +230 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_shells.py +5 -5
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_shutdown_leaks.py +52 -2
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_smoke.py +2 -2
- slikui_python-0.4.0/python/tests/test_stubs.py +34 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_widgets.py +7 -7
- slikui_python-0.4.0/tests/CMakeLists.txt +65 -0
- slikui_python-0.4.0/tests/gl_parity.cpp +290 -0
- slikui_python-0.4.0/tests/glfw_input.cpp +133 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/main.cpp +1 -1
- slikui_python-0.4.0/tests/sdl_input.cpp +195 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/smoke.cpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test.hpp +1 -1
- slikui_python-0.4.0/tests/test_batcher.cpp +156 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_core.cpp +4 -3
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_data.cpp +30 -6
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_editors.cpp +4 -4
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_font.cpp +3 -3
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_golden.cpp +64 -1
- slikui_python-0.4.0/tests/test_input.cpp +546 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_layout.cpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_menus.cpp +35 -8
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_shells.cpp +8 -8
- slikui_python-0.4.0/tests/test_textures.cpp +123 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_theme.cpp +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tests/test_widgets.cpp +4 -4
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/amalgamate.py +11 -7
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/check_headers.sh +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/components_capture.cpp +17 -17
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/doc_check.py +57 -9
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/embed_font.py +4 -4
- slikui_python-0.4.0/tools/examples_gif.py +99 -0
- slikui_python-0.4.0/tools/extract_snippets.py +134 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/gallery_capture.cpp +6 -6
- slikui_python-0.4.0/tools/gen_stubs.py +63 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/ppm2png.py +1 -1
- {slikui_python-0.2.0 → slikui_python-0.4.0}/tools/snapshot.cpp +1 -1
- slikui_python-0.4.0/tools/stub_patterns.txt +20 -0
- slikui_python-0.2.0/docs/getting-started/python.md +0 -75
- slikui_python-0.2.0/docs/guide/backends.md +0 -139
- slikui_python-0.2.0/docs/guide/input-events.md +0 -122
- slikui_python-0.2.0/docs/reference/python-bindings.md +0 -117
- slikui_python-0.2.0/include/slikui/backends/glfw/glfw_window.hpp +0 -307
- slikui_python-0.2.0/include/slikui/backends/opengl/opengl.hpp +0 -366
- slikui_python-0.2.0/include/slikui/core/input.hpp +0 -82
- slikui_python-0.2.0/python/examples/custom_widget.py +0 -53
- slikui_python-0.2.0/python/examples/gallery.png +0 -0
- slikui_python-0.2.0/python/examples/hello.png +0 -0
- slikui_python-0.2.0/python/examples/hello.py +0 -23
- slikui_python-0.2.0/tests/CMakeLists.txt +0 -20
- {slikui_python-0.2.0 → slikui_python-0.4.0}/LICENSE +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/compile_flags.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/accordion.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/browser.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/buttons.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/containers.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/contextmenu.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/cube_viewer.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/custom_cpp.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/custom_widget.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/data.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/dialog.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/editors.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/groupbox.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/hello.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/image.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/imageviews.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/inputs.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/labels.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/layout.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/logview.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/menus.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/scroll.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/searchbox.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/shells.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/sliders.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/statusbar.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/themecustom.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/themes.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/toast.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/toggles.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/toolbar.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/tooltip.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/images/views.png +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/docs/stylesheets/custom.css +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/text/detail/stb_image.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/text/detail/stb_rect_pack.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/include/slikui/text/detail/stb_truetype.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/_py/__init__.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/slikui/py.typed +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/examples_glfw_demo_support.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_data.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/python/tests/test_version.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/requirements-docs.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/fonts/DejaVuSans-subset.ttf +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/fonts/LICENSE-DejaVu.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/fonts/README.md +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/.gitignore +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/.gitmodules +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/.readthedocs.yaml +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/CMakeLists.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/LICENSE +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/README.md +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/cmake/collect-symbols-pypy.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/cmake/collect-symbols.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/cmake/darwin-ld-cpython.sym +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/cmake/darwin-ld-pypy.sym +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/cmake/darwin-python-path.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/cmake/nanobind-config.cmake +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/.clang-format +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/.codecov.yml +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/.github/workflows/ci.yml +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/CMakeLists.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/LICENSE +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/README.md +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/cmake/tsl-robin-mapConfig.cmake.in +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/doxygen.conf +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_growth_policy.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_hash.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_map.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_set.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/CMakeLists.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/custom_allocator_tests.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/main.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/policy_tests.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/robin_map_tests.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/robin_set_tests.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tests/utils.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/ext/robin_map/tsl-robin-map.natvis +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/eigen/dense.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/eigen/sparse.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/eigen/tensor.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/eval.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/intrusive/counter.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/intrusive/counter.inl +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/intrusive/ref.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/make_iterator.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nanobind.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_accessor.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_attr.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_backend.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_backend_slots.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_call.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_cast.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_class.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_defs.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_descr.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_error.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_func.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_misc.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_platform.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_python.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_traits.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_tuple.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/nb_types.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/ndarray.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/operators.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/array.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/bind_map.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/bind_vector.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/chrono.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/complex.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/detail/nb_array.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/detail/nb_dict.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/detail/nb_list.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/detail/nb_optional.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/detail/nb_set.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/detail/traits.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/filesystem.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/function.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/list.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/map.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/optional.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/pair.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/set.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/shared_ptr.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/string.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/string_view.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/tuple.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/unique_ptr.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/unordered_map.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/unordered_set.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/variant.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/vector.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/stl/wstring.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/trampoline.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/include/nanobind/typing.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/pyproject.toml +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/__init__.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/__main__.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/buffer.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/common.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/error.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/hash.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/implicit.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_backend.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_combined.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_datetime.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_enum.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_ft.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_ft.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_func.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_internals.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_internals.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_ndarray.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_static_property.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/nb_type.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/stubgen.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/trampoline.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/src/version.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/CMakeLists.txt +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/common.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/conftest.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/inter_module.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/inter_module.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/object_py.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/pattern_file.nb +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/pattern_file_recursive.nb +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/__init__.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/__init__.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/alias.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/alias.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/bar.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/bar.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/__init__.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/__init__.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/mod.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/mod.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_stub_test.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/py_stub_test.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_abi.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_abi_layout.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_abi_missing.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_abi_multi.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_abi_multi_1.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_abi_multi_2.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_accessor.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_accessor.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_callbacks.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_callbacks.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_chrono.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_chrono.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_classes.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_classes.h +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_classes.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_classes_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_classes_extra.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_eigen.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_eigen.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_eigen_tensor.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_eigen_tensor.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_enum.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_enum.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_enum_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_eval.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_eval.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_exception.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_exception.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_foreign.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_foreign.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_functions.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_functions.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_functions_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_holders.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_holders.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_inter_module.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_inter_module_1.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_inter_module_2.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_intrusive.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_intrusive.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_intrusive_impl.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_issue.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_issue.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_jax.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_jax.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_jax_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_make_iterator.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_make_iterator.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_make_iterator_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_ndarray.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_ndarray.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_ndarray_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_prefix_module/__init__.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_prefix_module/__init__.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_prefix_module/prefix.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_prefix_module/prefix.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_prefix_module/prefixabc.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_prefix_module/prefixabc.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_specialization.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl_bind_map.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl_bind_map.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl_bind_vector.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl_bind_vector.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stl_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stubgen.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_stubs.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_tensorflow.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_tensorflow.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_tensorflow_ext.pyi.ref +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_thread.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_thread.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_typing.cpp +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_typing.py +0 -0
- {slikui_python-0.2.0 → slikui_python-0.4.0}/third_party/nanobind/tests/test_typing_ext.pyi.ref +0 -0
|
@@ -42,7 +42,28 @@ jobs:
|
|
|
42
42
|
- name: test
|
|
43
43
|
run: ctest --test-dir build --output-on-failure -C Release
|
|
44
44
|
|
|
45
|
-
#
|
|
45
|
+
# The whole suite under AddressSanitizer + UBSan: out-of-bounds reads and
|
|
46
|
+
# use-after-free in widgets or test helpers fail the build.
|
|
47
|
+
sanitizers:
|
|
48
|
+
name: ASan + UBSan (linux/clang)
|
|
49
|
+
runs-on: ubuntu-latest
|
|
50
|
+
env:
|
|
51
|
+
CC: clang
|
|
52
|
+
CXX: clang++
|
|
53
|
+
ASAN_OPTIONS: detect_leaks=1:abort_on_error=1
|
|
54
|
+
UBSAN_OPTIONS: halt_on_error=1:print_stacktrace=1
|
|
55
|
+
steps:
|
|
56
|
+
- uses: actions/checkout@v4
|
|
57
|
+
- name: configure
|
|
58
|
+
run: >
|
|
59
|
+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DSLIKUI_BUILD_EXAMPLES=OFF
|
|
60
|
+
"-DCMAKE_CXX_FLAGS=-fsanitize=address,undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer"
|
|
61
|
+
- name: build
|
|
62
|
+
run: cmake --build build --parallel
|
|
63
|
+
- name: test
|
|
64
|
+
run: ctest --test-dir build --output-on-failure
|
|
65
|
+
|
|
66
|
+
# Every public header must compile standalone - apple-libc++ hides missing
|
|
46
67
|
# std includes (cstdint, functional, ...) that libstdc++/MSVC reject.
|
|
47
68
|
headers:
|
|
48
69
|
name: every header compiles standalone (linux/gcc)
|
|
@@ -53,27 +74,38 @@ jobs:
|
|
|
53
74
|
# glfw_window.hpp compile its real body instead of self-gating to empty.
|
|
54
75
|
- name: install dev headers
|
|
55
76
|
run: sudo apt-get update && sudo apt-get install -y libgl-dev libglfw3-dev
|
|
77
|
+
# SDL3 headers only (the backend is header-only on our side): the
|
|
78
|
+
# oldest release slikui's SDL backend targets.
|
|
79
|
+
- name: SDL3 headers
|
|
80
|
+
run: git clone --depth 1 --branch release-3.2.0 https://github.com/libsdl-org/SDL.git /tmp/SDL3
|
|
56
81
|
- name: standalone header check
|
|
57
82
|
run: ./tools/check_headers.sh
|
|
58
83
|
env:
|
|
59
84
|
CXX: g++
|
|
85
|
+
CXXFLAGS: -I/tmp/SDL3/include
|
|
60
86
|
|
|
61
87
|
# Compile-only smoke for the windowing/GL backends: they self-gate on
|
|
62
88
|
# __has_include(<GLFW/glfw3.h>), so without dev headers installed they
|
|
63
89
|
# silently compile to nothing and rot. Install them and force the check.
|
|
64
90
|
gl-backends:
|
|
65
|
-
name: GL/GLFW backends compile (linux)
|
|
91
|
+
name: GL/GLFW/SDL backends compile (linux)
|
|
66
92
|
runs-on: ubuntu-latest
|
|
67
93
|
steps:
|
|
68
94
|
- uses: actions/checkout@v4
|
|
69
95
|
- name: install dev headers
|
|
70
96
|
run: sudo apt-get update && sudo apt-get install -y libglfw3-dev libgl1-mesa-dev
|
|
97
|
+
- name: SDL3 headers
|
|
98
|
+
run: git clone --depth 1 --branch release-3.2.0 https://github.com/libsdl-org/SDL.git /tmp/SDL3
|
|
71
99
|
- name: syntax-check backend headers
|
|
72
100
|
shell: bash
|
|
73
101
|
run: |
|
|
74
102
|
cat > /tmp/backends.cpp <<'EOF'
|
|
75
103
|
#include <slikui/backends/glfw/glfw_window.hpp>
|
|
76
104
|
#include <slikui/backends/opengl/opengl.hpp>
|
|
105
|
+
#include <slikui/backends/sdl/sdl_window.hpp>
|
|
106
|
+
#if !defined(SLIKUI_HAS_GLFW) || !defined(SLIKUI_HAS_SDL3)
|
|
107
|
+
#error backend headers self-gated to empty: dev headers not found
|
|
108
|
+
#endif
|
|
77
109
|
int main() { return 0; }
|
|
78
110
|
EOF
|
|
79
|
-
clang++ -std=c++20 -Iinclude -fsyntax-only /tmp/backends.cpp
|
|
111
|
+
clang++ -std=c++20 -Iinclude -I/tmp/SDL3/include -fsyntax-only /tmp/backends.cpp
|
|
@@ -2,7 +2,7 @@ name: docs
|
|
|
2
2
|
|
|
3
3
|
# Builds the MkDocs Material site and deploys it to GitHub Pages on every
|
|
4
4
|
# push to main. The C++ side is only parsed (tools/doc_check.py), never
|
|
5
|
-
# compiled
|
|
5
|
+
# compiled - docs CI stays fast and needs no toolchain.
|
|
6
6
|
|
|
7
7
|
on:
|
|
8
8
|
push:
|
|
@@ -50,11 +50,13 @@ jobs:
|
|
|
50
50
|
- { os: windows-latest } # windows amd64
|
|
51
51
|
env:
|
|
52
52
|
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
|
|
53
|
-
# gcc 13 on manylinux_2_28
|
|
53
|
+
# gcc 13 on manylinux_2_28 - C++20 needs more than 2014's devtoolset
|
|
54
54
|
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
|
|
55
55
|
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
|
|
56
56
|
CIBW_TEST_REQUIRES: "pytest numpy pillow"
|
|
57
|
-
|
|
57
|
+
# The shipped examples double as the wheel's acceptance test: every
|
|
58
|
+
# scripted smoke pass runs against the built binary.
|
|
59
|
+
CIBW_TEST_COMMAND: "python -m pytest {package}/python/tests -q && python -m slikui.examples --smoke all"
|
|
58
60
|
CIBW_BUILD_VERBOSITY: 1
|
|
59
61
|
steps:
|
|
60
62
|
- uses: actions/checkout@v4
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
Added OpenGL renderer support in python. Batcher collects draw calls and is
|
|
6
|
+
reused across most renderers. Split input from windowing with GLFW. Added
|
|
7
|
+
SDL3 support. Miscellaneous bug fixes.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **`IRenderSink::release(id)`** (optional, default no-op): called when an
|
|
12
|
+
`Image`, `ImageView` or `CompareView` is destroyed, so sinks can free its
|
|
13
|
+
texture. Previously every image widget leaked its texture for the life of
|
|
14
|
+
the sink. The software and OpenGL sinks implement it (OpenGL defers the
|
|
15
|
+
`glDeleteTextures` to the next `render()`).
|
|
16
|
+
- **`Context::release_texture(id)`** and **`Context::invalidate_textures()`**
|
|
17
|
+
(re-upload the font atlas and every live widget texture after a sink lost
|
|
18
|
+
them).
|
|
19
|
+
- Python: **`DrawList.as_array()`** - zero-copy read-only structured view of
|
|
20
|
+
the frame's commands (`slikui.DRAWCMD_DTYPE`), ~18x cheaper than iterating
|
|
21
|
+
`DrawCmd` objects. **`RenderSink.release()`** is overridable;
|
|
22
|
+
`Sink.texture_count` / `CanvasSink.texture_count` for leak checks.
|
|
23
|
+
- **`GpuBatcher`** (`render/batcher.hpp`, API-agnostic): DrawList -> one
|
|
24
|
+
20-float instance per drawable command + scissor/texture batches, with
|
|
25
|
+
reference GLSL 330 shaders matching the software rasterizer's coverage.
|
|
26
|
+
- Python: **`slikui.GLSink`** (PyOpenGL `RenderSink` on `GpuBatcher`) and
|
|
27
|
+
**`slikui.GlApp`** (App-like shell over it): the UI draws straight into
|
|
28
|
+
your GL context. ~0.5 ms/frame on the gallery vs ~3 ms for the C++
|
|
29
|
+
software sink (~55 ms for `CanvasSink`). Also `slikui.GpuBatcher`,
|
|
30
|
+
`GpuKind`, `GPU_VERTEX_SHADER` / `GPU_FRAGMENT_SHADER`,
|
|
31
|
+
`read_framebuffer()`.
|
|
32
|
+
- Python: **`slikui.ModernGLSink`** - the same sink over a
|
|
33
|
+
`moderngl.Context` (~0.36 ms/frame on the gallery).
|
|
34
|
+
- **GLFW input without the window**: `backends/glfw/glfw_input.hpp` -
|
|
35
|
+
event builders (`mouse_button_event`, `cursor_pos_event`, `key_event`,
|
|
36
|
+
...), `map_button`, `GlfwInput` (installs slikui's callbacks on YOUR
|
|
37
|
+
`GLFWwindow*`, chaining to existing ones and restoring them on
|
|
38
|
+
destruction, without touching the user pointer) and `attach_services`
|
|
39
|
+
(clipboard + cursors). `GlfwWindow` is now window creation on top of it
|
|
40
|
+
(same API, plus `input()`). Python twin: `slikui.glfw_input` /
|
|
41
|
+
`slikui.GlfwInput`.
|
|
42
|
+
- **SDL3 backend** (`backends/sdl/`, SDL 3.2+), same layering as GLFW:
|
|
43
|
+
`sdl_input.hpp` - `translate()` (SDL_Event -> slikui events), `SdlInput`
|
|
44
|
+
(one window's events, text input, queue/dispatch), `attach_services`;
|
|
45
|
+
`sdl_window.hpp` - `SdlWindow` (window + GL 3.3 context + input).
|
|
46
|
+
Python: `slikui.sdl_input` / `slikui.SdlInput` (PySDL3). New
|
|
47
|
+
`examples/06_sdl_opengl`, `python/examples/sdl_demo.py`; tests
|
|
48
|
+
`slikui_sdl_input` (SDL's real event queue, dummy video driver) and
|
|
49
|
+
`slikui_sdl_gl_parity`.
|
|
50
|
+
- **`Context::wants_mouse(pos)` / `wants_keyboard()`** for hosts that share
|
|
51
|
+
input with their own scene, and `Widget::mouse_transparent()` (true for
|
|
52
|
+
`Column`, `Row`, `Spacer`; overridable, also from Python).
|
|
53
|
+
`python/examples/glfw_demo.py` uses them instead of its own panel test,
|
|
54
|
+
so its hint box now counts as UI.
|
|
55
|
+
- `tests/gl_parity.cpp` (ctest `slikui_gl_parity`, built when GLFW is
|
|
56
|
+
found; skips without a display): `OpenglSink` vs software sink offscreen,
|
|
57
|
+
2/255 per channel.
|
|
58
|
+
- `python/benchmarks/bench_render.py`: ms/frame per sink on the gallery.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- **`shortcut_label` is plain ASCII on every platform**: "Cmd+Shift+S",
|
|
63
|
+
"Ctrl+S", "Alt+Left" (Apple used the symbol form with the command,
|
|
64
|
+
option and arrow glyphs). Digit keys now label as "Ctrl+1".
|
|
65
|
+
`fit_shortcut_label` always spells such symbols out (the font argument is
|
|
66
|
+
unused); menu hints written with them render as text.
|
|
67
|
+
- **The repository is ASCII-only** - sources, tests, examples, docs and
|
|
68
|
+
generated files (`dist/slikui.hpp`, the type stub). Example and showcase
|
|
69
|
+
labels/transcripts use "-", "->", "..." instead of typographic symbols.
|
|
70
|
+
`python/tests/test_ascii.py` enforces it.
|
|
71
|
+
- **`OpenglSink` rewritten on `GpuBatcher`**: instanced quads (80 bytes per
|
|
72
|
+
command instead of 6 x 68-byte vertices), one draw per batch, blending
|
|
73
|
+
via `glBlendFuncSeparate` so destination alpha is correct when rendering
|
|
74
|
+
into a transparent FBO. RGBA images now sample `GL_NEAREST` (as the
|
|
75
|
+
software sink does; was `GL_LINEAR`). New `shutdown()`; disables
|
|
76
|
+
depth/cull/stencil in `render()`.
|
|
77
|
+
- Python `--window` examples and `python/examples/glfw_demo.py` draw the UI
|
|
78
|
+
with `GlApp`; `--software` keeps the CPU rasterizer + texture blit.
|
|
79
|
+
- Python: **`TexUpload.pixels` is a zero-copy read-only ndarray view**
|
|
80
|
+
(`(H, W)` uint8 for Alpha8, `(H, W, 4)` for Rgba8) instead of `bytes`.
|
|
81
|
+
`bytes(up.pixels)` still works; the view is valid only during `upload()`.
|
|
82
|
+
|
|
83
|
+
### Fixes
|
|
84
|
+
|
|
85
|
+
- **Software sink (and `CanvasSink`): glyph/image quads cover pixels by
|
|
86
|
+
center.** They looped from `int(x)`/`int(y)`, so a fractionally placed
|
|
87
|
+
glyph also painted the row/column whose center lies outside it, sampling
|
|
88
|
+
past its atlas cell - faint dots from the neighbouring glyph above some
|
|
89
|
+
letters (e.g. G, C). Text now matches the GPU sinks to 2/255. Text pixels
|
|
90
|
+
at glyph edges shift slightly in software output.
|
|
91
|
+
- **GLFW mouse buttons: right and middle were swapped.** GLFW numbers them
|
|
92
|
+
LEFT=0, RIGHT=1, MIDDLE=2; slikui uses MouseLeft=0, MouseMiddle=1,
|
|
93
|
+
MouseRight=2. `GlfwWindow` passed GLFW's number through unmapped, as did
|
|
94
|
+
the Python `--window` host and `python/examples/showcase.py` - a right
|
|
95
|
+
click arrived as a middle click and vice versa, so context menus opened
|
|
96
|
+
on middle-click and never on right-click. `python/examples/glfw_demo.py` was already correct.
|
|
97
|
+
- `GlfwWindow` dropped the modifier state of mouse presses/releases
|
|
98
|
+
(Shift-click arrived without Shift).
|
|
99
|
+
- `python/examples/showcase.py` only forwarded a handful of keys and only
|
|
100
|
+
vertical scroll; it now uses `GlfwInput` like the other hosts.
|
|
101
|
+
- Images inside a `Dialog` are now uploaded (dialogs were skipped when
|
|
102
|
+
collecting texture uploads, so they drew nothing).
|
|
103
|
+
- A texture widget moved to another `Context` re-uploads its pixels under
|
|
104
|
+
its new id (it was never marked dirty, so it drew nothing).
|
|
105
|
+
- `OpenglSink` drew nothing for zero-length lines; the software sink draws
|
|
106
|
+
a dot, and now both do.
|
|
107
|
+
- `python/examples/glfw_demo.py` (software UI path): translucent panels
|
|
108
|
+
accumulated alpha frame over frame until opaque (the UI target was never
|
|
109
|
+
cleared), and the blit multiplied alpha twice.
|
|
110
|
+
|
|
111
|
+
## 0.3.0
|
|
112
|
+
|
|
113
|
+
The input model now delivers what custom widgets expect, and the Python
|
|
114
|
+
package documents itself.
|
|
115
|
+
|
|
116
|
+
### Behavior changes (C++ and Python)
|
|
117
|
+
|
|
118
|
+
- **Every mouse button reaches widgets.** Middle and right presses are now
|
|
119
|
+
dispatched (previously only left presses were; right *releases* already
|
|
120
|
+
were, unpaired). Built-in widgets act on the left button only, so a
|
|
121
|
+
right- or middle-click no longer activates buttons, drags sliders, etc.
|
|
122
|
+
A right press on a widget with a context menu still opens the menu; that
|
|
123
|
+
press and its release are not delivered.
|
|
124
|
+
- **`KeyRelease` is dispatched** to the focused widget (else the hovered
|
|
125
|
+
one), only for presses the tree received - no orphan releases for Tab,
|
|
126
|
+
Escape or shortcut chords.
|
|
127
|
+
- **Key presses with nothing focused** go to the hovered widget instead of
|
|
128
|
+
hit-testing the event's unset position.
|
|
129
|
+
- **`FocusLost` reaches widgets**: the widget losing focus receives it, and
|
|
130
|
+
so does the mouse-capture widget when the app loses focus (cancel drags
|
|
131
|
+
there). Previously it only reset Context state.
|
|
132
|
+
- **`Button` and the toolbar's `IconButton` fire on `Click`** and un-hover /
|
|
133
|
+
disarm on `MouseLeave` (previously the hover highlight and pressed state
|
|
134
|
+
could stick after the pointer left).
|
|
135
|
+
- **Shift+Tab** now moves focus backwards (it re-selected the current
|
|
136
|
+
widget).
|
|
137
|
+
|
|
138
|
+
### Fixes
|
|
139
|
+
|
|
140
|
+
- **Text at 1x no longer picks up slivers of neighboring glyphs.** The
|
|
141
|
+
software renderers (C++ and Python) sampled glyphs half a texel off, which
|
|
142
|
+
also softened all text slightly; they now sample at texel centers like
|
|
143
|
+
the OpenGL backend.
|
|
144
|
+
- **Text laid out during paint shows on its first frame.** The font atlas
|
|
145
|
+
was uploaded before painting, so glyphs first needed in `paint` (the
|
|
146
|
+
Slider's value, TextField metrics) were missing for a frame, and a
|
|
147
|
+
Slider's value text vanished on frames that showed new digits.
|
|
148
|
+
- **Shortcut hints never show missing-glyph boxes.** Menus spell out any
|
|
149
|
+
symbol the font lacks (`CtrlShiftS` -> `Ctrl+Shift+S`, `<-` -> `Left`).
|
|
150
|
+
- Software renderer: RGBA image sampling clamped the row against the
|
|
151
|
+
texture's width instead of its height.
|
|
152
|
+
|
|
153
|
+
### New
|
|
154
|
+
|
|
155
|
+
- Event types `Click`, `DoubleClick`, `MouseEnter`, `MouseLeave`,
|
|
156
|
+
`FocusGained` (appended: existing enum values are unchanged).
|
|
157
|
+
- `Event::clicks` - consecutive-click count on press/release/click
|
|
158
|
+
(`kMultiClickTime` 0.4 s on the tick clock, `kMultiClickSlop` 4 px);
|
|
159
|
+
`Event::repeat` for auto-repeat key presses.
|
|
160
|
+
- `Key::Num0` ... `Key::Num9` (appended).
|
|
161
|
+
- `Widget::paint_over` - drawn after the children, for decorations.
|
|
162
|
+
- Destroyed widgets are dropped from the Context's focus / hover / capture
|
|
163
|
+
/ press state (no dispatch into freed widgets); widgets that outlive their
|
|
164
|
+
Context are safe to destroy. `Context` has a destructor and is
|
|
165
|
+
non-copyable.
|
|
166
|
+
- `Context::hovered()`.
|
|
167
|
+
- `Font::has_glyph(cp)`; `fit_shortcut_label(font, label)` and
|
|
168
|
+
`shortcut_label(key, mods, font)`.
|
|
169
|
+
- `TextField`: double-click selects a word, triple-click selects all.
|
|
170
|
+
- GLFW backend: digit keys; auto-repeat is a press with `repeat` set (it
|
|
171
|
+
was translated as a release); mouse move and scroll events carry the
|
|
172
|
+
current modifiers.
|
|
173
|
+
|
|
174
|
+
### Python
|
|
175
|
+
|
|
176
|
+
- Mouse capture: `Context.capture_mouse(w)` / `release_mouse(w)`;
|
|
177
|
+
`Widget.context`, `Widget.focused`, `Widget.request_focus()`,
|
|
178
|
+
`Widget.set_cursor(...)`; `Context.set_focus`, `.focused`, `.hovered`,
|
|
179
|
+
`.root`.
|
|
180
|
+
- Python overrides for `paint_over`, `clip_rect` and `attached`.
|
|
181
|
+
- `Event.clicks`, `.repeat`, `.super`, `.shortcut_mod`;
|
|
182
|
+
`Event.MULTI_CLICK_TIME` / `MULTI_CLICK_SLOP`; `key_press(..., repeat=)`.
|
|
183
|
+
- **Custom widgets can keep references to their own children**
|
|
184
|
+
(`self.slider = self.add(slikui.Slider)`, callbacks capturing them)
|
|
185
|
+
without leaking. Widget-returning methods on widgets no longer keep
|
|
186
|
+
their host's wrapper alive (a link the garbage collector could not
|
|
187
|
+
see); wrappers are views, valid until the tree drops the widget.
|
|
188
|
+
- `shortcut_label(key, mods, context)` spells out symbols the context's
|
|
189
|
+
font lacks.
|
|
190
|
+
- Every example file runs when copied out of the package, and every
|
|
191
|
+
snippet the docs quote is self-contained (imports included).
|
|
192
|
+
- `slikui.Event` is exported (it was listed in `__all__` but missing, which
|
|
193
|
+
broke `from slikui import *`).
|
|
194
|
+
- `EventType` is arithmetic (`int(e.type)` works); readable `repr()` for
|
|
195
|
+
`Event`, `Rect`, `Vec2`, `Size`; `Label.text` and `Button.text` getters.
|
|
196
|
+
- Type stubs: `slikui/_slikui.pyi` ships in the wheel (generated by
|
|
197
|
+
`tools/gen_stubs.py`, drift-checked by the test suite). Docstrings on the
|
|
198
|
+
`Widget` protocol methods describe event delivery.
|
|
199
|
+
- Shipped examples: new `controls`, `keyboard`, `renderer` and `window`;
|
|
200
|
+
`events` and `paint` rewritten for the new model.
|
|
201
|
+
`python -m slikui.examples --where` and `--contract` (the event contract,
|
|
202
|
+
measured live); a `slikui-examples` command. The wheel CI runs every
|
|
203
|
+
example's smoke pass.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.20)
|
|
2
2
|
|
|
3
|
-
# Version comes from include/slikui/version.hpp
|
|
3
|
+
# Version comes from include/slikui/version.hpp - the single source of truth
|
|
4
4
|
# for C++ and Python alike.
|
|
5
5
|
set(_slikui_version "")
|
|
6
6
|
foreach(_part MAJOR MINOR PATCH)
|
|
@@ -31,7 +31,7 @@ option(SLIKUI_BUILD_EXAMPLES "Build slikui examples" ON)
|
|
|
31
31
|
|
|
32
32
|
if(SKBUILD)
|
|
33
33
|
# Python wheel build (scikit-build-core): only the bindings, which install
|
|
34
|
-
# into the wheel
|
|
34
|
+
# into the wheel - the install/export rules below don't apply.
|
|
35
35
|
add_subdirectory(python)
|
|
36
36
|
else()
|
|
37
37
|
if(SLIKUI_BUILD_TESTS)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: slikui-python
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: Python bindings for slikui
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Python bindings for slikui - a header-only C++20 UI library
|
|
5
5
|
Author: slikui contributors
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
License-File: LICENSE
|
|
@@ -23,24 +23,26 @@ Requires-Dist: pytest>=8; extra == "test"
|
|
|
23
23
|
Provides-Extra: demo
|
|
24
24
|
Requires-Dist: glfw>=2.5; extra == "demo"
|
|
25
25
|
Requires-Dist: PyOpenGL; extra == "demo"
|
|
26
|
+
Requires-Dist: moderngl; extra == "demo"
|
|
27
|
+
Requires-Dist: pysdl3; extra == "demo"
|
|
26
28
|
Description-Content-Type: text/markdown
|
|
27
29
|
|
|
28
|
-
# slikui
|
|
30
|
+
# slikui - Python bindings for the slikui C++ UI library
|
|
29
31
|
|
|
30
|
-
Install from PyPI
|
|
32
|
+
Install from PyPI | import `slikui` | compiled module `slikui._slikui`.
|
|
31
33
|
|
|
32
34
|
```sh
|
|
33
35
|
pip install slikui-python
|
|
34
36
|
```
|
|
35
37
|
|
|
36
|
-
pip picks the wheel matching your OS, CPU and Python (3.10
|
|
38
|
+
pip picks the wheel matching your OS, CPU and Python (3.10-3.14 on Linux
|
|
37
39
|
x86_64/aarch64, macOS arm64, Windows x64). No wheel for your platform (e.g.
|
|
38
|
-
Intel macOS)? pip builds from the sdist instead
|
|
40
|
+
Intel macOS)? pip builds from the sdist instead - that needs a C++20
|
|
39
41
|
compiler. The same files are attached to every
|
|
40
42
|
[GitHub Release](https://github.com/jamesgregson/slikui/releases).
|
|
41
43
|
|
|
42
44
|
Headless, testable UI: the software rasterizer renders into a `numpy`
|
|
43
|
-
framebuffer
|
|
45
|
+
framebuffer - no window, no GPU, no event loop required.
|
|
44
46
|
|
|
45
47
|
```python
|
|
46
48
|
import slikui
|
|
@@ -58,20 +60,20 @@ ui.handle(slikui.mouse_press((60, 40))) # real events, real dispatch path
|
|
|
58
60
|
|
|
59
61
|
## Documentation
|
|
60
62
|
|
|
61
|
-
The full docs live at **<https://jamesgregson.github.io/slikui/>**
|
|
63
|
+
The full docs live at **<https://jamesgregson.github.io/slikui/>** -
|
|
62
64
|
C++ and Python side by side on every page:
|
|
63
65
|
|
|
64
|
-
- [Getting started
|
|
65
|
-
- [Python bindings reference](https://jamesgregson.github.io/slikui/reference/python-bindings/)
|
|
66
|
-
`App`, builder sugar (`container.add(cls, **props)`
|
|
66
|
+
- [Getting started - Python](https://jamesgregson.github.io/slikui/getting-started/python/)
|
|
67
|
+
- [Python bindings reference](https://jamesgregson.github.io/slikui/reference/python-bindings/) -
|
|
68
|
+
`App`, builder sugar (`container.add(cls, **props)` -> setters), event
|
|
67
69
|
constructors, custom widgets in pure Python, leak-free shutdown
|
|
68
|
-
- [Widget index](https://jamesgregson.github.io/slikui/reference/)
|
|
70
|
+
- [Widget index](https://jamesgregson.github.io/slikui/reference/) - every
|
|
69
71
|
widget with rendered examples and C++/Python snippets
|
|
70
|
-
- [Your own renderer](https://jamesgregson.github.io/slikui/guide/backends/)
|
|
72
|
+
- [Your own renderer](https://jamesgregson.github.io/slikui/guide/backends/) -
|
|
71
73
|
subclass `slikui.RenderSink` and point slikui at pygame, moderngl, PIL,
|
|
72
74
|
anything; `slikui.CanvasSink` is a pure-numpy reference sink that is
|
|
73
75
|
pixel-identical to the C++ software backend
|
|
74
|
-
- [Custom widgets](https://jamesgregson.github.io/slikui/guide/custom-widgets/)
|
|
76
|
+
- [Custom widgets](https://jamesgregson.github.io/slikui/guide/custom-widgets/) -
|
|
75
77
|
subclass `slikui.Widget`, implement `measure`/`paint`/`on_event`, and the
|
|
76
78
|
C++ core lays out, paints and dispatches to your class
|
|
77
79
|
|
|
@@ -80,8 +82,9 @@ C++ and Python side by side on every page:
|
|
|
80
82
|
The C++ side is header-only, nothing to link:
|
|
81
83
|
|
|
82
84
|
```sh
|
|
83
|
-
pip install -e . # editable, into your venv
|
|
85
|
+
pip install -e . # editable, into your venv - from the repo root
|
|
84
86
|
python -m pytest python/tests # widgets, events, custom widgets, renderer parity
|
|
85
|
-
python
|
|
87
|
+
python -m slikui.examples.hello # shipped demos: writes hello.png in CWD
|
|
88
|
+
python -m slikui.examples --list # the whole shipped suite
|
|
86
89
|
python python/examples/glfw_demo.py # interactive GLFW + OpenGL demo
|
|
87
90
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# slikui
|
|
1
|
+
# slikui - a sleek, header-only C++ UI library for graphics applications
|
|
2
2
|
|
|
3
3
|
[](https://github.com/jamesgregson/slikui/actions/workflows/cpp.yml)
|
|
4
4
|
[](https://github.com/jamesgregson/slikui/actions/workflows/python.yml)
|
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
|
|
7
7
|
Retained-mode widget tree, declarative builder API, one narrow rendering
|
|
8
8
|
contract that runs on **raw pixels or any graphics API**. C++20, header-only,
|
|
9
|
-
no dependencies
|
|
9
|
+
no dependencies - with [Python bindings](https://jamesgregson.github.io/slikui/getting-started/python/)
|
|
10
10
|
as first-class citizens.
|
|
11
11
|
|
|
12
|
-
**Docs: <https://jamesgregson.github.io/slikui/>**
|
|
12
|
+
**Docs: <https://jamesgregson.github.io/slikui/>** - guides, per-widget
|
|
13
13
|
reference with real rendered examples, and the whole site as plain markdown
|
|
14
14
|
for agents and offline use
|
|
15
15
|
([llms.txt](https://jamesgregson.github.io/slikui/llms.txt),
|
|
16
16
|
[llms-full.txt](https://jamesgregson.github.io/slikui/llms-full.txt)).
|
|
17
17
|
|
|
18
|
-

|
|
20
20
|
|
|
21
21
|
## Quickstart
|
|
22
22
|
|
|
23
|
-
**C++**
|
|
23
|
+
**C++** - drop in the header, build a tree, drive the frame loop
|
|
24
24
|
([more](https://jamesgregson.github.io/slikui/getting-started/cpp/)):
|
|
25
25
|
|
|
26
26
|
```cpp
|
|
@@ -42,7 +42,7 @@ root.add<slikui::Button>("Save").set_variant(slikui::Button::Variant::Primary);
|
|
|
42
42
|
// frame loop: ctx.handle(event); ctx.tick(time); ctx.render();
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
**Python**
|
|
45
|
+
**Python** - `pip install slikui-python`, headless by default
|
|
46
46
|
([more](https://jamesgregson.github.io/slikui/getting-started/python/)):
|
|
47
47
|
|
|
48
48
|
```python
|
|
@@ -57,25 +57,33 @@ ui.tick(0.0, 1 / 60) # layout + animation
|
|
|
57
57
|
frame = ui.render() # zero-copy (H, W) uint32 ndarray
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
Eight examples ship in the wheel ([gallery](https://jamesgregson.github.io/slikui/guide/examples/)):
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
pip install "slikui-python[demo]" # + glfw/PyOpenGL for live windows
|
|
64
|
+
python -m slikui.examples --list
|
|
65
|
+
python -m slikui.examples.controls --window # open one live
|
|
66
|
+
```
|
|
67
|
+
|
|
60
68
|
## Highlights
|
|
61
69
|
|
|
62
|
-
- **Header-only**
|
|
70
|
+
- **Header-only** - `slikui.hpp` (multi-header) or `dist/slikui.hpp`
|
|
63
71
|
(amalgamated). No linking, no code generation.
|
|
64
|
-
- **Backends**
|
|
72
|
+
- **Backends** - CPU rasterizer over raw pixels (headless, embedded, blit
|
|
65
73
|
into any engine) and GL 3.3 core on system headers. Anything else
|
|
66
74
|
implements one interface: [Render backends](https://jamesgregson.github.io/slikui/guide/backends/).
|
|
67
|
-
- **Widget set**
|
|
75
|
+
- **Widget set** - 50+ widgets, from buttons and sliders to plots, trees,
|
|
68
76
|
tables, menus, dialogs and image views:
|
|
69
77
|
[widget index](https://jamesgregson.github.io/slikui/reference/).
|
|
70
|
-
- **Theming**
|
|
78
|
+
- **Theming** - palette-driven styling, 8 built-in presets, HiDPI scale:
|
|
71
79
|
[Theming](https://jamesgregson.github.io/slikui/guide/theming/).
|
|
72
|
-
- **Testable**
|
|
80
|
+
- **Testable** - one event vocabulary, synthetic events drive the real
|
|
73
81
|
dispatch path, golden-image pixel checks in CI:
|
|
74
82
|
[Input & events](https://jamesgregson.github.io/slikui/guide/input-events/).
|
|
75
83
|
|
|
76
84
|
Every screenshot in the docs is real output:
|
|
77
85
|
`tools/components_capture.cpp` builds each tree with the software backend,
|
|
78
|
-
simulates a second of interaction, and dumps the framebuffer
|
|
86
|
+
simulates a second of interaction, and dumps the framebuffer - the snippets
|
|
79
87
|
are the capture code.
|
|
80
88
|
|
|
81
89
|
| | | |
|
|
@@ -91,7 +99,7 @@ cmake --build build -j
|
|
|
91
99
|
ctest --test-dir build # golden-image pixel checks included
|
|
92
100
|
```
|
|
93
101
|
|
|
94
|
-
Six examples (`01_hello`
|
|
102
|
+
Six examples (`01_hello` ... `05_showcase`) and the Python twins -
|
|
95
103
|
[Development](docs/development.md) has the full tour, plus how to regenerate
|
|
96
104
|
the docs images, amalgamate the header, and cut a release.
|
|
97
105
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@PACKAGE_INIT@
|
|
2
2
|
|
|
3
|
-
# Header-only: slikui::slikui is an INTERFACE target
|
|
3
|
+
# Header-only: slikui::slikui is an INTERFACE target - include + compile
|
|
4
4
|
# features, nothing to link. SLIKUI_VERSION_STRING and friends come from
|
|
5
5
|
# <slikui/version.hpp>, which is installed with the rest of the headers.
|
|
6
6
|
include("${CMAKE_CURRENT_LIST_DIR}/slikuiTargets.cmake")
|