embedded-graphics-simulator
is an SDL-based simulator for testing, debugging and developing embedded-graphics
applications.
Unreleased - ReleaseDate
0.7.0 - 2024-09-10
- (breaking) #55 Bump the following crate dependencies:
image
to 0.25.1,base64
to 0.22.1,sdl2
to 0.37.0
0.6.0 - 2023-11-26
- (breaking) #49 Bump Minimum Supported Rust Version (MSRV) to 1.71.1.
- (breaking) #52 Bump
image
crate dependency to 0.24.7.
0.5.0 - 2023-05-14
- (breaking) #46 Bump minimum embedded-graphics version from 0.7.1 to 0.8.
0.4.1 - 2023-03-06
- #45 Added
OutputSettingsBuilder::max_fps
to set the maximum FPS of the simulator.
- #45 Limit simulator to 60FPS by default.
0.4.0 - 2022-09-19
- #34 Bump minimum embedded-graphics version from 0.7.0 to 0.7.1.
- (breaking) #44 Bump Minimum Supported Rust Version (MSRV) to 1.61.
0.3.0 - 2021-06-05
0.3.0-beta.3 - 2021-06-04
- #28 Added
SimulatorDisplay::to_{be,le,ne}_bytes
to convert the display content to raw image data. - #29 Added
SimulatorDisplay::load_png
. - #29 Added support for
EG_SIMULATOR_CHECK
,EG_SIMULATOR_CHECK_RAW
andEG_SIMULATOR_DUMP_RAW
environment variables. - #29 A limited version of
Window
can now be used without thewith-sdl
feature enabled. Event handling isn't available if SDL support is disabled. - #30 Added
SimulatorDisplay::diff
.
- (breaking) #29 Color types used in
Window::update
andWindow::show_static
must now implementFrom<Rgb888>
.
- #28 Fixed panic for zero sized
SimulatorDisplay
s.
0.3.0-beta.2 - 2021-05-04
- #25 Added
OutputImage
to export PNG files and base64 encoded PNGs. - #25 Added
BinaryColorTheme::Inverted
.
- (breaking) #25 Removed
SimulatorDisplay::to_image_buffer
. Useto_rgb_output_image
orto_grayscale_output_image
instead.
0.3.0-beta.1 - 2021-04-24
- #24 Upgrade to embedded-graphics 0.7.0-beta.1.
0.3.0-alpha.2 - 2021-02-05
- #16 Re-export
sdl2
types.
0.3.0-alpha.1 - 2021-01-07
0.2.1 - 2020-07-29
Note: PR numbers from this point onwards are from the old
embedded-graphics/embedded-graphics
repository. New PR numbers above this note refer to PRs in theembedded-graphics/simulator
repository.
- #298 Added the
with-sdl
option (enabled by default) to allow optionally disabling SDL2 support. - #271 Add
MouseMove
event support to simulator.
0.2.0 - 2020-03-20
- (breaking) #266 Added image support and PNG export. See the
README.md
for information about how to use these features. The API for creating windows was changed to make the output settings independent of theWindow
type. The pixel scaling and theme settings were moved to a newOutputSettings
struct, that can be built using theOutputSettingsBuilder
.WindowBuilder
was removed and replaced by aWindow::new(title, &output_settings)
function.
0.2.0-beta.2 - 2020-02-17
- #183 Added limited mouse and keyboard event handling to the simulator in order to simulate input devices such as touch screens, buttons, or rotary encoders.
- #171 Added a more complex
analog-clock
example to the simulator - check it out for some more in-depth usage of Embedded Graphics.
- #192 Performance of drawing in the simulator is increased.
- #218 Test README examples in CI and update them to work with latest crate versions.
- (breaking) The simulator API changed.
- #203 updated simulator screenshots and added them to README
- The TGA example in the simulator now draws the image correctly
- The simulator is now available on crates.io as a standalone crate. You can now create simulated displays for testing out embedded_graphics code or showing off cool examples.
- The builtin simulator now supports colour pixel types, like
RGB565
.