Releases: Nazariglez/notan
Releases · Nazariglez/notan
v0.12.1
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
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. Checkexamples/draw_point.rs
. - Allow to compile the crate without a backend selected.
- Changed
WindowConfig::set_canvas_id
toWindowConfig::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
v0.10.0
Changelog
- Added
WindowConfig::set_position
to set x/y position before creating the window. - Changed
Renderer.begin
usesOption<ClearOption>
instead ofOption<&ClearOption>
. - Changed sizes and positions for Window and Textures from
i32
tou32
. - Added
AppTimer::elapsed
to return time since init asDuration
. - Changed
AppTimer::time_since_init
toAppTimer::elapsed_f32
. - Changed
WindowConfig
setter method to use the prefixset_
. - 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 defaultpivot
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 forcrevice
. - 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
andWebGL2
contexts cannot be adquired. - Fixed
Buffer
to allow reuseUniform Buffers
between pipelines. - Changed some noisy logs from
debug
totrace
. - Added
Clone
toRandom
. - 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
toAssetsList
. - The
image
crate onnotan_graphics
is only used whentexture_to_file
is enabled. - Added
WindowBackend::set_cursor_position
,Event::MouseMotion
andMouse::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
- 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
- Added
WindowBackend::set_title
andWindowBackend::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
andsize
as 0. #240 - Fix
debug_assert
inDevice::inner_read_pixels
. #236 - Added support for
include
directives usingshaderc
. #233 - Added optional feature
serde
to serialize/deserialize some core types. #244
Thanks for the contributions!
Contributors
v0.9.3
- 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
v0.9.1
v0.9.0
- 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
andAppBuilder::initialize
toFnOnce
allowing to embed notan easily. - Updated the crate
glutin
to0.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
andWindowConfig::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!