pub const FRAMES: &[&str] = &[
"NoBox",
"FlatBox",
"UpBox",
"DownBox",
"UpFrame",
"DownFrame",
"ThinUpBox",
"ThinDownBox",
"ThinUpFrame",
"ThinDownFrame",
"EngravedBox",
"EmbossedBox",
"EngravedFrame",
"EmbossedFrame",
"BorderBox",
"ShadowBox",
"BorderFrame",
"ShadowFrame",
"RoundedBox",
"RShadowBox",
"RoundedFrame",
"RFlatBox",
"RoundUpBox",
"RoundDownBox",
"DiamondUpBox",
"DiamondDownBox",
"OvalBox",
"OShadowBox",
"OvalFrame",
"OFlatFrame",
"PlasticUpBox",
"PlasticDownBox",
"PlasticUpFrame",
"PlasticDownFrame",
"PlasticThinUpBox",
"PlasticThinDownBox",
"PlasticRoundUpBox",
"PlasticRoundDownBox",
"GtkUpBox",
"GtkDownBox",
"GtkUpFrame",
"GtkDownFrame",
"GtkThinUpBox",
"GtkThinDownBox",
"GtkThinUpFrame",
"GtkThinDownFrame",
"GtkRoundUpFrame",
"GtkRoundDownFrame",
"GleamUpBox",
"GleamDownBox",
"GleamUpFrame",
"GleamDownFrame",
"GleamThinUpBox",
"GleamThinDownBox",
"GleamRoundUpBox",
"GleamRoundDownBox",
];
pub(crate) fn get_frame(s: &str) -> Option<usize> {
FRAMES.iter().position(|&x| x == s)
}