Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
56befc9
ClearOptions is passed by copy not by reference now.
Nazariglez Jan 28, 2023
d2f7eec
moved size types from i32 to u32 because negative sizes doesn't makes…
Nazariglez Jan 28, 2023
d531ce3
fix egui u32 types
Nazariglez Jan 28, 2023
919d7d7
fix examples
Nazariglez Jan 28, 2023
2caf446
removed app.timer.time_since_init in favour of app.timer.elapsed and …
Nazariglez Feb 6, 2023
21f94ba
WindowConfig properties method names have set_* on it to differenciat…
Nazariglez Feb 8, 2023
7fe3d32
sort methods
Nazariglez Feb 13, 2023
0d92467
fix mask example
Nazariglez Feb 14, 2023
e4e586f
removed deprecate mouse.local_position and notan_math mat3 utils
Nazariglez Feb 25, 2023
fb6901a
minor fix
Nazariglez Feb 25, 2023
e6b1535
updated some dependencies
Nazariglez Feb 26, 2023
3b5c16a
added a script to help upgrading dependencies
Nazariglez Feb 26, 2023
f7f93de
Enabled compilation with --no-default-features excluding shader compi…
Nazariglez Mar 4, 2023
19c71db
pivot is optional for atlas
Nazariglez Mar 23, 2023
6e2b9d4
clippy fixes
Nazariglez Mar 23, 2023
9aee76c
Update stale.yml
Nazariglez Apr 3, 2023
8d45c70
Added ability to set Window/Taskbar icon from raw data
Allstreamer Mar 17, 2023
60598e7
Fixed Path in example
Allstreamer Mar 17, 2023
6618160
Merge pull request #255 from Allstreamer/215-Allow-Setting-Icon-From-…
Nazariglez Apr 3, 2023
07433a3
Merge branch 'main' into c/reb
Nazariglez Apr 19, 2023
785dd11
clippy fix
Nazariglez Apr 19, 2023
ff54673
update deps and set 0.10
Nazariglez Apr 23, 2023
cb72b39
fix
Nazariglez Apr 23, 2023
39500cc
Update stale.yml
Nazariglez Apr 29, 2023
1a4db0f
fix serde version
Nazariglez Apr 24, 2023
9c4e55d
changed glsl_layout for crevice because glsl_layout show undefined be…
Nazariglez Apr 29, 2023
90f6c5e
Egui update and fixes
Nazariglez Mar 4, 2023
23c7963
fix srgb issues
Nazariglez Mar 23, 2023
2cd45bb
removed unused field
Nazariglez Mar 23, 2023
717c949
fix scroll speed. fixes #203
Nazariglez Mar 24, 2023
7e1b425
minor fixes
Nazariglez Mar 25, 2023
f8fe2ef
fix
Nazariglez Apr 23, 2023
08ce037
cargo.lock
Nazariglez Apr 23, 2023
b7703e6
disable srgb on wasm builds
Nazariglez Apr 30, 2023
0ce43c2
wip fix egui font_texture
Nazariglez May 1, 2023
899084d
fixed repaint issue
Nazariglez May 1, 2023
732c8e1
restore custom_font_example
Nazariglez May 1, 2023
0671a97
clippy fixes
Nazariglez May 1, 2023
bba2ea6
restore example
Nazariglez May 1, 2023
208df75
fix matrix order of draw2d transforms
Nazariglez May 1, 2023
bab0b33
improve error handling adquiring webgl contexts
Nazariglez May 3, 2023
548b7a7
Merge branch 'develop' of github.com:Nazariglez/notan into develop
Nazariglez May 3, 2023
dbe1a0d
fix non-srgb image painting with egui in wasm32
Nazariglez May 4, 2023
fe96e71
fix: uniform buffers can be reused between pipelines
Nazariglez May 7, 2023
7fb7242
changed noisy debug logs to trace
Nazariglez May 21, 2023
1c09c51
Random is clonable now
Nazariglez May 27, 2023
f902966
Reset wheel_delta one frame after the last scrolling event. fixes #267
Nazariglez May 28, 2023
ad3d1c9
deps update
Nazariglez May 28, 2023
d222451
updated egui_demo_lib
Nazariglez May 28, 2023
3a1bdc1
state allows to set lifetimes
Nazariglez May 31, 2023
f844aca
clippy fixes
Nazariglez Jun 4, 2023
b095127
cargo fmt
Nazariglez Jun 4, 2023
cde85c5
AssetsList can be cloned
Nazariglez Jun 10, 2023
40522b4
fix clippy issue with docs
Nazariglez Jun 17, 2023
971e229
image crate is only used when texture_to_file is enabled. fixes #271
Nazariglez Jun 17, 2023
a5a26b7
updated changelog
Nazariglez Jun 17, 2023
99ea237
add support for passing a window position upon creation
jonatino Jun 22, 2023
89d8c2d
change position to Option<Tuple<i32,i32>>
jonatino Jun 22, 2023
b76ee3c
use LogicalPosition for x/y window pos
jonatino Jun 22, 2023
ef7708f
force windows to stay inside all available monitors
jonatino Jun 22, 2023
afce6ad
update CHANGELOG.md
jonatino Jun 24, 2023
eab9607
fix position config on mac/linux
jonatino Jul 6, 2023
6d97089
run cargo fmt on window.rs to fix lint errors
jonatino Jul 9, 2023
edff8c5
clippy fixes
Nazariglez Jul 23, 2023
f3d10d5
.
Jul 1, 2023
dc6d126
.
Jul 1, 2023
8e94c7b
.
Jul 1, 2023
0d3c89e
.
Jul 1, 2023
5940aa2
.
Jul 1, 2023
a47ae84
Update events.rs
Jul 1, 2023
397ce36
cargo fmt
Nazariglez Jul 23, 2023
987b355
updated changelog
Nazariglez Jul 23, 2023
79a96c0
add example showing how to set initial window position
Jul 4, 2023
93f8e2a
updated initial position example
Nazariglez Jul 23, 2023
bfa4dcb
changelog
Nazariglez Jul 23, 2023
0815528
Fixed dpi issue with set_cursor_position
Aug 1, 2023
d35ef22
add mipmap related settings to RenderTextureBuilder
fand Aug 2, 2023
ad8c44f
update comments
fand Aug 2, 2023
06787cb
add example
fand Aug 2, 2023
48441f8
bind RenderTexture before generating mipmap
fand Aug 3, 2023
a90e968
remove workaround to bind RenderTexture before mipmap generation
fand Aug 4, 2023
93ab475
use Draw instead of Renderer
fand Aug 4, 2023
6df7f3b
tidyup
fand Aug 4, 2023
3ea355b
add with_wrap to RenderTextureBuilder
fand Aug 5, 2023
72e299a
add texture wrapping sample
fand Aug 5, 2023
409eda9
rename example file for texture paramas
fand Aug 5, 2023
9e328a0
add comment
fand Aug 5, 2023
759fe50
update CHANGELOG
fand Aug 16, 2023
a00b3e8
added renderer_stencil example
Nazariglez Aug 22, 2023
ae0620d
Fixes mouse scrolling issue:
Aug 11, 2023
b2726b0
Fixes blurry egui text:
Aug 11, 2023
cb45245
Fixes 'set_multisampling' not working on winit backend
Aug 11, 2023
ea9b7e0
fmt
Aug 12, 2023
261f1bb
changelog items
Aug 16, 2023
090dca4
Convert mono audio to stereo, fixes: #206
Nazariglez Aug 26, 2023
7f76f4a
changelog
Nazariglez Aug 26, 2023
96926d1
upgraded wasm-bindgen
Nazariglez Aug 26, 2023
ab2e01b
Added is_focused() and example
Aug 25, 2023
4215c3e
is_focused web impl
Nazariglez Aug 26, 2023
e52e71a
simplified the input_mouse_wheel example
Nazariglez Sep 2, 2023
49b3a9e
fix blend_mode_object translation issue
Nazariglez Sep 2, 2023
bda6196
organizing dependencies...
Nazariglez Sep 2, 2023
c3a8014
cargo update
Nazariglez Sep 2, 2023
788cd20
deps updated
Nazariglez Sep 10, 2023
d1585c6
fix build_examples script
Nazariglez Sep 10, 2023
220ca6a
changelog fix
Nazariglez Sep 11, 2023
ee8e826
Merge pull request #288 from Nazariglez/develop
Nazariglez Sep 11, 2023
868eccb
color implements now serialize and deserialize
Nazariglez Sep 30, 2023
ca1067d
fix color serialization
Nazariglez Sep 30, 2023
7cc61b8
chore: update egui to 0.23.0
apekros Oct 5, 2023
7d2a9db
Fix for "extension to create ES context with wgl is not present"
mantasarm Oct 10, 2023
68d90d3
clippy fixes
Nazariglez Oct 12, 2023
3acc6ce
changelog
Nazariglez Oct 12, 2023
00bb796
changelog && clippy fixes
Nazariglez Oct 12, 2023
150a3bf
Merge pull request #292 from mantasarm/develop
Nazariglez Oct 12, 2023
8bdf4ae
fixed egui image api
Nazariglez Oct 15, 2023
4661349
Merge branch 'develop' into issue-290
Nazariglez Oct 15, 2023
047bf0d
Merge pull request #291 from apekros/issue-290
Nazariglez Oct 15, 2023
0f262ef
prepare for 0.11 and more metadata shared from workspace
Nazariglez Oct 15, 2023
a4faa28
upgrade deps
Nazariglez Oct 15, 2023
eb8098e
revert conflcited versions
Nazariglez Oct 16, 2023
498b320
Merge pull request #293 from Nazariglez/c/up-dep
Nazariglez Oct 16, 2023
367556b
v0.11 changelog
Nazariglez Oct 18, 2023
45184ee
Merge pull request #294 from Nazariglez/develop
Nazariglez Oct 18, 2023
865efa1
fix clippy issue
Nazariglez Nov 25, 2023
0538104
expose notan_draw builder publicly to allow custom builders
RichardMarks Nov 5, 2023
8aa81c3
cargo fmt
Nazariglez Nov 25, 2023
83b172c
make AppTimer public
joseluis Nov 6, 2023
4dea7cc
add support for drawing points
joseluis Nov 6, 2023
1adf395
allow to compile the lib without backend
Nazariglez Dec 10, 2023
8077358
Uses AppID to set wayland app id or web canvas id
Nazariglez Jan 11, 2024
e45aaf1
fix canvas id
Nazariglez Jan 11, 2024
27c7672
removed leaked code
Nazariglez Jan 11, 2024
76dfe3e
minor fix
Nazariglez Jan 12, 2024
4cadbf0
fix warnings
Nazariglez Jan 12, 2024
14093cf
clippy fix on web target
Nazariglez Jan 12, 2024
3c425d8
Fixed window lazy loop when requesting frames
Nazariglez Jan 29, 2024
ebad10f
fmt and clippy fixes
Nazariglez Jan 29, 2024
6a923b1
update egui to 0.24
z33ky Dec 25, 2023
d220c84
fix gitignore and fmt
Nazariglez Feb 17, 2024
25e9844
egui 0.25 and new egui keys
Nazariglez Feb 17, 2024
cf60a01
updated to egui 0.26
Nazariglez Feb 17, 2024
16763a8
removed egui output.needs_repaint, because in lazy mode if the draw c…
Nazariglez Feb 18, 2024
ddf0065
Changelog for 0.12
Nazariglez Feb 18, 2024
4c0b7f5
preparing v0.12
Nazariglez Feb 18, 2024
109a450
added PowerShell scripts and contribution guide for MSVC
Rzial Feb 21, 2024
ef267a0
fixed typo on CONTRIBUTING.md and build_docs.ps1
Rzial Feb 21, 2024
59b2c98
Update README.md Gifs now work again
mantasarm Feb 23, 2024
ced74ac
upgrade wasm-bindgen lock
Nazariglez Apr 6, 2024
56808c4
added clean_button_state to stop propagation of mouse events
Nazariglez Apr 25, 2024
060656a
ignore DS_Store
Nazariglez Jun 8, 2024
214076d
chore: update egui to 0.27.2
apekros May 8, 2024
47bdffa
keep egui inside the workspace
Nazariglez Jun 8, 2024
30579e7
clippy fixes
Nazariglez Jun 8, 2024
8dd1ef1
chmod +x
Nazariglez Jun 8, 2024
ca0b51a
fix dep issue with egui demo
Nazariglez Jun 8, 2024
cf4ba1e
added xtask crate to the workspace
Rzial Mar 28, 2024
8fedbb9
added xtask commands for example build and doc generation
Rzial Mar 28, 2024
b77df2c
removed scripts that can do the same work as the xtask crate
Rzial Mar 28, 2024
37bd1a2
cargo fmt
Rzial Mar 28, 2024
c6fa569
changes directory for examples in xtask
Nazariglez Jun 8, 2024
6c3eab3
cargo clippy fixes
Nazariglez Jun 8, 2024
9a04f0e
fix egui blurry text
Nazariglez Jun 8, 2024
492716a
changelog v0.12.1
Nazariglez Jun 8, 2024
da073fe
added contains method to rect
Nazariglez Jun 13, 2024
cdcb44d
clippy fixes
Nazariglez Jun 16, 2024
c6b9135
clippy fixes
Nazariglez Jun 26, 2024
3c1d24b
Updates some deps
Nazariglez Aug 12, 2024
6df1704
Removed Send+Sync for Plugins, plugins are not sent between threads, …
Nazariglez Aug 12, 2024
2c95a82
fmt and lints
Nazariglez Aug 12, 2024
a692404
Added Rgb24 format.
erlendp Aug 20, 2024
2e5a38a
Bump egui crate to 0.28.1
johnoneil Sep 23, 2024
b7eb270
fix example in README
dgulotta Dec 10, 2024
2c97c16
fix text transformation order
dgulotta Dec 6, 2024
4a7efd0
style fixes
Nazariglez Jan 25, 2025
2f02b75
WebGL power preferences should select the best gpu available
Nazariglez Jan 25, 2025
cad2a14
cleanup
Nazariglez Jan 25, 2025
c596a0f
updated some deps
Nazariglez Jan 25, 2025
6070e3b
wip 0.13
Nazariglez Jan 25, 2025
7c7121a
udpated glow to latest version and deny fallback renderers on webgl
Nazariglez Jan 26, 2025
4bdb2b4
chore: update egui to 0.29.1
Feb 3, 2025
00b9019
chore: update egui to 0.30.0
Feb 3, 2025
415cdcc
fix custom font example
Feb 3, 2025
05e64b8
format code
Feb 3, 2025
bee8e0b
update egui to 0.31.0
Feb 6, 2025
070c3be
minor fix
Nazariglez Feb 12, 2025
547380c
removed lazy loop on egui example
Nazariglez Feb 12, 2025
69b3230
Update dependencies
Stoppedpuma Feb 12, 2025
28db366
update serde_json and syn
Stoppedpuma Feb 19, 2025
cceece1
Update deps again
Stoppedpuma Feb 21, 2025
9ba58e3
Update deps again
Stoppedpuma Mar 13, 2025
b9461e0
fix egui zoom
dgulotta Feb 16, 2025
53b4fc2
browser zoom fixes
dgulotta Feb 17, 2025
b1f97ab
scale egui mouse coords with zoom factor
dgulotta Feb 22, 2025
9b5abb1
fix scrolling in example html
dgulotta Feb 18, 2025
c1f5c95
Cap InnerBuffer::global_ubo size
metiulekm Feb 28, 2025
8532b6e
Add support for GL_POINTS and gl_PointSize
h-isthebestletter Oct 28, 2024
23115af
Change point_size to point_size_enabled
h-isthebestletter Oct 28, 2024
ba2c164
Change point_size_enabled to point_size_available
h-isthebestletter Oct 28, 2024
4a6540c
Change default point_size_available to true
h-isthebestletter Oct 29, 2024
9959a8b
clippy fixes
Nazariglez Mar 29, 2025
e0b8084
deps updated
Nazariglez Mar 29, 2025
b904a3b
fix crate order to publish
Nazariglez Mar 29, 2025
e596c79
added status on the readme
Nazariglez Mar 29, 2025
506ebb4
await 3 years to stale issues
Nazariglez Sep 18, 2025
bbd2b15
propagate serde feature to egui
dgulotta Apr 11, 2025
feaaeb4
fix: CMake 4.0+ error
brian6932 Dec 3, 2025
cd65388
fix lints
Nazariglez Dec 27, 2025
c8168ad
cargo fmt
Nazariglez Dec 27, 2025
1e2f7f8
more clippy fixes I missed
Nazariglez Dec 27, 2025
e857251
update to winit 0.30
dgulotta May 20, 2025
a879c17
fix Windows / Mac compile errors
dgulotta Jun 19, 2025
e0c3f8e
restructure initialization
dgulotta Jul 20, 2025
9024f10
re-enable clamp_window_to_sane_position
dgulotta Jul 20, 2025
f560672
fix new Rust 1.88 lints
dgulotta Jul 20, 2025
c6a70dc
Update most dependencies
Stoppedpuma Dec 11, 2025
4efb5bd
Revert oddio to 0.6.2
Stoppedpuma Dec 11, 2025
7193c2d
Suppress new default lifetime warnings, replace rng deprecated keywords
Stoppedpuma Dec 16, 2025
8c044bd
cargo fmt
Stoppedpuma Dec 16, 2025
f9e0f58
xtask lint, suppress corners warnings
Stoppedpuma Dec 16, 2025
75e0572
Fix draw_points example
Stoppedpuma Dec 16, 2025
a23743f
cargo update
Stoppedpuma Dec 16, 2025
85384c3
cargo update
Stoppedpuma Dec 27, 2025
c30c640
avoid multithread ci
Nazariglez Dec 27, 2025
b00f00f
remove glsl-to-spirv
Nazariglez Dec 27, 2025
599dd39
updated version to v0.14
Nazariglez Dec 27, 2025
c7952d5
v0.14 changelog
Nazariglez Dec 27, 2025
129c20b
minor fix
Nazariglez Dec 27, 2025
dbf5c41
restored glsl-to-spriv shader transpiler
Nazariglez Dec 27, 2025
d98255f
fix dpi issue on macos
Nazariglez Jan 10, 2026
385e22a
minor cleanup
Nazariglez Jan 10, 2026
02e79d0
Merge upstream v0.14.0 into develop, re-apply fork patches
fand Mar 24, 2026
1ac7177
fix: suppress unused variable warnings for CI -D warnings
fand Mar 25, 2026
df0e5ce
fix: rustfmt + clippy warnings
fand Mar 25, 2026
b00b88d
feat: upgrade egui 0.31 → 0.33, remove ImageData::Font arms
fand Mar 25, 2026
4c84cd7
fix: resolve CI failures — remove unreachable patterns, bump egui_dem…
fand Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[alias]
xtask = "run --package xtask --"

