1
0
Fork 0
forked from wry/wry

icons: add icon infrastructure

This commit is contained in:
Julian Orth 2025-04-24 11:40:47 +02:00
parent 4970749924
commit 9192446602
10 changed files with 343 additions and 3 deletions

View file

@ -1,6 +1,7 @@
use {
crate::{
gfx_api::{AcquireSync, GfxApiOpt, ReleaseSync, SampleRect},
icons::SizedIcons,
ifs::wl_surface::{
SurfaceBuffer, WlSurface,
x_surface::xwindow::Xwindow,
@ -27,6 +28,8 @@ pub struct Renderer<'a> {
pub state: &'a State,
pub logical_extents: Rect,
pub pixel_extents: Rect,
#[expect(dead_code)]
pub icons: Option<Rc<SizedIcons>>,
}
impl Renderer<'_> {