walkit 0.10.1

Modern Winamp skin engine: .wal skins, MAKI scripts, a draw list for any renderer
Documentation
// SPDX-License-Identifier: GPL-3.0-or-later

//! A Winamp skin engine. It reads a modern skin (a `.wal` file: XML, images and MAKI
//! scripts) or a classic skin (a `.wsz` file, see [`classic`]), runs the scripts, lays the
//! windows out and hands the host a draw list for each frame. The host owns the screen, the
//! images, the fonts, the touch input and the player; the engine never draws, reads a file or
//! plays a sound.

#![forbid(unsafe_code)]
#![warn(missing_docs)]

pub mod classic;
pub mod draw;
mod fasthash;
pub mod files;
pub mod gdi;
pub mod generated;
pub mod gui;
pub mod host;
pub mod listing;
pub mod maki;
pub mod packed;
pub mod plan;
pub mod player;
pub mod runtime;
pub mod text;
#[cfg(feature = "truetype")]
pub mod truetype;
pub mod xml;

pub use runtime::SkinRuntime;

/// The version of the trace text the engine writes in a scripted run (`trace v1`).
pub const TRACE_VERSION: u32 = 1;

#[cfg(test)]
mod tests {
    #[test]
    fn the_trace_format_is_the_first() {
        assert_eq!(super::TRACE_VERSION, 1);
    }
}