[env]
# needed for glsl-to-spirv
CMAKE_POLICY_VERSION_MINIMUM = "3.5"

[target.wasm32-unknown-unknown]
rustflags = ["--cfg=web_sys_unstable_apis"]
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
fmt-clippy-check-test:
name: Format + clippy + check + test
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C link-arg=-Wl,--threads=1"
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 60
days-before-issue-close: 14
days-before-issue-stale: 1095
days-before-issue-close: 30
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 60 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale. Do not hesitate to open a new issue if you need it."
stale-issue-message: "This issue is stale because it has been open for 3 year with no activity."
close-issue-message: "This issue was closed because it has been inactive for 30 days since being marked as stale. Do not hesitate to open a new issue if you need it."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@ pkg
# allow static images
!**/docs/examples/images/**/*.jpg


# discard test examples
examples/test_*.rs

.DS_Store

.nix-cargo
.direnv
91 changes: 91 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,97 @@
# Changelog
All notable changes to this project will be documented in this file.

## v0.14.0 - 27/12/2025

- Updated `winit` to `0.30`.
- Fixed build issues on Windows and macOS.
- Fixed compatibility with CMake 4.0+.
- Propagated the `serde` feature to `notan_egui`.
- Set `shaderc` as default shader transpiler.

## v0.13.0 - 29/03/2025

- Updated EGUI up to `0.31`.
- Fixed EGUI input scaling when the browser is zoomed in/out.
- Added support for `GL_POINTS` and `gl_PointSize` (point rendering).
- Renamed the point size flags (`point_size` -> `point_size_enabled` -> `point_size_available`) and enabled it by default.
- Added `Rgb24` texture format.
- Added `Rect::contains`.
- Limited `InnerBuffer::global_ubo` size to avoid blowing up the UBO.
- WebGL power preferences now try to pick the best GPU available.
- Removed `Send + Sync` from plugins (they’re not sent across threads anyway).
- Fixed a text transform order issue.
- Lots of dependency updates, formatting and clippy fixes.

## v0.12.1 - 08/06/2024

- Updated EGUI to `0.27`.
- The readme has gifs again.
- Added `app.mouse.clean_button_state` to clean the state of a button.
- Added `xtask` to run project's script like building the examples for web.
- Fixed an issue with EGUI that makes text looks blurry.

## v0.12.0 - 19/02/2024

- Updated EGUI to `0.26`.
- Removed `egui::plugin::Output.needs_repaint()`, now is only used internally and not exposed to users.
- Exposed `notan::draw::DrawBuilder` allowing custom builders.
- Exposed `notan::app::AppTimer`.
- Added `draw.point` allowing to draw points. Check `examples/draw_point.rs`.
- Allow to compile the crate without a backend selected.
- Changed `WindowConfig::set_canvas_id` to `WindowConfig::set_app_id` and is not available for wayland too.
- Fixed `app.request_frame()` when using lazy lopps on Window OS.

