mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
refactor: add LAB_BS_DEFAULT in lab_button_state
This commit is contained in:
parent
36d6e9ef75
commit
bffdccf8dc
4 changed files with 10 additions and 5 deletions
|
|
@ -1531,8 +1531,8 @@ theme_finish(struct theme *theme)
|
|||
{
|
||||
for (enum ssd_part_type type = LAB_SSD_BUTTON_FIRST;
|
||||
type <= LAB_SSD_BUTTON_LAST; type++) {
|
||||
for (uint8_t state_set = 0; state_set <= LAB_BS_ALL;
|
||||
state_set++) {
|
||||
for (uint8_t state_set = LAB_BS_DEFAULT;
|
||||
state_set <= LAB_BS_ALL; state_set++) {
|
||||
destroy_img(&theme->window[THEME_INACTIVE]
|
||||
.button_imgs[type][state_set]);
|
||||
destroy_img(&theme->window[THEME_ACTIVE]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue