mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
Simplify FemtoVG and Skia renderer API (#3153)
Fold show() into the first time render() is invoked, and hide() into the Drop implementation.
This commit is contained in:
parent
2a56e25788
commit
507428b03e
11 changed files with 59 additions and 116 deletions
|
|
@ -492,10 +492,6 @@ public:
|
|||
{
|
||||
cbindgen_private::slint_skia_renderer_resize(inner, size);
|
||||
}
|
||||
|
||||
void hide() const { cbindgen_private::slint_skia_renderer_hide(inner); }
|
||||
|
||||
void show() const { cbindgen_private::slint_skia_renderer_show(inner); }
|
||||
};
|
||||
|
||||
/// Call this function at each iteration of the event loop to call the timer handler and advance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue