widgets: Add some widget descriptions

This commit is contained in:
Sophie Herold 2023-03-06 22:59:40 +01:00
parent 9535b33b11
commit f12ff1ea4d
4 changed files with 24 additions and 1 deletions

View file

@ -16,6 +16,17 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later
//! A widget that shows images and handles control inputs
//!
//! This widget handles showing the right section of the image
//! with a spicfic zoom level and rotation. It also handles control
//! input that change those properties.
//!
//! While this widget logically coposes the image, decoding images
//! and composing the textures happens in [`decoder`].
//!
//! [`decoder`]: crate::decoder
use crate::deps::*;
use crate::decoder::{self, tiling, Decoder, DecoderUpdate};