slikui-python 0.4.1__tar.gz → 0.6.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.
Files changed (508) hide show
  1. slikui_python-0.6.0/CHANGELOG.md +522 -0
  2. {slikui_python-0.4.1 → slikui_python-0.6.0}/PKG-INFO +1 -1
  3. {slikui_python-0.4.1 → slikui_python-0.6.0}/README.md +2 -2
  4. {slikui_python-0.4.1 → slikui_python-0.6.0}/dist/slikui.hpp +3129 -485
  5. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/development.md +54 -1
  6. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/guide/backends.md +1 -1
  7. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/guide/core-concepts.md +21 -4
  8. slikui_python-0.6.0/docs/guide/custom-widgets.md +298 -0
  9. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/guide/examples.md +20 -0
  10. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/guide/input-events.md +39 -2
  11. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/guide/layout.md +4 -2
  12. slikui_python-0.6.0/docs/guide/text-fonts.md +129 -0
  13. slikui_python-0.6.0/docs/images/accordion.png +0 -0
  14. slikui_python-0.6.0/docs/images/browser.png +0 -0
  15. slikui_python-0.6.0/docs/images/buttons.png +0 -0
  16. slikui_python-0.6.0/docs/images/containers.png +0 -0
  17. slikui_python-0.6.0/docs/images/contextmenu.png +0 -0
  18. slikui_python-0.6.0/docs/images/custom_cpp.png +0 -0
  19. slikui_python-0.6.0/docs/images/custom_widget.png +0 -0
  20. slikui_python-0.6.0/docs/images/data.png +0 -0
  21. slikui_python-0.6.0/docs/images/dialog.png +0 -0
  22. slikui_python-0.6.0/docs/images/editors.png +0 -0
  23. slikui_python-0.6.0/docs/images/examples-clock.gif +0 -0
  24. slikui_python-0.6.0/docs/images/examples-controls.png +0 -0
  25. slikui_python-0.6.0/docs/images/examples-events.png +0 -0
  26. slikui_python-0.6.0/docs/images/examples-gallery.png +0 -0
  27. slikui_python-0.6.0/docs/images/examples-hello.png +0 -0
  28. slikui_python-0.6.0/docs/images/examples-keyboard.png +0 -0
  29. slikui_python-0.6.0/docs/images/examples-paint.png +0 -0
  30. slikui_python-0.6.0/docs/images/examples-renderer.png +0 -0
  31. slikui_python-0.6.0/docs/images/examples-text.png +0 -0
  32. slikui_python-0.6.0/docs/images/examples-window.png +0 -0
  33. slikui_python-0.6.0/docs/images/groupbox.png +0 -0
  34. slikui_python-0.6.0/docs/images/hello.png +0 -0
  35. slikui_python-0.6.0/docs/images/icons.png +0 -0
  36. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/images/image.png +0 -0
  37. slikui_python-0.6.0/docs/images/inputs.png +0 -0
  38. slikui_python-0.6.0/docs/images/labels.png +0 -0
  39. slikui_python-0.6.0/docs/images/layout.png +0 -0
  40. slikui_python-0.6.0/docs/images/logview.png +0 -0
  41. slikui_python-0.6.0/docs/images/menus.png +0 -0
  42. slikui_python-0.6.0/docs/images/scroll.png +0 -0
  43. slikui_python-0.6.0/docs/images/searchbox.png +0 -0
  44. slikui_python-0.6.0/docs/images/shells.png +0 -0
  45. slikui_python-0.6.0/docs/images/sliders.png +0 -0
  46. slikui_python-0.6.0/docs/images/statusbar.png +0 -0
  47. slikui_python-0.6.0/docs/images/themecustom.png +0 -0
  48. slikui_python-0.6.0/docs/images/themes.png +0 -0
  49. slikui_python-0.6.0/docs/images/toast.png +0 -0
  50. slikui_python-0.6.0/docs/images/toggles.png +0 -0
  51. slikui_python-0.6.0/docs/images/toolbar.png +0 -0
  52. slikui_python-0.6.0/docs/images/tooltip.png +0 -0
  53. slikui_python-0.6.0/docs/images/views.png +0 -0
  54. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/gauge.md +4 -2
  55. slikui_python-0.6.0/docs/includes/examples/selectabletext.md +71 -0
  56. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/sparkline.md +9 -3
  57. slikui_python-0.6.0/docs/includes/examples/tag.md +36 -0
  58. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/architecture.md +9 -6
  59. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/context.md +17 -6
  60. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/index.md +2 -1
  61. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/python-bindings.md +27 -5
  62. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-containers.md +17 -0
  63. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-controls.md +12 -1
  64. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-data.md +16 -0
  65. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-editors.md +8 -1
  66. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-inputs.md +24 -2
  67. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-menus.md +54 -1
  68. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/reference/widgets-shells.md +24 -4
  69. slikui_python-0.6.0/examples/07_text/main.cpp +401 -0
  70. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/CMakeLists.txt +5 -2
  71. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/backends/glfw/glfw_input.hpp +22 -0
  72. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/backends/sdl/sdl_input.hpp +22 -0
  73. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/backends/software/software.hpp +6 -0
  74. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/context.hpp +313 -69
  75. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/core/color.hpp +9 -0
  76. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/core/input.hpp +21 -0
  77. slikui_python-0.6.0/include/slikui/core/utf8.hpp +62 -0
  78. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/render/draw_list.hpp +19 -4
  79. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/style/theme.hpp +2 -0
  80. slikui_python-0.6.0/include/slikui/text/font.hpp +673 -0
  81. slikui_python-0.6.0/include/slikui/text/system_fonts.hpp +136 -0
  82. slikui_python-0.6.0/include/slikui/text/text.hpp +504 -0
  83. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/version.hpp +2 -2
  84. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/containers.hpp +5 -1
  85. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/controls.hpp +139 -28
  86. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/data.hpp +128 -49
  87. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/editors.hpp +4 -1
  88. slikui_python-0.6.0/include/slikui/widgets/env.hpp +64 -0
  89. slikui_python-0.6.0/include/slikui/widgets/icons.hpp +841 -0
  90. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/inputs.hpp +60 -67
  91. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/menus.hpp +76 -8
  92. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/shells.hpp +183 -27
  93. slikui_python-0.6.0/include/slikui/widgets/text.hpp +132 -0
  94. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/toolbar.hpp +28 -6
  95. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/views.hpp +93 -46
  96. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/widget.hpp +94 -5
  97. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/__init__.py +21 -0
  98. slikui_python-0.6.0/python/slikui/_py/builder.py +135 -0
  99. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/renderer.py +3 -1
  100. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_slikui.pyi +700 -10
  101. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/__init__.py +9 -1
  102. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/gallery.py +2 -3
  103. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/keyboard.py +1 -1
  104. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/paint.py +18 -11
  105. slikui_python-0.6.0/python/slikui/examples/text.py +305 -0
  106. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/window.py +1 -1
  107. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/glfw_input.py +7 -1
  108. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/sdl_input.py +7 -0
  109. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/src/slikui_py.cpp +647 -103
  110. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_ascii.py +16 -6
  111. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_custom_widgets.py +3 -1
  112. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_menus.py +41 -0
  113. slikui_python-0.6.0/python/tests/test_regressions.py +1376 -0
  114. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_shells.py +25 -9
  115. slikui_python-0.6.0/python/tests/test_text.py +161 -0
  116. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/CMakeLists.txt +1 -0
  117. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/glfw_input.cpp +12 -0
  118. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/sdl_input.cpp +10 -0
  119. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_batcher.cpp +25 -0
  120. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_data.cpp +103 -0
  121. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_golden.cpp +81 -0
  122. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_menus.cpp +77 -2
  123. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_shells.cpp +201 -22
  124. slikui_python-0.6.0/tests/test_text.cpp +582 -0
  125. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_widgets.cpp +478 -0
  126. slikui_python-0.6.0/third_party/nanobind/SLIKUI_PATCHES.md +39 -0
  127. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_internals.h +3 -2
  128. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_type.cpp +72 -6
  129. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/amalgamate.py +1 -0
  130. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/components_capture.cpp +34 -0
  131. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/doc_check.py +2 -1
  132. slikui_python-0.4.1/CHANGELOG.md +0 -228
  133. slikui_python-0.4.1/docs/guide/custom-widgets.md +0 -156
  134. slikui_python-0.4.1/docs/guide/text-fonts.md +0 -70
  135. slikui_python-0.4.1/docs/images/accordion.png +0 -0
  136. slikui_python-0.4.1/docs/images/browser.png +0 -0
  137. slikui_python-0.4.1/docs/images/buttons.png +0 -0
  138. slikui_python-0.4.1/docs/images/containers.png +0 -0
  139. slikui_python-0.4.1/docs/images/contextmenu.png +0 -0
  140. slikui_python-0.4.1/docs/images/custom_cpp.png +0 -0
  141. slikui_python-0.4.1/docs/images/custom_widget.png +0 -0
  142. slikui_python-0.4.1/docs/images/data.png +0 -0
  143. slikui_python-0.4.1/docs/images/dialog.png +0 -0
  144. slikui_python-0.4.1/docs/images/editors.png +0 -0
  145. slikui_python-0.4.1/docs/images/examples-clock.gif +0 -0
  146. slikui_python-0.4.1/docs/images/examples-controls.png +0 -0
  147. slikui_python-0.4.1/docs/images/examples-events.png +0 -0
  148. slikui_python-0.4.1/docs/images/examples-gallery.png +0 -0
  149. slikui_python-0.4.1/docs/images/examples-hello.png +0 -0
  150. slikui_python-0.4.1/docs/images/examples-keyboard.png +0 -0
  151. slikui_python-0.4.1/docs/images/examples-paint.png +0 -0
  152. slikui_python-0.4.1/docs/images/examples-renderer.png +0 -0
  153. slikui_python-0.4.1/docs/images/examples-window.png +0 -0
  154. slikui_python-0.4.1/docs/images/groupbox.png +0 -0
  155. slikui_python-0.4.1/docs/images/hello.png +0 -0
  156. slikui_python-0.4.1/docs/images/inputs.png +0 -0
  157. slikui_python-0.4.1/docs/images/labels.png +0 -0
  158. slikui_python-0.4.1/docs/images/layout.png +0 -0
  159. slikui_python-0.4.1/docs/images/logview.png +0 -0
  160. slikui_python-0.4.1/docs/images/menus.png +0 -0
  161. slikui_python-0.4.1/docs/images/scroll.png +0 -0
  162. slikui_python-0.4.1/docs/images/searchbox.png +0 -0
  163. slikui_python-0.4.1/docs/images/shells.png +0 -0
  164. slikui_python-0.4.1/docs/images/sliders.png +0 -0
  165. slikui_python-0.4.1/docs/images/statusbar.png +0 -0
  166. slikui_python-0.4.1/docs/images/themecustom.png +0 -0
  167. slikui_python-0.4.1/docs/images/themes.png +0 -0
  168. slikui_python-0.4.1/docs/images/toast.png +0 -0
  169. slikui_python-0.4.1/docs/images/toggles.png +0 -0
  170. slikui_python-0.4.1/docs/images/toolbar.png +0 -0
  171. slikui_python-0.4.1/docs/images/tooltip.png +0 -0
  172. slikui_python-0.4.1/docs/images/views.png +0 -0
  173. slikui_python-0.4.1/include/slikui/core/utf8.hpp +0 -28
  174. slikui_python-0.4.1/include/slikui/text/font.hpp +0 -318
  175. slikui_python-0.4.1/include/slikui/text/system_fonts.hpp +0 -43
  176. slikui_python-0.4.1/include/slikui/widgets/env.hpp +0 -29
  177. slikui_python-0.4.1/include/slikui/widgets/icons.hpp +0 -175
  178. slikui_python-0.4.1/include/slikui/widgets/text.hpp +0 -92
  179. slikui_python-0.4.1/python/slikui/_py/builder.py +0 -58
  180. {slikui_python-0.4.1 → slikui_python-0.6.0}/.github/workflows/cpp.yml +0 -0
  181. {slikui_python-0.4.1 → slikui_python-0.6.0}/.github/workflows/docs.yml +0 -0
  182. {slikui_python-0.4.1 → slikui_python-0.6.0}/.github/workflows/python.yml +0 -0
  183. {slikui_python-0.4.1 → slikui_python-0.6.0}/.gitignore +0 -0
  184. {slikui_python-0.4.1 → slikui_python-0.6.0}/CMakeLists.txt +0 -0
  185. {slikui_python-0.4.1 → slikui_python-0.6.0}/LICENSE +0 -0
  186. {slikui_python-0.4.1 → slikui_python-0.6.0}/cmake/slikuiConfig.cmake.in +0 -0
  187. {slikui_python-0.4.1 → slikui_python-0.6.0}/compile_flags.txt +0 -0
  188. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/getting-started/cpp.md +0 -0
  189. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/getting-started/python.md +0 -0
  190. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/guide/theming.md +0 -0
  191. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/images/cube_viewer.png +0 -0
  192. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/images/examples-snake.gif +0 -0
  193. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/images/imageviews.png +0 -0
  194. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/boundsdebug.md +0 -0
  195. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/chip.md +0 -0
  196. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/clockface.md +0 -0
  197. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/eventprobe.md +0 -0
  198. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/hello-build.md +0 -0
  199. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/hello-frame.md +0 -0
  200. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/joystick.md +0 -0
  201. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/knob.md +0 -0
  202. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/limitslider.md +0 -0
  203. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/meter.md +0 -0
  204. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/pointerroot.md +0 -0
  205. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/snake.md +0 -0
  206. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/tracesink.md +0 -0
  207. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/includes/examples/xypad.md +0 -0
  208. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/index.md +0 -0
  209. {slikui_python-0.4.1 → slikui_python-0.6.0}/docs/stylesheets/custom.css +0 -0
  210. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/01_hello/main.cpp +0 -0
  211. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/02_raw_pixels/main.cpp +0 -0
  212. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/03_gallery/main.cpp +0 -0
  213. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/04_glfw_opengl/main.cpp +0 -0
  214. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/04_glfw_software/main.cpp +0 -0
  215. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/05_showcase/main.cpp +0 -0
  216. {slikui_python-0.4.1 → slikui_python-0.6.0}/examples/06_sdl_opengl/main.cpp +0 -0
  217. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/backends/glfw/glfw_window.hpp +0 -0
  218. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/backends/opengl/opengl.hpp +0 -0
  219. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/backends/sdl/sdl_window.hpp +0 -0
  220. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/core/math.hpp +0 -0
  221. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/core/time.hpp +0 -0
  222. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/layout/layout.hpp +0 -0
  223. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/render/batcher.hpp +0 -0
  224. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/render/sink.hpp +0 -0
  225. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/slikui.hpp +0 -0
  226. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/style/anim.hpp +0 -0
  227. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/text/default_font.hpp +0 -0
  228. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/text/detail/stb_image.h +0 -0
  229. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/text/detail/stb_rect_pack.h +0 -0
  230. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/text/detail/stb_truetype.h +0 -0
  231. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/all.hpp +0 -0
  232. {slikui_python-0.4.1 → slikui_python-0.6.0}/include/slikui/widgets/image.hpp +0 -0
  233. {slikui_python-0.4.1 → slikui_python-0.6.0}/mkdocs.yml +0 -0
  234. {slikui_python-0.4.1 → slikui_python-0.6.0}/pyproject.toml +0 -0
  235. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/CMakeLists.txt +0 -0
  236. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/README.md +0 -0
  237. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/benchmarks/bench_render.py +0 -0
  238. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/examples/capture_check.py +0 -0
  239. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/examples/glfw_demo.py +0 -0
  240. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/examples/pyrenderer_demo.py +0 -0
  241. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/examples/sdl_demo.py +0 -0
  242. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/examples/showcase.py +0 -0
  243. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/__init__.py +0 -0
  244. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/app.py +0 -0
  245. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/drawcmd.py +0 -0
  246. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/events.py +0 -0
  247. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/gl.py +0 -0
  248. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/moderngl_sink.py +0 -0
  249. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/_py/pixels.py +0 -0
  250. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/__main__.py +0 -0
  251. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/_support.py +0 -0
  252. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/_window.py +0 -0
  253. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/controls.py +0 -0
  254. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/events.py +0 -0
  255. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/hello.py +0 -0
  256. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/examples/renderer.py +0 -0
  257. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/slikui/py.typed +0 -0
  258. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/examples_glfw_demo_support.py +0 -0
  259. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/gl_scenes.py +0 -0
  260. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_data.py +0 -0
  261. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_editors.py +0 -0
  262. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_events.py +0 -0
  263. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_examples.py +0 -0
  264. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_gl_sink.py +0 -0
  265. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_glfw_demo.py +0 -0
  266. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_glfw_input.py +0 -0
  267. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_gpu_batcher.py +0 -0
  268. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_input_model.py +0 -0
  269. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_moderngl_sink.py +0 -0
  270. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_pyrenderer.py +0 -0
  271. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_render_contract.py +0 -0
  272. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_sdl_input.py +0 -0
  273. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_shutdown_leaks.py +0 -0
  274. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_smoke.py +0 -0
  275. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_stubs.py +0 -0
  276. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_version.py +0 -0
  277. {slikui_python-0.4.1 → slikui_python-0.6.0}/python/tests/test_widgets.py +0 -0
  278. {slikui_python-0.4.1 → slikui_python-0.6.0}/requirements-docs.txt +0 -0
  279. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/gl_parity.cpp +0 -0
  280. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/main.cpp +0 -0
  281. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/smoke.cpp +0 -0
  282. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test.hpp +0 -0
  283. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_core.cpp +0 -0
  284. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_editors.cpp +0 -0
  285. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_font.cpp +0 -0
  286. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_input.cpp +0 -0
  287. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_layout.cpp +0 -0
  288. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_textures.cpp +0 -0
  289. {slikui_python-0.4.1 → slikui_python-0.6.0}/tests/test_theme.cpp +0 -0
  290. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/fonts/DejaVuSans-subset.ttf +0 -0
  291. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/fonts/LICENSE-DejaVu.txt +0 -0
  292. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/fonts/README.md +0 -0
  293. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/.gitignore +0 -0
  294. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/.gitmodules +0 -0
  295. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/.readthedocs.yaml +0 -0
  296. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/CMakeLists.txt +0 -0
  297. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/LICENSE +0 -0
  298. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/README.md +0 -0
  299. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/cmake/collect-symbols-pypy.py +0 -0
  300. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/cmake/collect-symbols.py +0 -0
  301. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/cmake/darwin-ld-cpython.sym +0 -0
  302. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/cmake/darwin-ld-pypy.sym +0 -0
  303. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/cmake/darwin-python-path.py +0 -0
  304. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/cmake/nanobind-config.cmake +0 -0
  305. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/.clang-format +0 -0
  306. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/.codecov.yml +0 -0
  307. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/.github/workflows/ci.yml +0 -0
  308. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/CMakeLists.txt +0 -0
  309. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/LICENSE +0 -0
  310. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/README.md +0 -0
  311. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/cmake/tsl-robin-mapConfig.cmake.in +0 -0
  312. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/doxygen.conf +0 -0
  313. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_growth_policy.h +0 -0
  314. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_hash.h +0 -0
  315. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_map.h +0 -0
  316. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/include/tsl/robin_set.h +0 -0
  317. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/CMakeLists.txt +0 -0
  318. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/custom_allocator_tests.cpp +0 -0
  319. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/main.cpp +0 -0
  320. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/policy_tests.cpp +0 -0
  321. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/robin_map_tests.cpp +0 -0
  322. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/robin_set_tests.cpp +0 -0
  323. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tests/utils.h +0 -0
  324. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/ext/robin_map/tsl-robin-map.natvis +0 -0
  325. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/eigen/dense.h +0 -0
  326. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/eigen/sparse.h +0 -0
  327. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/eigen/tensor.h +0 -0
  328. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/eval.h +0 -0
  329. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/intrusive/counter.h +0 -0
  330. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/intrusive/counter.inl +0 -0
  331. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/intrusive/ref.h +0 -0
  332. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/make_iterator.h +0 -0
  333. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nanobind.h +0 -0
  334. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_accessor.h +0 -0
  335. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_attr.h +0 -0
  336. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_backend.h +0 -0
  337. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_backend_slots.h +0 -0
  338. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_call.h +0 -0
  339. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_cast.h +0 -0
  340. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_class.h +0 -0
  341. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_defs.h +0 -0
  342. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_descr.h +0 -0
  343. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_error.h +0 -0
  344. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_func.h +0 -0
  345. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_misc.h +0 -0
  346. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_platform.h +0 -0
  347. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_python.h +0 -0
  348. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_traits.h +0 -0
  349. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_tuple.h +0 -0
  350. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/nb_types.h +0 -0
  351. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/ndarray.h +0 -0
  352. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/operators.h +0 -0
  353. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/array.h +0 -0
  354. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/bind_map.h +0 -0
  355. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/bind_vector.h +0 -0
  356. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/chrono.h +0 -0
  357. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/complex.h +0 -0
  358. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/detail/nb_array.h +0 -0
  359. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/detail/nb_dict.h +0 -0
  360. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/detail/nb_list.h +0 -0
  361. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/detail/nb_optional.h +0 -0
  362. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/detail/nb_set.h +0 -0
  363. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/detail/traits.h +0 -0
  364. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/filesystem.h +0 -0
  365. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/function.h +0 -0
  366. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/list.h +0 -0
  367. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/map.h +0 -0
  368. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/optional.h +0 -0
  369. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/pair.h +0 -0
  370. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/set.h +0 -0
  371. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/shared_ptr.h +0 -0
  372. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/string.h +0 -0
  373. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/string_view.h +0 -0
  374. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/tuple.h +0 -0
  375. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/unique_ptr.h +0 -0
  376. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/unordered_map.h +0 -0
  377. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/unordered_set.h +0 -0
  378. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/variant.h +0 -0
  379. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/vector.h +0 -0
  380. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/stl/wstring.h +0 -0
  381. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/trampoline.h +0 -0
  382. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/include/nanobind/typing.h +0 -0
  383. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/pyproject.toml +0 -0
  384. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/__init__.py +0 -0
  385. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/__main__.py +0 -0
  386. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/buffer.h +0 -0
  387. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/common.cpp +0 -0
  388. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/error.cpp +0 -0
  389. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/hash.h +0 -0
  390. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/implicit.cpp +0 -0
  391. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_backend.cpp +0 -0
  392. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_combined.cpp +0 -0
  393. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_datetime.cpp +0 -0
  394. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_enum.cpp +0 -0
  395. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_ft.cpp +0 -0
  396. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_ft.h +0 -0
  397. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_func.cpp +0 -0
  398. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_internals.cpp +0 -0
  399. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_ndarray.cpp +0 -0
  400. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/nb_static_property.cpp +0 -0
  401. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/stubgen.py +0 -0
  402. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/trampoline.cpp +0 -0
  403. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/src/version.py +0 -0
  404. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/CMakeLists.txt +0 -0
  405. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/common.py +0 -0
  406. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/conftest.py +0 -0
  407. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/inter_module.cpp +0 -0
  408. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/inter_module.h +0 -0
  409. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/object_py.h +0 -0
  410. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/pattern_file.nb +0 -0
  411. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/pattern_file_recursive.nb +0 -0
  412. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/__init__.py +0 -0
  413. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/__init__.pyi.ref +0 -0
  414. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/alias.py +0 -0
  415. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/alias.pyi.ref +0 -0
  416. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/bar.py +0 -0
  417. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/bar.pyi.ref +0 -0
  418. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/__init__.py +0 -0
  419. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/__init__.pyi.ref +0 -0
  420. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/mod.py +0 -0
  421. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_recursive_stub_test/sub/mod.pyi.ref +0 -0
  422. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_stub_test.py +0 -0
  423. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/py_stub_test.pyi.ref +0 -0
  424. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_abi.py +0 -0
  425. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_abi_layout.cpp +0 -0
  426. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_abi_missing.cpp +0 -0
  427. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_abi_multi.h +0 -0
  428. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_abi_multi_1.cpp +0 -0
  429. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_abi_multi_2.cpp +0 -0
  430. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_accessor.cpp +0 -0
  431. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_accessor.py +0 -0
  432. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_callbacks.cpp +0 -0
  433. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_callbacks.py +0 -0
  434. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_chrono.cpp +0 -0
  435. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_chrono.py +0 -0
  436. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_classes.cpp +0 -0
  437. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_classes.h +0 -0
  438. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_classes.py +0 -0
  439. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_classes_ext.pyi.ref +0 -0
  440. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_classes_extra.cpp +0 -0
  441. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_eigen.cpp +0 -0
  442. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_eigen.py +0 -0
  443. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_eigen_tensor.cpp +0 -0
  444. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_eigen_tensor.py +0 -0
  445. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_enum.cpp +0 -0
  446. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_enum.py +0 -0
  447. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_enum_ext.pyi.ref +0 -0
  448. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_eval.cpp +0 -0
  449. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_eval.py +0 -0
  450. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_exception.cpp +0 -0
  451. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_exception.py +0 -0
  452. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_foreign.cpp +0 -0
  453. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_foreign.py +0 -0
  454. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_functions.cpp +0 -0
  455. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_functions.py +0 -0
  456. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_functions_ext.pyi.ref +0 -0
  457. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_holders.cpp +0 -0
  458. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_holders.py +0 -0
  459. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_inter_module.py +0 -0
  460. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_inter_module_1.cpp +0 -0
  461. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_inter_module_2.cpp +0 -0
  462. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_intrusive.cpp +0 -0
  463. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_intrusive.py +0 -0
  464. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_intrusive_impl.cpp +0 -0
  465. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_issue.cpp +0 -0
  466. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_issue.py +0 -0
  467. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_jax.cpp +0 -0
  468. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_jax.py +0 -0
  469. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_jax_ext.pyi.ref +0 -0
  470. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_make_iterator.cpp +0 -0
  471. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_make_iterator.py +0 -0
  472. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_make_iterator_ext.pyi.ref +0 -0
  473. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_ndarray.cpp +0 -0
  474. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_ndarray.py +0 -0
  475. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_ndarray_ext.pyi.ref +0 -0
  476. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_prefix_module/__init__.py +0 -0
  477. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_prefix_module/__init__.pyi.ref +0 -0
  478. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_prefix_module/prefix.py +0 -0
  479. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_prefix_module/prefix.pyi.ref +0 -0
  480. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_prefix_module/prefixabc.py +0 -0
  481. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_prefix_module/prefixabc.pyi.ref +0 -0
  482. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_specialization.py +0 -0
  483. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl.cpp +0 -0
  484. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl.py +0 -0
  485. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl_bind_map.cpp +0 -0
  486. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl_bind_map.py +0 -0
  487. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl_bind_vector.cpp +0 -0
  488. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl_bind_vector.py +0 -0
  489. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stl_ext.pyi.ref +0 -0
  490. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stubgen.py +0 -0
  491. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_stubs.py +0 -0
  492. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_tensorflow.cpp +0 -0
  493. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_tensorflow.py +0 -0
  494. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_tensorflow_ext.pyi.ref +0 -0
  495. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_thread.cpp +0 -0
  496. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_thread.py +0 -0
  497. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_typing.cpp +0 -0
  498. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_typing.py +0 -0
  499. {slikui_python-0.4.1 → slikui_python-0.6.0}/third_party/nanobind/tests/test_typing_ext.pyi.ref +0 -0
  500. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/check_headers.sh +0 -0
  501. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/embed_font.py +0 -0
  502. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/examples_gif.py +0 -0
  503. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/extract_snippets.py +0 -0
  504. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/gallery_capture.cpp +0 -0
  505. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/gen_stubs.py +0 -0
  506. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/ppm2png.py +0 -0
  507. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/snapshot.cpp +0 -0
  508. {slikui_python-0.4.1 → slikui_python-0.6.0}/tools/stub_patterns.txt +0 -0
@@ -0,0 +1,522 @@
1
+ # Changelog
2
+
3
+ ## 0.6.0
4
+
5
+ ### Added
6
+
7
+ - **Python subclasses of `Panel`, `Column` and `Row`** dispatch overrides
8
+ (`on_event`, `paint`, `measure`, ...) like `slikui.Widget` subclasses, and
9
+ `super()` reaches the built-in behaviour. A `Panel` subclass used as a popup
10
+ root now receives `PopupClosed`. `Column()` / `Row()` gain constructors for
11
+ this.
12
+ - `FileBrowser::set_filters(globs)` (case-insensitive `*` / `?`; folders
13
+ always listed), `set_show_hidden(bool)`, `commit()` and `list_scroll()`.
14
+ - `FileBrowser::Mode::Folder`: pick a directory. Only folders are listed,
15
+ there is no name field, and Choose picks the selected folder (or the one
16
+ being shown). `FileBrowser::mode()`.
17
+ - `IconButton::set_icon_painter(fn(list, area, color))` draws a custom
18
+ icon in the tint a built-in would get. `set_icon` switches back. Python
19
+ also gains `slikui.paint_icon(list, icon, area, color)` and
20
+ `slikui.icon_name(icon)`.
21
+ - `Context::hold_while_open(widget, std::shared_ptr<void>)`: keep a token
22
+ alive while a popup or dialog is open; it is released after the widget
23
+ closes.
24
+ - **Per-part tooltips**: `Widget::tooltip_at(pos)` (overridable, Python
25
+ too) gives the tooltip text for the pointer position. `TreeView::Row`
26
+ gains `tooltip`, and `TreeView`, `ListView` and `Segmented` show the full
27
+ text of a row, item or segment drawn cut off with "...".
28
+ `Context::tooltip_text()` returns the text showing now.
29
+ - `ListView::on_activate(fn)`: double-click on an item.
30
+ - **Python: replayable `DrawList`s.** `slikui.DrawList()` can be created
31
+ from Python. `append(other, offset)` replays a recorded list in one call,
32
+ and `extend(array, offset)` appends from a `DRAWCMD_DTYPE` array. Both
33
+ check the commands and reject unbalanced clips. `reserve(n)` and
34
+ `clip_balanced` are also new. C++ gains
35
+ `DrawList::append(const DrawCmd*, n, offset)`, and `append`'s offset now
36
+ defaults to zero.
37
+ - `PaintEnv::visible_rect` (Python: `env.visible_rect`): the part of the
38
+ frame a widget's drawing can show through, narrowed by every enclosing
39
+ clip, so `paint()` can skip off-screen parts.
40
+ - `TreeView::on_toggle(fn(index, open))` for arrow clicks,
41
+ `Row::expanded` (initial state, default open) and
42
+ `set_natural_width(w)`.
43
+ - `Label::set_align(TextAlign)` / `set_valign(TextVAlign)` (Python: enum
44
+ or `"center"` / `"middle"` / ...) place the text inside a label bigger
45
+ than its text. Each wrapped line is aligned on its own. Default left/top
46
+ as before.
47
+ - `Segmented::set_fill(bool)`: span the parent (Column width, Row leftover)
48
+ with segments sharing the width evenly; `segment_rect(i)`.
49
+ - `MenuBar::set_background(Color)`.
50
+ - `TextField::scroll_x()`.
51
+ - `is_text_key(Key)`: whether a key types a character (letters, digits,
52
+ punctuation, Space, keypad).
53
+ - Python: `TextArea.text` property; until now the text could only be read
54
+ through `on_change`.
55
+ - Keypad keys: `Key::Kp0`-`Kp9`, `KpDecimal`, `KpDivide`, `KpMultiply`,
56
+ `KpSubtract`, `KpAdd`, `KpEqual`, mapped by the GLFW and SDL backends (C++
57
+ and Python) and labelled `Num0`, `Num+`, ... by `shortcut_label`.
58
+ - `Widget::destroy_hook`: a process-wide callback run from `~Widget` (null by
59
+ default; the Python bindings use it).
60
+ - **130 new built-in icons** (156 in all), covering navigation (`ArrowLeft` -
61
+ `ArrowDown`, `Home`, `Menu`, `MoreHorizontal`, `MoreVertical`,
62
+ `ExternalLink`, `Maximize`, `Minimize`), editing (`Edit`, `Cut`, `Paste`,
63
+ `Undo`, `Redo`, `Link`, `Filter`, `Sort`, `DragHandle`), files (`File`,
64
+ `FolderOpen`, `Download`, `Upload`, `Share`, `Print`), view (`ZoomIn`,
65
+ `ZoomOut`, `List`, `EyeOff`, `Image`, `Sidebar`, `Layers`), status
66
+ (`Info`, `Warning`, `Error`, `Help`, `Bell`), marking (`Star`, `Heart`,
67
+ `Pin`, `Bookmark`, `Flag`, `Tag`), media (`FastForward`, `Rewind`,
68
+ `Repeat`, `Shuffle`, `Volume`, `Mute`, `Mic`, `Music`) and misc (`Unlock`,
69
+ `Moon`, `User`, `Mail`, `Calendar`, `Clock`, `Globe`, `Power`, `Code`,
70
+ `Terminal`) and 3D view manipulation (`Pan`, `RotateX`, `RotateY`,
71
+ `RotateZ`, `RotateFree`; zoom uses `ZoomIn` / `ZoomOut` / `Search`) and
72
+ 3D editing (`Vertex`, `Edge`, `Face` selection modes; `Cube`, `Sphere`,
73
+ `Cylinder`, `Cone`, `Plane` primitives; `Mesh`, `Wireframe`, `Solid`,
74
+ `Texture`, `Material`, `UV`, `Normal`; `Modifier`, `Light`, `Bone`,
75
+ `Keyframe`, `Curve`, `Extrude`, `Scale`, `Axes`, `Snap`, `Pivot`,
76
+ `Hierarchy`, `Torus`), painting (`Brush`, `Eraser`, `Fill`, `Eyedropper`,
77
+ `Airbrush`, `Select`, `Lasso`, `MagicWand`, `Crop`, `Gradient`, `Palette`,
78
+ `Text`, `Stamp`, `Blur`) and vector drawing (`Pointer`, `DirectSelect`,
79
+ `Pen`, `Rectangle`, `Ellipse`, `Polygon`, `Line`, `Union`, `Subtract`,
80
+ `Intersect`, `AlignLeft` / `AlignCenter` / `AlignRight` / `AlignTop` /
81
+ `AlignMiddle` / `AlignBottom`, `Group`, `Ungroup`, `BringForward`,
82
+ `SendBackward`, `FlipH`, `FlipV`). Existing enum values are unchanged. `icon_count` gives the
83
+ size of the set, and the docs show all icons in one image
84
+ (`docs/images/icons.png`).
85
+
86
+ ### Changed
87
+
88
+ - `Icon::Folder` and `Icon::Trash` are redrawn to be easier to recognise: a
89
+ single folder outline with its tab, and a lidded bin with a handle.
90
+ - **`MenuBar` no longer fills `theme.surface`**: like `Toolbar`, it is
91
+ transparent by default, so the window background shows (in the Light theme
92
+ it used to be a white strip). `set_background` restores a fill.
93
+ - **`FileBrowser`: a single click on a folder selects it; double-click enters
94
+ it** (it used to enter on one click). Double-clicking a file picks it, and
95
+ Enter in the name field or Open with a folder selected acts likewise.
96
+ Dotfiles are hidden by default.
97
+ - Python: defining a protocol method (`on_event`, `paint`, `measure`, ...) on
98
+ a subclass of a built-in other than `Widget` / `Panel` / `Column` / `Row`
99
+ raises `TypeError` at class creation; such overrides were silently ignored.
100
+ - Python: using a wrapper of a built-in widget after the tree destroyed it
101
+ (`remove`, `clear_children`, `App.close()`) raises `TypeError` with a
102
+ nanobind `RuntimeWarning`, instead of reading freed memory.
103
+ - **Python: `Context.tick`, `render` and `handle` release the GIL** while the
104
+ C++ work runs, so other Python threads (audio callbacks, workers) keep
105
+ running during a frame. Python overrides, callbacks and Python render sinks
106
+ take the GIL back when called. Because the GIL no longer serialises other
107
+ threads against the frame, touching widgets from a non-UI thread is now a
108
+ real data race. It was never supported.
109
+ - Python: a widget passed to `push_popup`, `open_context_menu` or
110
+ `open_dialog` is kept alive by the context while it is open. A temporary
111
+ (`ctx.push_popup(Panel(), ...)`) used to be freed at once, and the next
112
+ frame read freed memory. `set_context_menu` still borrows (keep the
113
+ Menu alive), and now accepts `None` to clear.
114
+ - Python: `Context.set_cursor_host` takes a typed callable,
115
+ `Callable[[Cursor], None]`.
116
+ - The vendored nanobind carries a small patch (`nb_inst_forget_refs`); see
117
+ `third_party/nanobind/SLIKUI_PATCHES.md`.
118
+
119
+ ### Fixed
120
+
121
+ - **`TreeView` cost scales with the rows on screen.** It used to draw every
122
+ visible row each frame and measure every label (collapsed or not) on
123
+ `set_rows`. A 40k-row tree's first frame took about 10 s and now takes
124
+ about 20 ms. Paint skips rows outside `visible_rect`, and labels are
125
+ measured lazily as rows become visible. The natural width is now the
126
+ widest *visible* row, so it can change when rows are expanded or
127
+ collapsed. `ListView` and `Table` also skip off-screen rows when
128
+ painting.
129
+ - Text measuring slowed down linearly with the number of distinct
130
+ strings: once the layout cache was full, every new string rescanned it.
131
+ New strings now cost the same no matter how many have been seen.
132
+ - A focused `TextField`, `SearchBox`, `TextArea` or a `DragValue` being
133
+ typed into now consumes the `KeyPress` of the characters it types. Before,
134
+ the press bubbled up, so app shortcuts handled in an ancestor's
135
+ `on_event` fired while the user typed (typing "g" ran a G shortcut).
136
+ Ctrl/Cmd chords and keys like the F-keys still bubble.
137
+ - A showing tooltip ignored `set_tooltip` (new text or `""`) until the
138
+ pointer left the widget. It now swaps or closes at once, and moving
139
+ between rows of a list swaps per-row tips without the hover delay.
140
+ Closing a tooltip no longer closes the app's other popups with it.
141
+ - `TextField` and `TextArea` typed two spaces per Space keystroke: one from
142
+ the `KeyPress` and one from the `TextInput` the backends also send. Space
143
+ is now inserted from `TextInput` only.
144
+ - `TextField` / `SearchBox`: text is clipped to the field. A long placeholder
145
+ elides with an ellipsis instead of drawing over neighbouring widgets, and typed text
146
+ wider than the field scrolls horizontally to keep the caret visible.
147
+ Password fields place the caret and selection by the shown `*` glyphs.
148
+ - `Slider` and `Switch` no longer animate from the minimum / off position to
149
+ their initial state: state set before the first tick snaps (a `tick(dt=0)`
150
+ snapshot shows the real value). Later changes still animate.
151
+ - `FileBrowser` in a big folder grew past the window and hid the name field
152
+ and Open/Cancel; the list now scrolls inside a dialog that fits the window.
153
+ `list().set_selected(i)` now updates `selection()`.
154
+ - Python: `.children` (and any other widget-returning call) could hand back a
155
+ stale wrapper of a different type when a new widget reused a destroyed
156
+ one's address.
157
+ - `Context::handle_event` raised a `-Wswitch` warning on Clang/GCC (no
158
+ `PopupClosed` case). No behaviour change.
159
+ - The `FileBrowser` tests failed on Windows: they compared paths as strings
160
+ with `/` separators against native `\` paths, and used a hard-coded `/tmp`.
161
+ - The `DrawList` replay speed test could fail on busy CI runners: it now
162
+ takes the best of several runs and asks for a 3x (not 10x) speedup.
163
+
164
+ ## 0.5.0
165
+
166
+ ### Added
167
+
168
+ - **Custom widgets draw text** (C++ and Python): `env.text(pos, str, opts)`
169
+ and `env.text_in(rect, str, opts)` draw in the theme font, size and color
170
+ unless told otherwise, and return the rect the text occupies. Options
171
+ (`TextOpts`) cover font family, size, color, bold, italic, underline,
172
+ strikethrough, alignment, vertical anchor (top/middle/baseline/bottom),
173
+ wrapping and overflow (clip/ellipsis). Python takes them as keyword
174
+ arguments. Layouts are cached by the context, so per-frame calls are cheap.
175
+ - `Context::text_size`, `text_metrics` and `text_layout` (a kept
176
+ `TextBlock` with `hit_test`, `caret_rect` and `selection_rects`, drawn with
177
+ `env.draw`).
178
+ - **Font families**: `Context::add_font(family, path, style, face)` /
179
+ `add_font_memory`, with roles `"body"`, `"heading"`, `"mono"` and custom
180
+ names. Missing bold/italic faces are synthesized. `.ttc` collections load
181
+ any face (`face = -1` picks it by style). `find_system_font_face(role,
182
+ style)` finds installed sans/mono faces.
183
+ - `Label::set_bold`, `set_italic`, `set_underline`, `set_strike` and
184
+ `set_font(family)`.
185
+ - `utf8_encode` / `utf8_append` in `core/utf8.hpp`.
186
+ - Text examples: `python -m slikui.examples.text` and its C++ twin
187
+ `examples/07_text` (Label styles, font families, text-drawing custom
188
+ widgets, drag-to-select on a `TextBlock`).
189
+
190
+ - `Widget::theme_changed()` (Python: override `theme_changed`): called on
191
+ every widget on the tick after `Context::theme()` changed - UI scale,
192
+ preset, palette or metrics. `Theme` gains `operator==`.
193
+ - `Context::toast_count()` / `toast(i)` (Python: `ctx.toast_count`,
194
+ `ctx.toast(i)`); `push_toast` returns the toast widget.
195
+ - **`Widget::remove(child)` / `clear_children()`** (C++ and Python): destroy a
196
+ subtree. Safe from event handlers and callbacks - a widget can remove
197
+ itself in its own `on_click`; focus, hover, capture, press targets and
198
+ popup anchors are dropped at once and destruction waits for the running
199
+ `handle()`/`tick()`. `ScrollArea` forwards both to its content.
200
+ - **`Widget::set_expand(bool)`** (builder: `expand=True`): any widget shares
201
+ leftover main-axis space like `Spacer` - e.g. a `ScrollArea` or `Splitter`
202
+ filling the rest of a `Column`.
203
+ - **ScrollArea scroll API**: `scroll_y()`, `max_scroll()`, `set_scroll_y`,
204
+ `scroll_to_top`, `scroll_to_bottom`, `scroll_to(rect)` /
205
+ `scroll_to(widget)`; `TreeView::row_rect(i)` and `ListView::row_rect(i)`
206
+ to reveal a row.
207
+ - `Key::Equal`, `LeftBracket`, `RightBracket`, `Backslash`, `Semicolon`,
208
+ `Grave` (appended; existing values unchanged), mapped by the GLFW and SDL
209
+ backends (C++ and Python). `shortcut_label` now names punctuation keys
210
+ (`Ctrl+=`, `Ctrl+]`, ...) and `Insert`.
211
+ - Python builder: custom widget classes receive the kwargs their `__init__`
212
+ names (`row.add(Knob, value=3, tooltip="t")` calls `Knob(value=3)`, then
213
+ `set_tooltip`); previously every kwarg was treated as a setter.
214
+ - `Color::from_float(r, g, b, a = 1)` (Python `Color.from_float`) and
215
+ Python `Constraints(min, max)`.
216
+ - Python `Container.set_padding(left, top, right, bottom)` (per side).
217
+ - **`Event::Type::PopupClosed`**: a popup's (or dialog's) root widget is told
218
+ when it leaves the screen, whatever closed it - click outside, Escape,
219
+ focus loss, a menu action, `close_popups`/`close_dialog`. Delivered after
220
+ the closing event (reopening from the handler is safe) and skipped when the
221
+ popup was reopened within the same pass. Owned popups are destroyed only
222
+ after their notification.
223
+ - `Menu::on_close(fn)` (Python `Menu.on_close`), pairing `on_open`. Closed
224
+ menus also drop their rows' hover highlight, so a reopened menu doesn't
225
+ flash the last-hovered row.
226
+
227
+ ### Changed
228
+
229
+ - **Toasts are their own passive layer** (above popups, below dialogs) instead
230
+ of entries on the popup stack. They are never hit-tested, so clicks, hover
231
+ and wheel reach whatever is under them, and they neither close nor are
232
+ closed by popups (a press outside a menu, Escape, focus loss). Several
233
+ toasts stack upward from the bottom-right corner, 12 px from the edges.
234
+ `popup_count()` no longer counts toasts - use `toast_count()`.
235
+ - `Segmented` fits its frame: segments keep their natural width when there is
236
+ room; otherwise short labels stay whole and the long ones shrink, eliding
237
+ with "...".
238
+ - `TreeView` and `ListView` elide row labels that don't fit the frame.
239
+ - **Tighter `ScrollArea` spacing**: content sits 2 px inside the viewport
240
+ (was 8) and 6 px from the scrollbar thumb (was 12), so scrolled content
241
+ lines up with its siblings and highlights run close to the bar.
242
+ `set_content_insets(left, right)` restores more room where wanted.
243
+
244
+ ### Fixed
245
+
246
+ - **`Dialog::on_close` fires for every way a dialog closes**: Escape and
247
+ `Context::close_dialog` skipped it (only the X button / `request_close`
248
+ fired it). It now runs once, after the closing event.
249
+ - **An open toast no longer swallows clicks**: the first press anywhere
250
+ outside it closed the toast and was dropped (the press never reached its
251
+ widget, so no Click either).
252
+ - **Text widgets follow runtime UI-scale changes** (zoom): Button, Checkbox,
253
+ Radio, Slider, Segmented, Tabs, Dropdown, Expander, DragValue, TreeView,
254
+ ListView, Table, Plot, LogView, Menu/MenuBar, Toast and tooltips kept text
255
+ laid out at the scale of their first layout, so their sizes and text
256
+ drifted after a zoom.
257
+ - `Segmented` text no longer runs past the control (and its click targets
258
+ past its frame) when it is narrower than its labels.
259
+ - `TreeView` / `ListView` row text no longer runs past the widget; `TreeView`
260
+ no longer under-measures its width at UI scales above 1 (the indent part
261
+ was divided by the scale).
262
+ - **Glyphs no longer vanish when the font atlas fills**: the atlas grows by
263
+ 512x512 pages (each its own texture) instead of silently dropping glyphs.
264
+ - Font sizes that differed by less than 1 px (e.g. 15.2 and 15.6) shared one
265
+ glyph raster; the cache now keys on 1/4-px size steps. Text at fractional
266
+ HiDPI scales can shift by up to 1/8 px as a result.
267
+ - `utf8_next` rejects overlong encodings, surrogates, values above U+10FFFF
268
+ and sequences truncated at the end of the string (all decode as U+FFFD).
269
+ - **Single-line `Label`s no longer wrap at high UI scale** (about 2.5x and
270
+ up): `measure` reported the ink width, but wrapping decides on the advance
271
+ width, which is several raster px wider at large sizes, so the last word
272
+ dropped onto a second line outside the label's frame.
273
+ - **`TreeView::set_rows` re-labels rows**: after the first layout, rows kept
274
+ their old text, and growing the row count read past the end of the label
275
+ cache.
276
+ - `TreeView` chevrons point down when a row is expanded (both states drew
277
+ `>`).
278
+ - **`CrossMode::Center` centers every child**: children whose
279
+ `stretch_cross()` is false (Button, Switch, most custom widgets) were
280
+ top-aligned regardless of the cross mode.
281
+ - **Children added to an attached widget join its context immediately.**
282
+ Widgets that build children lazily (e.g. in `measure`) work inside popups
283
+ and dialogs - their labels never drew there - and draw on their first frame
284
+ everywhere. Popups and dialogs are also re-attached every tick, like the
285
+ root tree.
286
+ - `Menu` items and `MenuBar` titles clear their hover highlight when the
287
+ pointer leaves (several items could show hover at once).
288
+ - **Menu rows share the menu's width**: each item used to be only as wide as
289
+ its own text, so hover highlights had different widths and shortcut hints
290
+ didn't line up. Labels sit 12 px in, keeping the 32 px checkmark gutter
291
+ only in menus that have a checkable item; a hint on a submenu row no
292
+ longer overlaps its chevron.
293
+ - The software renderers (`software::Sink`, `CanvasSink`) clip lines: lines
294
+ bled a pixel past clip edges, and a line entirely outside the clip could
295
+ paint a full row or column along its edge at fractional scales.
296
+
297
+ ## 0.4.1
298
+
299
+ ### Fixed
300
+
301
+ - **Clipped content is no longer pickable.** Hit-testing now honors
302
+ `clip_rect()`: widgets scrolled out of a `ScrollArea` (e.g. behind a tab
303
+ header) no longer steal clicks, hover, tooltips or context menus from what
304
+ is actually drawn there.
305
+ - **Tab focus scrolls into view.** Moving keyboard focus with Tab/Shift+Tab
306
+ scrolls every enclosing `ScrollArea` so the focused widget is visible.
307
+ - **Hover highlights clear on leave** in `ListView`, `Tabs`, `TreeView`,
308
+ `Table`, `Segmented` and the `Splitter` divider.
309
+ - **`Splitter` clips each pane**: content overflowing a squeezed pane no longer
310
+ paints or picks over the divider or the other pane.
311
+
312
+ ### Added
313
+
314
+ - `Widget::child_clip_rect(child)` (per-child clip, honored by painting and
315
+ hit-testing) and `Widget::scroll_into_view(rect)` hooks.
316
+
317
+ ### Removed
318
+
319
+ - `Widget::dispatch(Event)`: an unused broadcast helper that ignored pointer
320
+ position and clipping. Route events through `Context::handle`.
321
+
322
+ ## 0.4.0
323
+
324
+ Added OpenGL renderer support in python. Batcher collects draw calls and is
325
+ reused across most renderers. Split input from windowing with GLFW. Added
326
+ SDL3 support. Miscellaneous bug fixes.
327
+
328
+ ### Added
329
+
330
+ - **`IRenderSink::release(id)`** (optional, default no-op): called when an
331
+ `Image`, `ImageView` or `CompareView` is destroyed, so sinks can free its
332
+ texture. Previously every image widget leaked its texture for the life of
333
+ the sink. The software and OpenGL sinks implement it (OpenGL defers the
334
+ `glDeleteTextures` to the next `render()`).
335
+ - **`Context::release_texture(id)`** and **`Context::invalidate_textures()`**
336
+ (re-upload the font atlas and every live widget texture after a sink lost
337
+ them).
338
+ - Python: **`DrawList.as_array()`** - zero-copy read-only structured view of
339
+ the frame's commands (`slikui.DRAWCMD_DTYPE`), ~18x cheaper than iterating
340
+ `DrawCmd` objects. **`RenderSink.release()`** is overridable;
341
+ `Sink.texture_count` / `CanvasSink.texture_count` for leak checks.
342
+ - **`GpuBatcher`** (`render/batcher.hpp`, API-agnostic): DrawList -> one
343
+ 20-float instance per drawable command + scissor/texture batches, with
344
+ reference GLSL 330 shaders matching the software rasterizer's coverage.
345
+ - Python: **`slikui.GLSink`** (PyOpenGL `RenderSink` on `GpuBatcher`) and
346
+ **`slikui.GlApp`** (App-like shell over it): the UI draws straight into
347
+ your GL context. ~0.5 ms/frame on the gallery vs ~3 ms for the C++
348
+ software sink (~55 ms for `CanvasSink`). Also `slikui.GpuBatcher`,
349
+ `GpuKind`, `GPU_VERTEX_SHADER` / `GPU_FRAGMENT_SHADER`,
350
+ `read_framebuffer()`.
351
+ - Python: **`slikui.ModernGLSink`** - the same sink over a
352
+ `moderngl.Context` (~0.36 ms/frame on the gallery).
353
+ - **GLFW input without the window**: `backends/glfw/glfw_input.hpp` -
354
+ event builders (`mouse_button_event`, `cursor_pos_event`, `key_event`,
355
+ ...), `map_button`, `GlfwInput` (installs slikui's callbacks on YOUR
356
+ `GLFWwindow*`, chaining to existing ones and restoring them on
357
+ destruction, without touching the user pointer) and `attach_services`
358
+ (clipboard + cursors). `GlfwWindow` is now window creation on top of it
359
+ (same API, plus `input()`). Python twin: `slikui.glfw_input` /
360
+ `slikui.GlfwInput`.
361
+ - **SDL3 backend** (`backends/sdl/`, SDL 3.2+), same layering as GLFW:
362
+ `sdl_input.hpp` - `translate()` (SDL_Event -> slikui events), `SdlInput`
363
+ (one window's events, text input, queue/dispatch), `attach_services`;
364
+ `sdl_window.hpp` - `SdlWindow` (window + GL 3.3 context + input).
365
+ Python: `slikui.sdl_input` / `slikui.SdlInput` (PySDL3). New
366
+ `examples/06_sdl_opengl`, `python/examples/sdl_demo.py`; tests
367
+ `slikui_sdl_input` (SDL's real event queue, dummy video driver) and
368
+ `slikui_sdl_gl_parity`.
369
+ - **`Context::wants_mouse(pos)` / `wants_keyboard()`** for hosts that share
370
+ input with their own scene, and `Widget::mouse_transparent()` (true for
371
+ `Column`, `Row`, `Spacer`; overridable, also from Python).
372
+ `python/examples/glfw_demo.py` uses them instead of its own panel test,
373
+ so its hint box now counts as UI.
374
+ - `tests/gl_parity.cpp` (ctest `slikui_gl_parity`, built when GLFW is
375
+ found; skips without a display): `OpenglSink` vs software sink offscreen,
376
+ 2/255 per channel.
377
+ - `python/benchmarks/bench_render.py`: ms/frame per sink on the gallery.
378
+
379
+ ### Changed
380
+
381
+ - **`shortcut_label` is plain ASCII on every platform**: "Cmd+Shift+S",
382
+ "Ctrl+S", "Alt+Left" (Apple used the symbol form with the command,
383
+ option and arrow glyphs). Digit keys now label as "Ctrl+1".
384
+ `fit_shortcut_label` always spells such symbols out (the font argument is
385
+ unused); menu hints written with them render as text.
386
+ - **The repository is ASCII-only** - sources, tests, examples, docs and
387
+ generated files (`dist/slikui.hpp`, the type stub). Example and showcase
388
+ labels/transcripts use "-", "->", "..." instead of typographic symbols.
389
+ `python/tests/test_ascii.py` enforces it.
390
+ - **`OpenglSink` rewritten on `GpuBatcher`**: instanced quads (80 bytes per
391
+ command instead of 6 x 68-byte vertices), one draw per batch, blending
392
+ via `glBlendFuncSeparate` so destination alpha is correct when rendering
393
+ into a transparent FBO. RGBA images now sample `GL_NEAREST` (as the
394
+ software sink does; was `GL_LINEAR`). New `shutdown()`; disables
395
+ depth/cull/stencil in `render()`.
396
+ - Python `--window` examples and `python/examples/glfw_demo.py` draw the UI
397
+ with `GlApp`; `--software` keeps the CPU rasterizer + texture blit.
398
+ - Python: **`TexUpload.pixels` is a zero-copy read-only ndarray view**
399
+ (`(H, W)` uint8 for Alpha8, `(H, W, 4)` for Rgba8) instead of `bytes`.
400
+ `bytes(up.pixels)` still works; the view is valid only during `upload()`.
401
+
402
+ ### Fixes
403
+
404
+ - **Software sink (and `CanvasSink`): glyph/image quads cover pixels by
405
+ center.** They looped from `int(x)`/`int(y)`, so a fractionally placed
406
+ glyph also painted the row/column whose center lies outside it, sampling
407
+ past its atlas cell - faint dots from the neighbouring glyph above some
408
+ letters (e.g. G, C). Text now matches the GPU sinks to 2/255. Text pixels
409
+ at glyph edges shift slightly in software output.
410
+ - **GLFW mouse buttons: right and middle were swapped.** GLFW numbers them
411
+ LEFT=0, RIGHT=1, MIDDLE=2; slikui uses MouseLeft=0, MouseMiddle=1,
412
+ MouseRight=2. `GlfwWindow` passed GLFW's number through unmapped, as did
413
+ the Python `--window` host and `python/examples/showcase.py` - a right
414
+ click arrived as a middle click and vice versa, so context menus opened
415
+ on middle-click and never on right-click. `python/examples/glfw_demo.py` was already correct.
416
+ - `GlfwWindow` dropped the modifier state of mouse presses/releases
417
+ (Shift-click arrived without Shift).
418
+ - `python/examples/showcase.py` only forwarded a handful of keys and only
419
+ vertical scroll; it now uses `GlfwInput` like the other hosts.
420
+ - Images inside a `Dialog` are now uploaded (dialogs were skipped when
421
+ collecting texture uploads, so they drew nothing).
422
+ - A texture widget moved to another `Context` re-uploads its pixels under
423
+ its new id (it was never marked dirty, so it drew nothing).
424
+ - `OpenglSink` drew nothing for zero-length lines; the software sink draws
425
+ a dot, and now both do.
426
+ - `python/examples/glfw_demo.py` (software UI path): translucent panels
427
+ accumulated alpha frame over frame until opaque (the UI target was never
428
+ cleared), and the blit multiplied alpha twice.
429
+
430
+ ## 0.3.0
431
+
432
+ The input model now delivers what custom widgets expect, and the Python
433
+ package documents itself.
434
+
435
+ ### Behavior changes (C++ and Python)
436
+
437
+ - **Every mouse button reaches widgets.** Middle and right presses are now
438
+ dispatched (previously only left presses were; right *releases* already
439
+ were, unpaired). Built-in widgets act on the left button only, so a
440
+ right- or middle-click no longer activates buttons, drags sliders, etc.
441
+ A right press on a widget with a context menu still opens the menu; that
442
+ press and its release are not delivered.
443
+ - **`KeyRelease` is dispatched** to the focused widget (else the hovered
444
+ one), only for presses the tree received - no orphan releases for Tab,
445
+ Escape or shortcut chords.
446
+ - **Key presses with nothing focused** go to the hovered widget instead of
447
+ hit-testing the event's unset position.
448
+ - **`FocusLost` reaches widgets**: the widget losing focus receives it, and
449
+ so does the mouse-capture widget when the app loses focus (cancel drags
450
+ there). Previously it only reset Context state.
451
+ - **`Button` and the toolbar's `IconButton` fire on `Click`** and un-hover /
452
+ disarm on `MouseLeave` (previously the hover highlight and pressed state
453
+ could stick after the pointer left).
454
+ - **Shift+Tab** now moves focus backwards (it re-selected the current
455
+ widget).
456
+
457
+ ### Fixes
458
+
459
+ - **Text at 1x no longer picks up slivers of neighboring glyphs.** The
460
+ software renderers (C++ and Python) sampled glyphs half a texel off, which
461
+ also softened all text slightly; they now sample at texel centers like
462
+ the OpenGL backend.
463
+ - **Text laid out during paint shows on its first frame.** The font atlas
464
+ was uploaded before painting, so glyphs first needed in `paint` (the
465
+ Slider's value, TextField metrics) were missing for a frame, and a
466
+ Slider's value text vanished on frames that showed new digits.
467
+ - **Shortcut hints never show missing-glyph boxes.** Menus spell out any
468
+ symbol the font lacks (`CtrlShiftS` -> `Ctrl+Shift+S`, `<-` -> `Left`).
469
+ - Software renderer: RGBA image sampling clamped the row against the
470
+ texture's width instead of its height.
471
+
472
+ ### New
473
+
474
+ - Event types `Click`, `DoubleClick`, `MouseEnter`, `MouseLeave`,
475
+ `FocusGained` (appended: existing enum values are unchanged).
476
+ - `Event::clicks` - consecutive-click count on press/release/click
477
+ (`kMultiClickTime` 0.4 s on the tick clock, `kMultiClickSlop` 4 px);
478
+ `Event::repeat` for auto-repeat key presses.
479
+ - `Key::Num0` ... `Key::Num9` (appended).
480
+ - `Widget::paint_over` - drawn after the children, for decorations.
481
+ - Destroyed widgets are dropped from the Context's focus / hover / capture
482
+ / press state (no dispatch into freed widgets); widgets that outlive their
483
+ Context are safe to destroy. `Context` has a destructor and is
484
+ non-copyable.
485
+ - `Context::hovered()`.
486
+ - `Font::has_glyph(cp)`; `fit_shortcut_label(font, label)` and
487
+ `shortcut_label(key, mods, font)`.
488
+ - `TextField`: double-click selects a word, triple-click selects all.
489
+ - GLFW backend: digit keys; auto-repeat is a press with `repeat` set (it
490
+ was translated as a release); mouse move and scroll events carry the
491
+ current modifiers.
492
+
493
+ ### Python
494
+
495
+ - Mouse capture: `Context.capture_mouse(w)` / `release_mouse(w)`;
496
+ `Widget.context`, `Widget.focused`, `Widget.request_focus()`,
497
+ `Widget.set_cursor(...)`; `Context.set_focus`, `.focused`, `.hovered`,
498
+ `.root`.
499
+ - Python overrides for `paint_over`, `clip_rect` and `attached`.
500
+ - `Event.clicks`, `.repeat`, `.super`, `.shortcut_mod`;
501
+ `Event.MULTI_CLICK_TIME` / `MULTI_CLICK_SLOP`; `key_press(..., repeat=)`.
502
+ - **Custom widgets can keep references to their own children**
503
+ (`self.slider = self.add(slikui.Slider)`, callbacks capturing them)
504
+ without leaking. Widget-returning methods on widgets no longer keep
505
+ their host's wrapper alive (a link the garbage collector could not
506
+ see); wrappers are views, valid until the tree drops the widget.
507
+ - `shortcut_label(key, mods, context)` spells out symbols the context's
508
+ font lacks.
509
+ - Every example file runs when copied out of the package, and every
510
+ snippet the docs quote is self-contained (imports included).
511
+ - `slikui.Event` is exported (it was listed in `__all__` but missing, which
512
+ broke `from slikui import *`).
513
+ - `EventType` is arithmetic (`int(e.type)` works); readable `repr()` for
514
+ `Event`, `Rect`, `Vec2`, `Size`; `Label.text` and `Button.text` getters.
515
+ - Type stubs: `slikui/_slikui.pyi` ships in the wheel (generated by
516
+ `tools/gen_stubs.py`, drift-checked by the test suite). Docstrings on the
517
+ `Widget` protocol methods describe event delivery.
518
+ - Shipped examples: new `controls`, `keyboard`, `renderer` and `window`;
519
+ `events` and `paint` rewritten for the new model.
520
+ `python -m slikui.examples --where` and `--contract` (the event contract,
521
+ measured live); a `slikui-examples` command. The wheel CI runs every
522
+ example's smoke pass.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: slikui-python
3
- Version: 0.4.1
3
+ Version: 0.6.0
4
4
  Summary: Python bindings for slikui - a header-only C++20 UI library
5
5
  Author: slikui contributors
6
6
  License-Expression: MIT
@@ -57,7 +57,7 @@ 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/)):
60
+ Nine examples ship in the wheel ([gallery](https://jamesgregson.github.io/slikui/guide/examples/)):
61
61
 
62
62
  ```sh
63
63
  pip install "slikui-python[demo]" # + glfw/PyOpenGL for live windows
@@ -99,7 +99,7 @@ cmake --build build -j
99
99
  ctest --test-dir build # golden-image pixel checks included
100
100
  ```
101
101
 
102
- Six examples (`01_hello` ... `05_showcase`) and the Python twins -
102
+ The C++ examples (`01_hello` ... `07_text`) and the Python twins -
103
103
  [Development](docs/development.md) has the full tour, plus how to regenerate
104
104
  the docs images, amalgamate the header, and cut a release.
105
105