Both sides previous revisionPrevious revisionNext revision | Previous revision |
howto:xfwm4_theme [2024/12/14 01:18] – grammar & formatting improvements kevinbowen | howto:xfwm4_theme [2024/12/14 02:09] (current) – improved grammar & formatting kevinbowen |
---|
| |
===== Titlebar decorations ===== | ===== Titlebar decorations ===== |
| For title bar decorations, xfwm4 uses five pixmaps named ''title-1-active.xpm'' to ''title-5-active.xpm''. For the window corners, the pixmaps used are ''top-left-active.xpm'' and ''top-right-active.xpm'' (see figure 2 below). |
| |
For title bar decorations, xfwm4 uses five pixmaps named ''title-1-active.xpm'' to title-5-active.xpm''. For the window corners, the pixmaps used are ''top-left-active.xpm'' and ''top-right-active.xpm'' (see figure 2 below). | |
| |
Windows can be in either an active(i.e. focused) or inactive(i.e. unfocused) state. For these, xfwm4 use pixmaps named accordingly: ''title-1-active.xpm'' and ''title-1-inactive.xpm''. | Windows can be in either an active(i.e. focused) or inactive(i.e. unfocused) state. For these, xfwm4 use pixmaps named accordingly: ''title-1-active.xpm'' and ''title-1-inactive.xpm''. |
| |
| |
| |
| {{ howto:xfwm4:xfwm4-window-pixmaps.gif |Figure 2 - The pixmaps that compose the whole window}} | | | {{ howto:xfwm4:xfwm4-window-pixmaps.gif |Figure 2 - The pixmaps that compose the whole window}} | |
| Figure 2 - The pixmaps that compose the whole window | | | Figure 2 - The pixmaps that compose the whole window | |
The same naming convention is true for unfocused windows with the word inactive substituted.e.g. title-1-inactive.xpm | |
| The same naming convention is true for unfocused windows with the word "inactive" substituted: for example, "title-1-inactive.xpm". |
| |
Title text colour, shadow options, alignment, etc. are set in the [[#Themerc file|.themerc file]]. | Title text colour, shadow options, alignment, etc. are set in the [[#Themerc file|.themerc file]]. |
* close. | * close. |
| |
Buttons have active(i.e. focused), inactive(i.e. unfocused), prelight and pressed states. As per figures 3 below: | Buttons can have the following states: |
AbiWord Image menu-active.gif AbiWord Image menu-inactive.gif AbiWord Image image_2.gif | * active(i.e. focused) |
| * inactive(i.e. unfocused) |
| * prelight |
| * pressed states |
| |
| As per figure 3: |
| |
^ Figure 3 - Xfwm4 button states ^ | ^ Figure 3 - Xfwm4 button states ^ |
| {{howto:xfwm4:image_2.gif}} {{howto:xfwm4:menu-inactive.gif}} {{howto:xfwm4:menu-active.gif}} | | | {{howto:xfwm4:image_2.gif|pressed button state}} {{howto:xfwm4:menu-inactive.gif|inactive button state}} {{howto:xfwm4:menu-active.gif|active button state}} | |
| |
Xfwm4 can also used "toggled" buttons to indicated whether buttons are toggled on or off - figure 4. | Xfwm4 can also use "toggled" buttons to indicated whether buttons are toggled on or off - See figure 4. |
AbiWord Image stick-active.gif AbiWord Image stick-inactive.gif AbiWord Image stick-pressed.gif AbiWord Image stick-toggled-active.gif AbiWord Image image_3.gif AbiWord Image stick-toggled-pressed.gif | - On the left: |
| - stick pressed |
| - stick inactive |
| - stick active |
| - On the right: |
| - stick toggled pressed |
| - stick toggled inactive |
| - stick toggled active |
| |
^ Figure 4 - Stick buttons with extra toggled buttons ^^ | ^ Figure 4 - Stick buttons with extra toggled buttons ^^ |
| {{howto:xfwm4:stick-active.gif}} {{howto:xfwm4:stick-inactive.gif}} {{howto:xfwm4:stick-pressed.gif}} | {{howto:xfwm4:stick-toggled-pressed.gif}} {{howto:xfwm4:stick-toggled-active.gif}} {{howto:xfwm4:image_3.gif}} | | | {{howto:xfwm4:stick-pressed.gif|stick button pressed}} {{howto:xfwm4:stick-inactive.gif|stick button inactive}} {{howto:xfwm4:stick-active.gif|stick button active}} | {{howto:xfwm4:stick-toggled-pressed.gif|stick button toggled pressed}} {{howto:xfwm4:image_3.gif|stick button toggled inactive}} {{howto:xfwm4:stick-toggled-active.gif|stick toggled active}} | |
| |
Xfwm4 4.6 brings a new button effect of the active window called prelight. Hovering the mouse over the buttons, the picture becomes clearer. Can be used in the six active buttons. | As of Xfwm4 4.6, a new button effect of the active window is available called prelight. Hovering the mouse over the buttons, the picture becomes clearer. This can be used in all of the six active buttons. |
| |
[[|Back to Top]] | [[|Back to Top]] |