On 02 Jul 2002 00:28:53 +0200, Sergio Nasi wrote:
>
> On Mon, Jul 01, 2002 at 10:44:29AM +0000, Mikhael Goikhman wrote:
> >
> > It would
> > be nice to have an option to shift an Action button foreground (icon,
> > text) in +2+2 pixels when pressed. Something like "PressedOffset 2 2".
> > Maybe I will add this later when I have a time. Any other volunteer?
>
> So, since you're seeking for volunteers Mikhael, I can try to hack the
> fvwm code to get what you're suggesting (got not so much spare time,
> though)
>
> This list is strictly not for developers, but could you try to direct me
> on the right path?
I suggest to take a look at how "Padding x y" option is implemented and
implement "PressedOffset x y" (or however you will call it) similarly.
Searching for "Padding" in FvwmButtons/*.[ch] should be a good start.
You may parse option args using GetIntegerArguments from libs/Parse.c.
I suggest to make the second integer optional, it may be set to the
first one if omitted, negative values supported, 0 is the current default.
If you need more help, don't hesitate to ask on fvwm-workers_at_fvwm.org.
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jul 01 2002 - 18:08:27 BST