pub(crate) fn draw_headerbar(
    pixmap: &mut PixmapMut<'_>,
    text_pixmap: Option<&Pixmap>,
    scale: f32,
    maximizable: bool,
    is_maximized: bool,
    tiled: bool,
    state: WindowState,
    colors: &ColorTheme,
    buttons: &Buttons,
    mouses: &[Location]
)