Skip to content

Releases: Nazariglez/notan

v0.12.1

08 Jun 18:24
Compare
Choose a tag to compare

Changelog

  • Updated EGUI to 0.27. #322 #323
  • The readme has gifs again. #317
  • Added app.mouse.clean_button_state to clean the state of a button. 294c9b4
  • Added xtask to run project's script like building the examples for web. #314 #321
  • Fixed an issue with EGUI that makes text looks blurry. #324

--

Thanks everybody!

Contributors

v0.12.0

19 Feb 20:18
Compare
Choose a tag to compare

Changelog

  • 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.

--

Thanks everybody!

Contributors

v0.11.0

18 Oct 11:17
45184ee
Compare
Choose a tag to compare

Changelog

  • Update EGUI to 0.23 #291
  • Fix an error acquiring OpenGL Context #292
  • Update inner dependencies

Breaking

If you're using egui to render notan textures you may want to check the example because the API did change.

--

Thank you so much for the help!

Contributors

v0.10.0

11 Sep 21:52
Compare
Choose a tag to compare

Changelog

  • 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

Thanks everybody!

Contributors

v0.9.5

18 Apr 23:13
a080237
Compare
Choose a tag to compare
  • Increased mouse wheel scroll speed on native platforms.
  • Added WindowBackend::set_touch_as_mouse and touch_as_mouse to enable/disable it at runtime.
  • Fix Event::Exit which is triggered now before the app is closed.
  • Add WindowConfig::set_window_icon_data and set_taskbar_icon_data to set them using bytes. Check examples/window_icon_from_raw.rs for more info.
  • Allow to load images without allocation limits, return an error if the image is bigger than the size supported by the GPU.

Thanks everybody!

Contributors

v0.9.4

25 Feb 23:34
4c2013b
Compare
Choose a tag to compare
  • Added WindowBackend::set_title and WindowBackend::title to change or get the title at any time. #240
  • Improved stencil clearing when setting a mask on the draw api at the end of the pass. #240
  • Fix panic using Draw API to draw text with max_width and size as 0. #240
  • Fix debug_assert in Device::inner_read_pixels. #236
  • Added support for include directives using shaderc. #233
  • Added optional feature serde to serialize/deserialize some core types. #244

Thanks for the contributions!

Contributors

v0.9.3

12 Feb 19:44
abc0a9f
Compare
Choose a tag to compare
  • Added WindowBackend::screen_size to get the screen's resolution size. #229
  • Added WindowBackend::container_size to get the windows container size (screen on native, parent element on web). #229
  • Fix Draw2D masking issue about the stencil clearing. #231
  • New example draw_mask_animated.rs. #231

Just a small release with a few minor fixes, thanks all!

v0.9.2

05 Feb 23:07
2b29023
Compare
Choose a tag to compare
  • Added Fn keys to egui. #214
  • New example game_tic_tac_toe.rs. #220
  • Fix corners of shapes using the Draw2D API.
  • New example draw_text_max_width.rs.
  • Fix window's transparency issue on x11 linux. #223
  • Fix an issue with some windows (OS) to select the OpenGL context. #223

Thanks!

Contributors

v0.9.1

25 Jan 22:48
0aeb06e
Compare
Choose a tag to compare
  • Fix docs compilation #212

v0.9.0

24 Jan 11:21
100ffb9
Compare
Choose a tag to compare
  • Fix alpha blending mode issue with text rendering using the Draw2D API. #188
  • Improve how the alpha blending behaves rendering from and to RenderTexture using Draw2D API. #189
  • Fix Draw structure is clonable again. #190
  • Change SetupHandler and AppBuilder::initialize to FnOnce allowing to embed notan easily.
  • Updated the crate glutin to 0.30.2. #192
  • New example draw_arcs.rs to show how to draw circle sections. #195
  • Added new texture format R8Uint.
  • Draw unsupported chars with a font does not panic anymore. #201
  • Added WindowConfig::window_icon and WindowConfig::taskbar_icon to add icons for windows os. #202
  • Added example egui_custom_font.rs.
  • Fix images loaded from files can set the texture format other rgba. #207
  • Added TextureFormat::Rgba32Float. #207
  • Avoid some allocations when textures are loaded. #207
  • Updated egui to color space. #205

Thank you so much for your contributions, you make this project great!

Contributors