nuiitivet 0.1.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 (394) hide show
  1. nuiitivet-0.1.0/LICENSE +202 -0
  2. nuiitivet-0.1.0/LICENSES/material-color-utilities-LICENSE.txt +192 -0
  3. nuiitivet-0.1.0/LICENSES/pyglet-LICENSE.txt +30 -0
  4. nuiitivet-0.1.0/LICENSES/pyopengl-LICENSE.txt +233 -0
  5. nuiitivet-0.1.0/LICENSES/skia-python-LICENSE.txt +29 -0
  6. nuiitivet-0.1.0/PKG-INFO +489 -0
  7. nuiitivet-0.1.0/README.md +456 -0
  8. nuiitivet-0.1.0/pyproject.toml +67 -0
  9. nuiitivet-0.1.0/setup.cfg +4 -0
  10. nuiitivet-0.1.0/src/nuiitivet/__init__.py +50 -0
  11. nuiitivet-0.1.0/src/nuiitivet/animation/__init__.py +15 -0
  12. nuiitivet-0.1.0/src/nuiitivet/animation/animation.py +124 -0
  13. nuiitivet-0.1.0/src/nuiitivet/animation/easing.py +18 -0
  14. nuiitivet-0.1.0/src/nuiitivet/animation/manager.py +210 -0
  15. nuiitivet-0.1.0/src/nuiitivet/backends/__init__.py +6 -0
  16. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/__init__.py +3 -0
  17. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/event_loop.py +468 -0
  18. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/gpu_frame.py +105 -0
  19. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/ime/__init__.py +3 -0
  20. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/ime/linux.py +281 -0
  21. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/ime/macos.py +204 -0
  22. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/ime/windows.py +138 -0
  23. nuiitivet-0.1.0/src/nuiitivet/backends/pyglet/runner.py +701 -0
  24. nuiitivet-0.1.0/src/nuiitivet/colors/__init__.py +3 -0
  25. nuiitivet-0.1.0/src/nuiitivet/colors/names.py +152 -0
  26. nuiitivet-0.1.0/src/nuiitivet/colors/utils.py +355 -0
  27. nuiitivet-0.1.0/src/nuiitivet/common/__init__.py +12 -0
  28. nuiitivet-0.1.0/src/nuiitivet/common/call.py +25 -0
  29. nuiitivet-0.1.0/src/nuiitivet/common/logging_once.py +63 -0
  30. nuiitivet-0.1.0/src/nuiitivet/input/__init__.py +39 -0
  31. nuiitivet-0.1.0/src/nuiitivet/input/codes.py +20 -0
  32. nuiitivet-0.1.0/src/nuiitivet/input/events.py +28 -0
  33. nuiitivet-0.1.0/src/nuiitivet/input/pointer.py +101 -0
  34. nuiitivet-0.1.0/src/nuiitivet/layout/__init__.py +7 -0
  35. nuiitivet-0.1.0/src/nuiitivet/layout/alignment.py +35 -0
  36. nuiitivet-0.1.0/src/nuiitivet/layout/column.py +266 -0
  37. nuiitivet-0.1.0/src/nuiitivet/layout/container.py +139 -0
  38. nuiitivet-0.1.0/src/nuiitivet/layout/cross_aligned.py +88 -0
  39. nuiitivet-0.1.0/src/nuiitivet/layout/deck.py +196 -0
  40. nuiitivet-0.1.0/src/nuiitivet/layout/flow.py +442 -0
  41. nuiitivet-0.1.0/src/nuiitivet/layout/for_each.py +438 -0
  42. nuiitivet-0.1.0/src/nuiitivet/layout/gap.py +5 -0
  43. nuiitivet-0.1.0/src/nuiitivet/layout/grid.py +446 -0
  44. nuiitivet-0.1.0/src/nuiitivet/layout/layout_engine.py +293 -0
  45. nuiitivet-0.1.0/src/nuiitivet/layout/layout_utils.py +48 -0
  46. nuiitivet-0.1.0/src/nuiitivet/layout/measure.py +34 -0
  47. nuiitivet-0.1.0/src/nuiitivet/layout/metrics.py +151 -0
  48. nuiitivet-0.1.0/src/nuiitivet/layout/row.py +262 -0
  49. nuiitivet-0.1.0/src/nuiitivet/layout/scroll_viewport.py +253 -0
  50. nuiitivet-0.1.0/src/nuiitivet/layout/scroller.py +528 -0
  51. nuiitivet-0.1.0/src/nuiitivet/layout/spacer.py +44 -0
  52. nuiitivet-0.1.0/src/nuiitivet/layout/stack.py +154 -0
  53. nuiitivet-0.1.0/src/nuiitivet/material/__init__.py +99 -0
  54. nuiitivet-0.1.0/src/nuiitivet/material/app.py +90 -0
  55. nuiitivet-0.1.0/src/nuiitivet/material/buttons.py +897 -0
  56. nuiitivet-0.1.0/src/nuiitivet/material/card.py +183 -0
  57. nuiitivet-0.1.0/src/nuiitivet/material/dialogs.py +169 -0
  58. nuiitivet-0.1.0/src/nuiitivet/material/icon.py +604 -0
  59. nuiitivet-0.1.0/src/nuiitivet/material/intents.py +22 -0
  60. nuiitivet-0.1.0/src/nuiitivet/material/loading_indicator.py +313 -0
  61. nuiitivet-0.1.0/src/nuiitivet/material/navigation_rail.py +481 -0
  62. nuiitivet-0.1.0/src/nuiitivet/material/overlay.py +161 -0
  63. nuiitivet-0.1.0/src/nuiitivet/material/selection_controls.py +507 -0
  64. nuiitivet-0.1.0/src/nuiitivet/material/shapes.py +157 -0
  65. nuiitivet-0.1.0/src/nuiitivet/material/snackbar.py +43 -0
  66. nuiitivet-0.1.0/src/nuiitivet/material/styles/__init__.py +22 -0
  67. nuiitivet-0.1.0/src/nuiitivet/material/styles/button_style.py +224 -0
  68. nuiitivet-0.1.0/src/nuiitivet/material/styles/card_style.py +98 -0
  69. nuiitivet-0.1.0/src/nuiitivet/material/styles/checkbox_style.py +91 -0
  70. nuiitivet-0.1.0/src/nuiitivet/material/styles/icon_style.py +79 -0
  71. nuiitivet-0.1.0/src/nuiitivet/material/styles/loading_indicator_style.py +104 -0
  72. nuiitivet-0.1.0/src/nuiitivet/material/styles/snackbar_style.py +23 -0
  73. nuiitivet-0.1.0/src/nuiitivet/material/styles/text_field_style.py +87 -0
  74. nuiitivet-0.1.0/src/nuiitivet/material/styles/text_style.py +50 -0
  75. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialIcons-Regular.ttf +0 -0
  76. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialIconsOutlined-Regular.otf +0 -0
  77. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialIconsRound-Regular.otf +0 -0
  78. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialIconsSharp-Regular.otf +0 -0
  79. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialIconsTwoTone-Regular.otf +0 -0
  80. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].codepoints +4102 -0
  81. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].ttf +0 -0
  82. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].codepoints +4102 -0
  83. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf +0 -0
  84. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].codepoints +4102 -0
  85. nuiitivet-0.1.0/src/nuiitivet/material/symbols/MaterialSymbolsSharp[FILL,GRAD,opsz,wght].ttf +0 -0
  86. nuiitivet-0.1.0/src/nuiitivet/material/symbols/__init__.py +5 -0
  87. nuiitivet-0.1.0/src/nuiitivet/material/symbols/fonts_metadata.json +46 -0
  88. nuiitivet-0.1.0/src/nuiitivet/material/symbols/icons_map.json +4104 -0
  89. nuiitivet-0.1.0/src/nuiitivet/material/symbols/material_symbols.py +4167 -0
  90. nuiitivet-0.1.0/src/nuiitivet/material/text.py +60 -0
  91. nuiitivet-0.1.0/src/nuiitivet/material/text_fields.py +679 -0
  92. nuiitivet-0.1.0/src/nuiitivet/material/theme/__init__.py +13 -0
  93. nuiitivet-0.1.0/src/nuiitivet/material/theme/color_role.py +68 -0
  94. nuiitivet-0.1.0/src/nuiitivet/material/theme/material_theme.py +38 -0
  95. nuiitivet-0.1.0/src/nuiitivet/material/theme/palette.py +411 -0
  96. nuiitivet-0.1.0/src/nuiitivet/material/theme/resolver.py +11 -0
  97. nuiitivet-0.1.0/src/nuiitivet/material/theme/theme_data.py +202 -0
  98. nuiitivet-0.1.0/src/nuiitivet/modifiers/__init__.py +23 -0
  99. nuiitivet-0.1.0/src/nuiitivet/modifiers/background.py +45 -0
  100. nuiitivet-0.1.0/src/nuiitivet/modifiers/border.py +49 -0
  101. nuiitivet-0.1.0/src/nuiitivet/modifiers/clickable.py +22 -0
  102. nuiitivet-0.1.0/src/nuiitivet/modifiers/clip.py +21 -0
  103. nuiitivet-0.1.0/src/nuiitivet/modifiers/corner_radius.py +71 -0
  104. nuiitivet-0.1.0/src/nuiitivet/modifiers/focus.py +62 -0
  105. nuiitivet-0.1.0/src/nuiitivet/modifiers/hover.py +22 -0
  106. nuiitivet-0.1.0/src/nuiitivet/modifiers/scroll.py +27 -0
  107. nuiitivet-0.1.0/src/nuiitivet/modifiers/shadow.py +56 -0
  108. nuiitivet-0.1.0/src/nuiitivet/modifiers/will_pop.py +133 -0
  109. nuiitivet-0.1.0/src/nuiitivet/navigation/__init__.py +9 -0
  110. nuiitivet-0.1.0/src/nuiitivet/navigation/navigator.py +432 -0
  111. nuiitivet-0.1.0/src/nuiitivet/navigation/route.py +44 -0
  112. nuiitivet-0.1.0/src/nuiitivet/observable/__init__.py +28 -0
  113. nuiitivet-0.1.0/src/nuiitivet/observable/batching.py +91 -0
  114. nuiitivet-0.1.0/src/nuiitivet/observable/combine.py +30 -0
  115. nuiitivet-0.1.0/src/nuiitivet/observable/computed.py +193 -0
  116. nuiitivet-0.1.0/src/nuiitivet/observable/contexts.py +7 -0
  117. nuiitivet-0.1.0/src/nuiitivet/observable/protocols.py +36 -0
  118. nuiitivet-0.1.0/src/nuiitivet/observable/runtime.py +68 -0
  119. nuiitivet-0.1.0/src/nuiitivet/observable/timed.py +148 -0
  120. nuiitivet-0.1.0/src/nuiitivet/observable/value.py +186 -0
  121. nuiitivet-0.1.0/src/nuiitivet/overlay/__init__.py +26 -0
  122. nuiitivet-0.1.0/src/nuiitivet/overlay/dialog_route.py +15 -0
  123. nuiitivet-0.1.0/src/nuiitivet/overlay/dialogs.py +95 -0
  124. nuiitivet-0.1.0/src/nuiitivet/overlay/intent_resolver.py +17 -0
  125. nuiitivet-0.1.0/src/nuiitivet/overlay/intents.py +22 -0
  126. nuiitivet-0.1.0/src/nuiitivet/overlay/overlay.py +465 -0
  127. nuiitivet-0.1.0/src/nuiitivet/overlay/overlay_entry.py +88 -0
  128. nuiitivet-0.1.0/src/nuiitivet/overlay/overlay_handle.py +64 -0
  129. nuiitivet-0.1.0/src/nuiitivet/overlay/overlay_position.py +29 -0
  130. nuiitivet-0.1.0/src/nuiitivet/overlay/result.py +27 -0
  131. nuiitivet-0.1.0/src/nuiitivet/overlay/toast.py +63 -0
  132. nuiitivet-0.1.0/src/nuiitivet/overlay/toast_route.py +14 -0
  133. nuiitivet-0.1.0/src/nuiitivet/platform/__init__.py +15 -0
  134. nuiitivet-0.1.0/src/nuiitivet/platform/clipboard.py +126 -0
  135. nuiitivet-0.1.0/src/nuiitivet/platform/ime.py +41 -0
  136. nuiitivet-0.1.0/src/nuiitivet/rendering/__init__.py +16 -0
  137. nuiitivet-0.1.0/src/nuiitivet/rendering/background_renderer.py +408 -0
  138. nuiitivet-0.1.0/src/nuiitivet/rendering/elevation.py +79 -0
  139. nuiitivet-0.1.0/src/nuiitivet/rendering/padding.py +42 -0
  140. nuiitivet-0.1.0/src/nuiitivet/rendering/sizing.py +149 -0
  141. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/__init__.py +91 -0
  142. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/color.py +159 -0
  143. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/effects.py +139 -0
  144. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/font.py +582 -0
  145. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/geometry.py +392 -0
  146. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/paint_cache.py +304 -0
  147. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/skia_module.py +84 -0
  148. nuiitivet-0.1.0/src/nuiitivet/rendering/skia/surface.py +41 -0
  149. nuiitivet-0.1.0/src/nuiitivet/runtime/__init__.py +6 -0
  150. nuiitivet-0.1.0/src/nuiitivet/runtime/app.py +1222 -0
  151. nuiitivet-0.1.0/src/nuiitivet/runtime/app_events.py +194 -0
  152. nuiitivet-0.1.0/src/nuiitivet/runtime/intents.py +58 -0
  153. nuiitivet-0.1.0/src/nuiitivet/runtime/pointer.py +103 -0
  154. nuiitivet-0.1.0/src/nuiitivet/runtime/threading.py +15 -0
  155. nuiitivet-0.1.0/src/nuiitivet/runtime/title_bar.py +76 -0
  156. nuiitivet-0.1.0/src/nuiitivet/runtime/window.py +89 -0
  157. nuiitivet-0.1.0/src/nuiitivet/scrolling/__init__.py +11 -0
  158. nuiitivet-0.1.0/src/nuiitivet/scrolling/controller.py +284 -0
  159. nuiitivet-0.1.0/src/nuiitivet/scrolling/types.py +30 -0
  160. nuiitivet-0.1.0/src/nuiitivet/theme/__init__.py +21 -0
  161. nuiitivet-0.1.0/src/nuiitivet/theme/manager.py +62 -0
  162. nuiitivet-0.1.0/src/nuiitivet/theme/plain_theme.py +83 -0
  163. nuiitivet-0.1.0/src/nuiitivet/theme/resolver.py +205 -0
  164. nuiitivet-0.1.0/src/nuiitivet/theme/theme.py +37 -0
  165. nuiitivet-0.1.0/src/nuiitivet/theme/types.py +61 -0
  166. nuiitivet-0.1.0/src/nuiitivet/widgeting/__init__.py +14 -0
  167. nuiitivet-0.1.0/src/nuiitivet/widgeting/callbacks.py +59 -0
  168. nuiitivet-0.1.0/src/nuiitivet/widgeting/children_store.py +371 -0
  169. nuiitivet-0.1.0/src/nuiitivet/widgeting/modifier.py +44 -0
  170. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget.py +259 -0
  171. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_animation.py +124 -0
  172. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_binding.py +245 -0
  173. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_builder.py +830 -0
  174. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_children.py +123 -0
  175. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_input.py +142 -0
  176. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_kernel.py +272 -0
  177. nuiitivet-0.1.0/src/nuiitivet/widgeting/widget_lifecycle.py +129 -0
  178. nuiitivet-0.1.0/src/nuiitivet/widgets/__init__.py +14 -0
  179. nuiitivet-0.1.0/src/nuiitivet/widgets/box.py +413 -0
  180. nuiitivet-0.1.0/src/nuiitivet/widgets/button.py +79 -0
  181. nuiitivet-0.1.0/src/nuiitivet/widgets/clickable.py +154 -0
  182. nuiitivet-0.1.0/src/nuiitivet/widgets/editable_text.py +510 -0
  183. nuiitivet-0.1.0/src/nuiitivet/widgets/icon.py +55 -0
  184. nuiitivet-0.1.0/src/nuiitivet/widgets/interaction.py +648 -0
  185. nuiitivet-0.1.0/src/nuiitivet/widgets/scrollbar.py +567 -0
  186. nuiitivet-0.1.0/src/nuiitivet/widgets/text.py +328 -0
  187. nuiitivet-0.1.0/src/nuiitivet/widgets/text_editing.py +79 -0
  188. nuiitivet-0.1.0/src/nuiitivet/widgets/text_field.py +204 -0
  189. nuiitivet-0.1.0/src/nuiitivet/widgets/text_style.py +47 -0
  190. nuiitivet-0.1.0/src/nuiitivet/widgets/toggleable.py +106 -0
  191. nuiitivet-0.1.0/src/nuiitivet.egg-info/PKG-INFO +489 -0
  192. nuiitivet-0.1.0/src/nuiitivet.egg-info/SOURCES.txt +392 -0
  193. nuiitivet-0.1.0/src/nuiitivet.egg-info/dependency_links.txt +1 -0
  194. nuiitivet-0.1.0/src/nuiitivet.egg-info/requires.txt +4 -0
  195. nuiitivet-0.1.0/src/nuiitivet.egg-info/top_level.txt +3 -0
  196. nuiitivet-0.1.0/src/samples/__init__.py +7 -0
  197. nuiitivet-0.1.0/src/samples/alignment_demo.py +106 -0
  198. nuiitivet-0.1.0/src/samples/async_demo.py +146 -0
  199. nuiitivet-0.1.0/src/samples/buttons_demo.py +112 -0
  200. nuiitivet-0.1.0/src/samples/cross_aligned_demo.py +84 -0
  201. nuiitivet-0.1.0/src/samples/custom_title_bar_demo.py +47 -0
  202. nuiitivet-0.1.0/src/samples/deck_demo.py +151 -0
  203. nuiitivet-0.1.0/src/samples/deck_with_rail_demo.py +186 -0
  204. nuiitivet-0.1.0/src/samples/disabled_button_demo.py +69 -0
  205. nuiitivet-0.1.0/src/samples/flow_demo.py +118 -0
  206. nuiitivet-0.1.0/src/samples/grid_demo.py +63 -0
  207. nuiitivet-0.1.0/src/samples/grid_demo_areas.py +56 -0
  208. nuiitivet-0.1.0/src/samples/japanese_text_demo.py +38 -0
  209. nuiitivet-0.1.0/src/samples/layout_alignment/column_alignment.py +73 -0
  210. nuiitivet-0.1.0/src/samples/layout_alignment/column_cross_alignment.py +71 -0
  211. nuiitivet-0.1.0/src/samples/layout_alignment/container_alignment.py +52 -0
  212. nuiitivet-0.1.0/src/samples/layout_alignment/row_alignment.py +68 -0
  213. nuiitivet-0.1.0/src/samples/layout_alignment/row_cross_alignment.py +65 -0
  214. nuiitivet-0.1.0/src/samples/layout_basics/basic_column.py +25 -0
  215. nuiitivet-0.1.0/src/samples/layout_basics/basic_row.py +24 -0
  216. nuiitivet-0.1.0/src/samples/layout_basics/row_column_combination.py +46 -0
  217. nuiitivet-0.1.0/src/samples/layout_extras/container_demo.py +23 -0
  218. nuiitivet-0.1.0/src/samples/layout_extras/deck_demo.py +75 -0
  219. nuiitivet-0.1.0/src/samples/layout_extras/flow_demo.py +38 -0
  220. nuiitivet-0.1.0/src/samples/layout_extras/spacer_flex_demo.py +27 -0
  221. nuiitivet-0.1.0/src/samples/layout_extras/stack_demo.py +48 -0
  222. nuiitivet-0.1.0/src/samples/layout_grid/app_layout_grid.py +52 -0
  223. nuiitivet-0.1.0/src/samples/layout_grid/basic_grid.py +45 -0
  224. nuiitivet-0.1.0/src/samples/layout_grid/expanded_cell.py +36 -0
  225. nuiitivet-0.1.0/src/samples/layout_grid/named_areas_grid.py +51 -0
  226. nuiitivet-0.1.0/src/samples/layout_grid/step1_grid.py +55 -0
  227. nuiitivet-0.1.0/src/samples/layout_grid/step2_span.py +50 -0
  228. nuiitivet-0.1.0/src/samples/layout_grid/step3_sizing.py +47 -0
  229. nuiitivet-0.1.0/src/samples/layout_grid/step4_expand.py +61 -0
  230. nuiitivet-0.1.0/src/samples/layout_overflow/clipped_content.py +31 -0
  231. nuiitivet-0.1.0/src/samples/layout_overflow/default_overflow.py +31 -0
  232. nuiitivet-0.1.0/src/samples/layout_overflow/scrollable_list.py +26 -0
  233. nuiitivet-0.1.0/src/samples/layout_sizing/auto_size.py +26 -0
  234. nuiitivet-0.1.0/src/samples/layout_sizing/fixed_size.py +26 -0
  235. nuiitivet-0.1.0/src/samples/layout_sizing/flex_width.py +22 -0
  236. nuiitivet-0.1.0/src/samples/layout_spacing/container_margin.py +29 -0
  237. nuiitivet-0.1.0/src/samples/layout_spacing/gap_demo.py +26 -0
  238. nuiitivet-0.1.0/src/samples/layout_spacing/padding_demo.py +25 -0
  239. nuiitivet-0.1.0/src/samples/layout_spacing/spacer_demo.py +28 -0
  240. nuiitivet-0.1.0/src/samples/loading_dialog_demo.py +84 -0
  241. nuiitivet-0.1.0/src/samples/modifier_demo.py +77 -0
  242. nuiitivet-0.1.0/src/samples/my_widget.py +348 -0
  243. nuiitivet-0.1.0/src/samples/navigation_rail_demo.py +87 -0
  244. nuiitivet-0.1.0/src/samples/navigator_demo.py +85 -0
  245. nuiitivet-0.1.0/src/samples/observable_async.py +178 -0
  246. nuiitivet-0.1.0/src/samples/observable_cart.py +172 -0
  247. nuiitivet-0.1.0/src/samples/observable_debounce_throttle.py +195 -0
  248. nuiitivet-0.1.0/src/samples/observable_todo.py +220 -0
  249. nuiitivet-0.1.0/src/samples/overflow_demo.py +97 -0
  250. nuiitivet-0.1.0/src/samples/overlay_demo.py +143 -0
  251. nuiitivet-0.1.0/src/samples/overlay_navigator_demo.py +179 -0
  252. nuiitivet-0.1.0/src/samples/padding_demo.py +82 -0
  253. nuiitivet-0.1.0/src/samples/readme/readme_counter_app.py +48 -0
  254. nuiitivet-0.1.0/src/samples/readme/readme_counter_demo.py +64 -0
  255. nuiitivet-0.1.0/src/samples/readme/readme_layout_demo.py +50 -0
  256. nuiitivet-0.1.0/src/samples/readme/readme_login_form.py +52 -0
  257. nuiitivet-0.1.0/src/samples/readme/readme_modifier_demo.py +48 -0
  258. nuiitivet-0.1.0/src/samples/readme/readme_multi_counter_app.py +66 -0
  259. nuiitivet-0.1.0/src/samples/row_builder_list_vs_observable_demo.py +155 -0
  260. nuiitivet-0.1.0/src/samples/scope_counter.py +71 -0
  261. nuiitivet-0.1.0/src/samples/scope_partial_rebuild.py +110 -0
  262. nuiitivet-0.1.0/src/samples/scroller_demo.py +141 -0
  263. nuiitivet-0.1.0/src/samples/stack_demo.py +78 -0
  264. nuiitivet-0.1.0/src/samples/style_theme_demo.py +120 -0
  265. nuiitivet-0.1.0/src/samples/text_field_demo.py +48 -0
  266. nuiitivet-0.1.0/src/samples/will_pop_demo.py +189 -0
  267. nuiitivet-0.1.0/src/samples/window_intent_demo.py +90 -0
  268. nuiitivet-0.1.0/tests/test_alert_dialog.py +122 -0
  269. nuiitivet-0.1.0/tests/test_animation_api.py +63 -0
  270. nuiitivet-0.1.0/tests/test_animation_manager.py +83 -0
  271. nuiitivet-0.1.0/tests/test_app_background.py +92 -0
  272. nuiitivet-0.1.0/tests/test_app_dispatch.py +95 -0
  273. nuiitivet-0.1.0/tests/test_app_events.py +358 -0
  274. nuiitivet-0.1.0/tests/test_app_initialization_patterns.py +69 -0
  275. nuiitivet-0.1.0/tests/test_async_button.py +44 -0
  276. nuiitivet-0.1.0/tests/test_async_integration.py +91 -0
  277. nuiitivet-0.1.0/tests/test_back_button_handling.py +112 -0
  278. nuiitivet-0.1.0/tests/test_background_renderer.py +103 -0
  279. nuiitivet-0.1.0/tests/test_box_clip.py +70 -0
  280. nuiitivet-0.1.0/tests/test_box_theme.py +51 -0
  281. nuiitivet-0.1.0/tests/test_button.py +89 -0
  282. nuiitivet-0.1.0/tests/test_button_api.py +55 -0
  283. nuiitivet-0.1.0/tests/test_button_disabled.py +166 -0
  284. nuiitivet-0.1.0/tests/test_button_overlay.py +137 -0
  285. nuiitivet-0.1.0/tests/test_button_style.py +63 -0
  286. nuiitivet-0.1.0/tests/test_button_text_colors_m3.py +100 -0
  287. nuiitivet-0.1.0/tests/test_card.py +107 -0
  288. nuiitivet-0.1.0/tests/test_checkbox.py +204 -0
  289. nuiitivet-0.1.0/tests/test_checkbox_icon_scaling.py +79 -0
  290. nuiitivet-0.1.0/tests/test_checkbox_style.py +86 -0
  291. nuiitivet-0.1.0/tests/test_children_store.py +51 -0
  292. nuiitivet-0.1.0/tests/test_clip_column_hit_test.py +62 -0
  293. nuiitivet-0.1.0/tests/test_clip_hit_test_fail.py +51 -0
  294. nuiitivet-0.1.0/tests/test_clip_hitrect.py +58 -0
  295. nuiitivet-0.1.0/tests/test_clip_modifier_behavior.py +133 -0
  296. nuiitivet-0.1.0/tests/test_color_utils.py +45 -0
  297. nuiitivet-0.1.0/tests/test_column_row_padding.py +127 -0
  298. nuiitivet-0.1.0/tests/test_computed_map_combine.py +77 -0
  299. nuiitivet-0.1.0/tests/test_container.py +134 -0
  300. nuiitivet-0.1.0/tests/test_cross_aligned.py +78 -0
  301. nuiitivet-0.1.0/tests/test_debounce_throttle.py +338 -0
  302. nuiitivet-0.1.0/tests/test_deck.py +193 -0
  303. nuiitivet-0.1.0/tests/test_dispose_callback.py +184 -0
  304. nuiitivet-0.1.0/tests/test_event_loop.py +32 -0
  305. nuiitivet-0.1.0/tests/test_fab_additional.py +30 -0
  306. nuiitivet-0.1.0/tests/test_filled_button.py +32 -0
  307. nuiitivet-0.1.0/tests/test_find_ancestor.py +122 -0
  308. nuiitivet-0.1.0/tests/test_flow.py +60 -0
  309. nuiitivet-0.1.0/tests/test_focus_integration.py +40 -0
  310. nuiitivet-0.1.0/tests/test_focus_node.py +135 -0
  311. nuiitivet-0.1.0/tests/test_for_each_canonical_observable.py +54 -0
  312. nuiitivet-0.1.0/tests/test_for_each_grid.py +85 -0
  313. nuiitivet-0.1.0/tests/test_for_each_on_mount_canonicalize.py +60 -0
  314. nuiitivet-0.1.0/tests/test_for_each_rebuild.py +106 -0
  315. nuiitivet-0.1.0/tests/test_for_each_scroller_integration.py +72 -0
  316. nuiitivet-0.1.0/tests/test_grid_layout.py +93 -0
  317. nuiitivet-0.1.0/tests/test_icon_button_overlay.py +35 -0
  318. nuiitivet-0.1.0/tests/test_icon_observable_name.py +40 -0
  319. nuiitivet-0.1.0/tests/test_icon_style.py +116 -0
  320. nuiitivet-0.1.0/tests/test_icon_widget.py +11 -0
  321. nuiitivet-0.1.0/tests/test_intent_system.py +112 -0
  322. nuiitivet-0.1.0/tests/test_layout.py +66 -0
  323. nuiitivet-0.1.0/tests/test_layout_engine.py +138 -0
  324. nuiitivet-0.1.0/tests/test_lifecycle_dispose.py +168 -0
  325. nuiitivet-0.1.0/tests/test_loading_dialog.py +15 -0
  326. nuiitivet-0.1.0/tests/test_loading_indicator_style.py +125 -0
  327. nuiitivet-0.1.0/tests/test_mark_dirty_coalesce.py +2 -0
  328. nuiitivet-0.1.0/tests/test_material_default_style_resolution.py +103 -0
  329. nuiitivet-0.1.0/tests/test_material_symbols.py +14 -0
  330. nuiitivet-0.1.0/tests/test_modifier_complete.py +109 -0
  331. nuiitivet-0.1.0/tests/test_my_widget_scroller_render.py +0 -0
  332. nuiitivet-0.1.0/tests/test_navigation_rail.py +216 -0
  333. nuiitivet-0.1.0/tests/test_navigator.py +59 -0
  334. nuiitivet-0.1.0/tests/test_navigator_intent_and_back.py +92 -0
  335. nuiitivet-0.1.0/tests/test_navigator_pop_transition_repeat.py +54 -0
  336. nuiitivet-0.1.0/tests/test_observable.py +70 -0
  337. nuiitivet-0.1.0/tests/test_observable_batch.py +263 -0
  338. nuiitivet-0.1.0/tests/test_observable_multiple_instances.py +103 -0
  339. nuiitivet-0.1.0/tests/test_observable_phase1.py +140 -0
  340. nuiitivet-0.1.0/tests/test_observable_phase1_combine.py +152 -0
  341. nuiitivet-0.1.0/tests/test_other_buttons.py +51 -0
  342. nuiitivet-0.1.0/tests/test_overlay.py +199 -0
  343. nuiitivet-0.1.0/tests/test_overlay_dialog.py +170 -0
  344. nuiitivet-0.1.0/tests/test_overlay_entry.py +147 -0
  345. nuiitivet-0.1.0/tests/test_overlay_handle.py +62 -0
  346. nuiitivet-0.1.0/tests/test_overlay_intent_and_loading.py +81 -0
  347. nuiitivet-0.1.0/tests/test_overlay_logic.py +62 -0
  348. nuiitivet-0.1.0/tests/test_overlay_toast.py +34 -0
  349. nuiitivet-0.1.0/tests/test_paint_cache.py +126 -0
  350. nuiitivet-0.1.0/tests/test_palette_contrast.py +29 -0
  351. nuiitivet-0.1.0/tests/test_palette_integration.py +20 -0
  352. nuiitivet-0.1.0/tests/test_palette_mcu_keymap_aliases.py +63 -0
  353. nuiitivet-0.1.0/tests/test_palette_mcu_keymap_coverage.py +64 -0
  354. nuiitivet-0.1.0/tests/test_palette_mcu_mock_variants.py +92 -0
  355. nuiitivet-0.1.0/tests/test_palette_seed_non_gray.py +27 -0
  356. nuiitivet-0.1.0/tests/test_recompose_scope.py +199 -0
  357. nuiitivet-0.1.0/tests/test_row_column_dimension.py +81 -0
  358. nuiitivet-0.1.0/tests/test_safe_area.py +5 -0
  359. nuiitivet-0.1.0/tests/test_scope_partial_rebuild.py +81 -0
  360. nuiitivet-0.1.0/tests/test_scroll_viewport_hit_test.py +93 -0
  361. nuiitivet-0.1.0/tests/test_scrollbar.py +181 -0
  362. nuiitivet-0.1.0/tests/test_scroller.py +397 -0
  363. nuiitivet-0.1.0/tests/test_scroller_interaction.py +60 -0
  364. nuiitivet-0.1.0/tests/test_scroller_interaction_extended.py +120 -0
  365. nuiitivet-0.1.0/tests/test_scroller_scrollbar_modes.py +110 -0
  366. nuiitivet-0.1.0/tests/test_scroller_viewport_hittest.py +85 -0
  367. nuiitivet-0.1.0/tests/test_sizing.py +68 -0
  368. nuiitivet-0.1.0/tests/test_sizing_phase1.py +153 -0
  369. nuiitivet-0.1.0/tests/test_skia_facade_typeface_loading.py +168 -0
  370. nuiitivet-0.1.0/tests/test_skia_util_colorrole.py +58 -0
  371. nuiitivet-0.1.0/tests/test_snackbar.py +166 -0
  372. nuiitivet-0.1.0/tests/test_spacer_flex.py +60 -0
  373. nuiitivet-0.1.0/tests/test_stack.py +134 -0
  374. nuiitivet-0.1.0/tests/test_state_subscribe.py +45 -0
  375. nuiitivet-0.1.0/tests/test_styles.py +153 -0
  376. nuiitivet-0.1.0/tests/test_text_field.py +235 -0
  377. nuiitivet-0.1.0/tests/test_text_field_api.py +104 -0
  378. nuiitivet-0.1.0/tests/test_text_field_mouse.py +44 -0
  379. nuiitivet-0.1.0/tests/test_text_field_style.py +64 -0
  380. nuiitivet-0.1.0/tests/test_text_icon_padding.py +100 -0
  381. nuiitivet-0.1.0/tests/test_text_style.py +197 -0
  382. nuiitivet-0.1.0/tests/test_text_theme.py +92 -0
  383. nuiitivet-0.1.0/tests/test_text_widget.py +49 -0
  384. nuiitivet-0.1.0/tests/test_theme.py +27 -0
  385. nuiitivet-0.1.0/tests/test_theme_manager_seed.py +51 -0
  386. nuiitivet-0.1.0/tests/test_theme_styles.py +180 -0
  387. nuiitivet-0.1.0/tests/test_threading_model.py +107 -0
  388. nuiitivet-0.1.0/tests/test_toast.py +197 -0
  389. nuiitivet-0.1.0/tests/test_utils.py +37 -0
  390. nuiitivet-0.1.0/tests/test_widget_auto_batch.py +163 -0
  391. nuiitivet-0.1.0/tests/test_widget_binding_queue.py +133 -0
  392. nuiitivet-0.1.0/tests/test_widget_children.py +25 -0
  393. nuiitivet-0.1.0/tests/test_widget_hosts.py +71 -0
  394. nuiitivet-0.1.0/tests/test_will_pop.py +122 -0
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,192 @@
1
+
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
179
+
180
+ Copyright 2021 Google LLC
181
+
182
+ Licensed under the Apache License, Version 2.0 (the "License");
183
+ you may not use this file except in compliance with the License.
184
+ You may obtain a copy of the License at
185
+
186
+ http://www.apache.org/licenses/LICENSE-2.0
187
+
188
+ Unless required by applicable law or agreed to in writing, software
189
+ distributed under the License is distributed on an "AS IS" BASIS,
190
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
191
+ See the License for the specific language governing permissions and
192
+ limitations under the License.
@@ -0,0 +1,30 @@
1
+ Copyright (c) 2006-2008 Alex Holkner
2
+ Copyright (c) 2008-2023 pyglet contributors
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ * Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in
12
+ the documentation and/or other materials provided with the
13
+ distribution.
14
+ * Neither the name of pyglet nor the names of its
15
+ contributors may be used to endorse or promote products
16
+ derived from this software without specific prior written
17
+ permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,233 @@
1
+ NOTE:
2
+
3
+ THIS SOFTWARE IS NOT FAULT TOLERANT AND SHOULD NOT BE USED IN ANY
4
+ SITUATION ENDANGERING HUMAN LIFE OR PROPERTY.
5
+
6
+ OpenGL-ctypes License
7
+
8
+ Copyright (c) 2005-2022, Michael C. Fletcher and Contributors
9
+ All rights reserved.
10
+
11
+ Redistribution and use in source and binary forms, with or without
12
+ modification, are permitted provided that the following conditions
13
+ are met:
14
+
15
+ Redistributions of source code must retain the above copyright
16
+ notice, this list of conditions and the following disclaimer.
17
+
18
+ Redistributions in binary form must reproduce the above
19
+ copyright notice, this list of conditions and the following
20
+ disclaimer in the documentation and/or other materials
21
+ provided with the distribution.
22
+
23
+ The name of Michael C. Fletcher, or the name of any Contributor,
24
+ may not be used to endorse or promote products derived from this
25
+ software without specific prior written permission.
26
+
27
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
30
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
31
+ COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
32
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
38
+ OF THE POSSIBILITY OF SUCH DAMAGE.
39
+
40
+ OpenGL-ctypes includes code from the PyOpenGL 2.x series licensed under
41
+ version 3 of the PyOpenGL License (BSD-style):
42
+
43
+ PyOpenGL License (v3)
44
+
45
+ PyOpenGL is based on PyOpenGL 1.5.5, Copyright © 1997-1998 by
46
+ James Hugunin, Cambridge MA, USA, Thomas Schwaller, Munich, Germany
47
+ and David Ascher, San Francisco CA, USA.
48
+
49
+ Contributors to the PyOpenGL project in addition to those listed
50
+ above include:
51
+ * David Konerding
52
+ * Soren Renner
53
+ * Rene Liebscher
54
+ * Randall Hopper
55
+ * Michael Fletcher
56
+ * Thomas Malik
57
+ * Thomas Hamelryck
58
+ * Jack Jansen
59
+ * Michel Sanner
60
+ * Tarn Weisner Burton
61
+ * Andrew Cox
62
+ * Rene Dudfield
63
+
64
+ PyOpenGL is Copyright (c) 1997-1998, 2000-2006 by the contributors.
65
+
66
+ All rights reserved.
67
+
68
+ Redistribution and use in source and binary forms, with or without
69
+ modification, are permitted provided that the following conditions are
70
+ met:
71
+
72
+ * Redistributions of source code must retain the above copyright
73
+ notice, this list of conditions and the following disclaimer.
74
+ * Redistributions in binary form must reproduce the above copyright
75
+ notice, this list of conditions and the following disclaimer in
76
+ the documentation and/or other materials provided with the
77
+ distribution.
78
+ * The names of the contributors may not be used to endorse or
79
+ promote products derived from this software without specific prior
80
+ written permission.
81
+
82
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
83
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
84
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
85
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
86
+ HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
87
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
88
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
89
+ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
90
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
91
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
92
+ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
93
+ DAMAGE.
94
+
95
+ OpenGL-ctypes includes code from the Pyglet project, licensed under the
96
+ Pyglet License (BSD Style):
97
+
98
+ Copyright (c) 2006-2008 Alex Holkner
99
+ All rights reserved.
100
+
101
+ Redistribution and use in source and binary forms, with or without
102
+ modification, are permitted provided that the following conditions
103
+ are met:
104
+
105
+ * Redistributions of source code must retain the above copyright
106
+ notice, this list of conditions and the following disclaimer.
107
+ * Redistributions in binary form must reproduce the above copyright
108
+ notice, this list of conditions and the following disclaimer in
109
+ the documentation and/or other materials provided with the
110
+ distribution.
111
+ * Neither the name of pyglet nor the names of its
112
+ contributors may be used to endorse or promote products
113
+ derived from this software without specific prior written
114
+ permission.
115
+
116
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
117
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
118
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
119
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
120
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
121
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
122
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
123
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
124
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
125
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
126
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
127
+ POSSIBILITY OF SUCH DAMAGE.
128
+
129
+ OpenGL-ctypes may include source code from the GLE (GL Tubing and Extrusion) library, which is
130
+ licensed under the license declared in OpenGL/DLLS/gle_COPYING.src if GLE is included in this
131
+ distribution. Copyright notice follows:
132
+
133
+ This software is owned by International Business Machines Corporation
134
+ ("IBM"), or its subsidiaries or IBM's suppliers, and is copyrighted and
135
+ licensed, not sold. IBM retains title to the software, and grants you a
136
+ nonexclusive license for the software.
137
+
138
+ OpenGL-ctypes may include source code from FreeGLUT (GL Utility Toolkit) library,
139
+ which is licensed under the MIT/X-Consortium License, available in
140
+ OpenGL/DLLS/freeglut_COPYING.txt if FreeGLUT is included in this distribution:
141
+
142
+ Freeglut code without an explicit copyright is covered by the following
143
+ copyright:
144
+
145
+ Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
146
+ Permission is hereby granted, free of charge, to any person obtaining a copy
147
+ of this software and associated documentation files (the "Software"), to deal
148
+ in the Software without restriction, including without limitation the rights
149
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
150
+ copies or substantial portions of the Software.
151
+
152
+ The above copyright notice and this permission notice shall be included in
153
+ all copies or substantial portions of the Software.
154
+
155
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
156
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
157
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
158
+ PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
159
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
160
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
161
+
162
+ Except as contained in this notice, the name of Pawel W. Olszta shall not be
163
+ used in advertising or otherwise to promote the sale, use or other dealings
164
+ in this Software without prior written authorization from Pawel W. Olszta.
165
+
166
+ OpenGL-ctypes may include binary distributions of the Tk Togl widget, which is licensed under the
167
+ following license/copyright notice (available in OpenGL/Tk/*/LICENSE if Togl is included).
168
+
169
+ This software is copyrighted by Brian Paul (brian@mesa3d.org),
170
+ Benjamin Bederson (bederson@cs.umd.edu), and Greg Couch
171
+ (gregcouch@users.sourceforge.net). The following terms apply to all
172
+ files associated with the software unless explicitly disclaimed in
173
+ individual files.
174
+
175
+ The authors hereby grant permission to use, copy, modify, distribute,
176
+ and license this software and its documentation for any purpose, provided
177
+ that existing copyright notices are retained in all copies and that this
178
+ notice is included verbatim in any distributions. No written agreement,
179
+ license, or royalty fee is required for any of the authorized uses.
180
+ Modifications to this software may be copyrighted by their authors
181
+ and need not follow the licensing terms described here, provided that
182
+ the new terms are clearly indicated on the first page of each file where
183
+ they apply.
184
+
185
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
186
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
187
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
188
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
189
+ POSSIBILITY OF SUCH DAMAGE.
190
+
191
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
192
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
193
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
194
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
195
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
196
+ MODIFICATIONS.
197
+
198
+ OpenGL-ctypes includes an OS-Mesa platform driver which is (MIT
199
+ Licensed), Copyright (c) 2012 Xu, Yuan <xuyuan.cn@gmail.com>:
200
+
201
+ https://github.com/xuyuan/PyOSMesa
202
+ http://opensource.org/licenses/MIT
203
+
204
+ OpenGL-ctypes uses a table from the Chromium Regal project to provide
205
+ constant:array-size mappings. Regal is:
206
+
207
+ Copyright (c) 2011-2012 NVIDIA Corporation
208
+ Copyright (c) 2011-2012 Cass Everitt
209
+ Copyright (c) 2012 Scott Nations
210
+ Copyright (c) 2012 Mathias Schott
211
+ Copyright (c) 2012 Nigel Stewart
212
+ All rights reserved.
213
+
214
+ Redistribution and use in source and binary forms, with or without modification,
215
+ are permitted provided that the following conditions are met:
216
+
217
+ Redistributions of source code must retain the above copyright notice, this
218
+ list of conditions and the following disclaimer.
219
+
220
+ Redistributions in binary form must reproduce the above copyright notice,
221
+ this list of conditions and the following disclaimer in the documentation
222
+ and/or other materials provided with the distribution.
223
+
224
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
225
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
226
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
227
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
228
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
229
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
230
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
231
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
232
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
233
+ OF THE POSSIBILITY OF SUCH DAMAGE.