mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
preprocess the images at compile time
For the MCU port, we need to proccess the image to save them in the binary in a convenient format. This patch start this work by trying to anaylyze what format should an image be using, and saving it as a texture in the binary. The current graphical backend and the C++ frontend are not yet supported
This commit is contained in:
parent
d539d4be79
commit
d1cae710df
21 changed files with 452 additions and 65 deletions
|
@ -257,11 +257,7 @@ pub mod re_exports {
|
|||
free_component_item_graphics_resources, init_component_items, Component, ComponentRefPin,
|
||||
ComponentVTable,
|
||||
};
|
||||
pub use sixtyfps_corelib::graphics::{
|
||||
Brush, GradientStop, Image, ImageInner, LinearGradientBrush, PathArcTo, PathCubicTo,
|
||||
PathData, PathElement, PathEvent, PathLineTo, PathMoveTo, PathQuadraticTo, Point, Rect,
|
||||
Size,
|
||||
};
|
||||
pub use sixtyfps_corelib::graphics::*;
|
||||
pub use sixtyfps_corelib::input::{
|
||||
FocusEvent, InputEventResult, KeyEvent, KeyEventResult, KeyboardModifiers, MouseEvent,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue