You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update documentations (make toggled_hover the de facto and hover_toggled the fallback) (Icon refactoring #1305)
Revert max_hover_toggled svg/png support. Openbox does not support png/svg so there is no need to support backward compatibility with max_hover_toggled-{active,inactive}.{png,svg} (Icon refactoring #1305)
Use better fallback hierarchy where there are missing icons. It's likely that max, iconify, close and menu will need to fallback on to built-in xbm arrays, but foo_hover, foo_toggled, etc should probably fallback onto the foo buffers. (Icon refactoring4 #1339)
Refactor xbm fallbacks... consider passing less arguments to button_xbm_load(), and possibly have a dedicated function to load the builtin mask if not file exists. (Icon refactoring4 #1339)
Add button overlay (probably best implemented by adding it directly to the buffers) if hover icons does not exist (could make this optional, but is would be a good default option - and avoid regression). (Icon refactoring4 #1339)
Try to remove struct ssd_hover_state all together by a pointer-to-a-pointer **icon which we just point to &normal, &toggled, &hover, &toggled_hover in response to cursor movement.
Try to remove code duplications in `button_xbm_load().
Titlebar button TODO
Re: #1280
ssd_hover_state
variablesmaximized
+old_node
(src/ssd: refactor button hover and maximize toggle #1289)toggled_hover
the de facto andhover_toggled
the fallback) (Icon refactoring #1305)max_hover_toggled-{active,inactive}.{png,svg}
(Icon refactoring #1305)max
,iconify
,close
andmenu
will need to fallback on to built-in xbm arrays, butfoo_hover
,foo_toggled
, etc should probably fallback onto thefoo
buffers. (Icon refactoring4 #1339)button_xbm_load()
, and possibly have a dedicated function to load the builtin mask if not file exists. (Icon refactoring4 #1339)Try to removestruct ssd_hover_state
all together by a pointer-to-a-pointer**icon
which we just point to&normal
,&toggled
,&hover
,&toggled_hover
in response to cursor movement.labwc/src/button/button-xbm.c
Lines 286 to 294 in 02aa000
For later...
s/restore/max_toggled/
intheme.c
for consistency.The text was updated successfully, but these errors were encountered: