feat(themes: default): add icons for minimize button

This commit is contained in:
actionless 2015-08-06 21:39:09 +02:00
parent 32a4a0e261
commit 0318c61328
4 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,8 @@ theme.menu_width = 100
-- Define the image to load
theme.titlebar_close_button_normal = "@AWESOME_THEMES_PATH@/default/titlebar/close_normal.png"
theme.titlebar_close_button_focus = "@AWESOME_THEMES_PATH@/default/titlebar/close_focus.png"
theme.titlebar_minimize_button_normal_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/minimize_normal.png"
theme.titlebar_minimize_button_focus_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/minimize_focus.png"
theme.titlebar_ontop_button_normal_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_normal_inactive.png"
theme.titlebar_ontop_button_focus_inactive = "@AWESOME_THEMES_PATH@/default/titlebar/ontop_focus_inactive.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

View File

@ -164,6 +164,7 @@ function theme_assets.recolor_titlebar_normal(theme, color)
'titlebar_floating_button_normal_active',
'titlebar_maximized_button_normal_inactive',
'titlebar_maximized_button_normal_active',
'titlebar_minimize_button_normal_inactive',
}) do
theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color)
end
@ -181,6 +182,7 @@ function theme_assets.recolor_titlebar_focus(theme, color)
'titlebar_floating_button_focus_active',
'titlebar_maximized_button_focus_inactive',
'titlebar_maximized_button_focus_active',
'titlebar_minimize_button_focus_inactive',
}) do
theme[titlebar_icon] = recolor_image(theme[titlebar_icon], color)
end