## v0.11.0 - 18/10/2023

- Added traits `Serialize` and `Deserialize` to `Color` with the feature `serde` enabled.
- Updated EGUI to `0.23`.
- Fixed an error acquiring the GL Context due required samples configuration.

## v0.10.0 - 11/09/2023

- Added `WindowConfig::set_position` to set x/y position before creating the window.
- Changed `Renderer.begin` uses `Option<ClearOption>` instead of `Option<&ClearOption>`.
- Changed sizes and positions for Window and Textures from `i32` to `u32`.
- Added `AppTimer::elapsed` to return time since init as `Duration`.
- Changed `AppTimer::time_since_init` to `AppTimer::elapsed_f32`.
- Changed `WindowConfig` setter method to use the prefix `set_`.
- Removed deprecated `Mouse::local_position`.
- Removed deprecated `mat3_screen_to_local`, `mat3_local_to_screen`, `mat3_local_to_local`.
- Updated dependencies to latest versions.
- Enabled compilation with `--no-default-features` excluding shader compilation macros.
- Deserializing `AtlasFrame` uses a default `pivot` if is empty.
- Added `WindowConfig::set_window_icon_data`.
- Added `WindowConfig::set_taskbar_icon_data`.
- Added example `window_icon_from_raw.rs`.
- Changed `glsl_layout` dependency for `crevice`.
- Updated EGUI to `0.22`.
- Fixed `egui` panic when custom font are set.
- Fixed slow scroll speed.
- Fixed `egui needs_repaint` not working right in some situations.
- Fixed the order of the matrix multiplication for `Draw` methods.
- Improved error messages when `WebGL` and `WebGL2` contexts cannot be adquired.
- Fixed `Buffer` to allow reuse `Uniform Buffers` between pipelines.
- Changed some noisy logs from `debug` to `trace`.
- Added `Clone` to `Random`.
- Reset values of `Mouse::wheel_delta` when the user stops scrolling.
- Added `Mouse::is_scrolling`.
- App's state can use now lifetimes, ie: `State<'n>`.
- Added `Clone` to `AssetsList`.
- The `image` crate on `notan_graphics` is only used when `texture_to_file` is enabled.
- Added `WindowBackend::set_cursor_position`, `Event::MouseMotion` and `Mouse::is_moving`.
- Added new example `window_initial_position.rs`.
- Added mipmap and texture wrapping settings to `RenderTextureBuilder`.
- Added new example `texture_params`.
- Added new example `renderer_stencil`.
- Fixed mouse wheel scroll being ignored when moving the mouse at same time
- Added alt mouse wheel scrolling code to example
- Fixed `set_multisamples`. It is no longer being ignored for winit backend
- Fixed blurry text on egui when using on desktop
- Fixed mono channel audio playing in half of time set for the audio length.
- Added `is_focused()` for winit backend
- Added `window_focus` example

## v0.9.5 - 19/03/2023

- Increased mouse wheel scroll speed on native platforms.
Expand Down
24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Contributing to Notan

## Linux
> TODO

## MacOS
> TODO

## Windows (MSVC)

To be able to compile the Notan examples you will need to have the following pre-requirements in your system:

* [CMake](https://cmake.org/download/)
* [Python](https://www.python.org/downloads/)
* [Ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages)

If you want to use the wasm32 target you will need to execute some additional commands for it:
````cmd
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli --version 0.2.87
cargo install wasm-opt
````

After this you will be able to use the PowerShell scripts in the `scripts` folder to compile the examples or the doc.
Loading
Loading