pub fn write( w: &mut W, flags: &[Flag], panel_skin: &PanelSkin) -> Result<(), ProgramError>
draw the flags