View previous topic :: View next topic |
Author |
Message |
dushkin Tux's lil' helper
Joined: 29 Apr 2004 Posts: 94 Location: Your network
|
Posted: Wed May 26, 2004 7:40 pm Post subject: FVWM - Default button styles applied when pixmap does |
|
|
I have a problem with my buttons on the window decorations.
Lately I have set my buttons new pixmaps. The pixmaps were smaller than the ones I had before, and revealed an annoying defect. The default vector style buttons are used -- EVEN THOUGH I have the pixmap set!
How do I set the buttons not to ruin my life?
Code: | ButtonStyle right \
ActiveUp (-- Flat) \
ActiveDown (-- Raised) \
Inactive (-- Flat)
AddButtonStyle 1 \
ActiveUp (Pixmap close_button.png -- flat) \
ActiveDown (Pixmap close_shadow.png -- flat) \
Inactive (Pixmap close_button.png -- flat)
AddButtonStyle 2 \
ActiveUp (Pixmap minimize_button.png -- flat) \
ActiveDown (Pixmap minimize_shadow.png -- flat) \
Inactive (Pixmap minimize_button.png -- flat)
AddButtonStyle 3 \
ActiveUp (Pixmap minimize_button.png -- flat) \
ActiveDown (Pixmap minimize_shadow.png -- flat) \
Inactive (Pixmap minimize_button.png -- flat)
AddButtonStyle 5 \
ActiveUp (Pixmap maximize_button.png -- flat) \
ActiveDown (Pixmap maximize_shadow.png -- flat) \
Inactive (Pixmap maximize_button.png -- flat) |
_________________ http://www.dushkin.org/ - Think different! |
|
Back to top |
|
|
Team_Beast Tux's lil' helper
Joined: 16 May 2004 Posts: 97
|
Posted: Wed May 26, 2004 8:10 pm Post subject: |
|
|
It sounds to me like you are still defining vectors in your fvwm2rc. I have pixmaps, but no vectors. Search your fvwm2rc for the word Vector, and maybe you still have it defined. Comment any suspect lines out with a # and see what happens. |
|
Back to top |
|
|
dushkin Tux's lil' helper
Joined: 29 Apr 2004 Posts: 94 Location: Your network
|
Posted: Wed May 26, 2004 8:14 pm Post subject: |
|
|
Nope. I don't. _________________ http://www.dushkin.org/ - Think different! |
|
Back to top |
|
|
Team_Beast Tux's lil' helper
Joined: 16 May 2004 Posts: 97
|
Posted: Wed May 26, 2004 9:01 pm Post subject: |
|
|
Sorry, cant really think of anything else it could be. Here's my titlebar settings, see if that helps Code: | ##########################################################
# Titlebar Settings
##########################################################
DestroyFunc FuncFvwmDecorBackground
AddToFunc FuncFvwmDecorBackground
+ I TitleStyle AllActive TiledPixmap decoration/iconbarf.png
+ I TitleStyle AllInactive TiledPixmap decoration/iconbaru.xpm
+ I ButtonStyle All Simple -- UseTitleStyle
FuncFvwmDecorBackground
+ I FuncFvwmDecorBackground
AddButtonStyle 1 \
ActiveUp (Pixmap decoration/stick.xpm -- flat) \
ActiveDown (Pixmap decoration/stick.xpm -- flat) \
Inactive (Pixmap decoration/stick.xpm -- flat)
AddButtonStyle 6 \
ActiveUp (Pixmap decoration/icon.xpm -- flat) \
ActiveDown (Pixmap decoration/icon.xpm -- flat) \
Inactive (Pixmap decoration/icon.xpm -- flat)
AddButtonStyle 4 \
ActiveUp (Pixmap decoration/max.xpm -- flat) \
ActiveDown (Pixmap decoration/max.xpm -- flat) \
Inactive (Pixmap decoration/max.xpm -- flat)
AddButtonStyle 2 \
ActiveUp (Pixmap decoration/close.xpm -- flat) \
ActiveDown (Pixmap decoration/close.xpm -- flat) \
Inactive (Pixmap decoration/close.xpm -- flat)
Style "*" Button 1, Button 2, Button 4, Button 6
Style "*" FvwmButtons
AddToFunc FuncFvwmReloadDecor
+ I BorderStyle Simple -- HiddenHandles NoInset
+ I TitleStyle -- Flat
+ I ButtonStyle All -- Flat
FuncFvwmReloadDecor
TitleStyle Height 16
########################################################## |
|
|
Back to top |
|
|
|