all: remove traditional i3 titlebars, add corner rounding
This commit is contained in:
parent
e1928863d9
commit
a41dbae899
52 changed files with 1866 additions and 1047 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#![allow(clippy::excessive_precision)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use {
|
||||
crate::{
|
||||
|
|
@ -22,12 +23,14 @@ pub struct Icons {
|
|||
icons: CopyHashMap<i32, Option<Rc<SizedIcons>>>,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Copy, Clone, Debug, Linearize)]
|
||||
pub enum IconState {
|
||||
Active,
|
||||
Passive,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct SizedIcons {
|
||||
pub pin_unfocused_title: StaticMap<IconState, Rc<dyn GfxTexture>>,
|
||||
pub pin_focused_title: StaticMap<IconState, Rc<dyn GfxTexture>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue