Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FVWM - Default button styles applied when pixmap does
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dushkin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 94
Location: Your network

PostPosted: Wed May 26, 2004 7:40 pm    Post subject: FVWM - Default button styles applied when pixmap does Reply with quote

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
View user's profile Send private message
Team_Beast
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 97

PostPosted: Wed May 26, 2004 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
dushkin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 94
Location: Your network

PostPosted: Wed May 26, 2004 8:14 pm    Post subject: Reply with quote

Nope. I don't.
_________________
http://www.dushkin.org/ - Think different!
Back to top
View user's profile Send private message
Team_Beast
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 97

PostPosted: Wed May 26, 2004 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum