FLTK logo

Re: [fltk.general] Subclassing a plastic Fl_Button

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Subclassing a plastic Fl_Button Gonzalo Garramuño Aug 11, 2021  
 

El 11/8/21 a las 21:19, Greg Ercolano escribió:

On 8/11/21 5:00 PM, Gonzalo Garramuño wrote:

I would like to subclass a plastic Fl_Button and change it to a flat drawing
before getting pressed.

    I'm assuming when you say 'plastic button' you mean one of the FL_PLASTIC_XXX_BOX     values, and not Fl::scheme("plastic"), or you'd have described it as a plastic scheme
    with a button.

No, you got it backwards.  I have an Fl::scheme( "plastic" ) and I want one of the buttons to be flat.  How do I go about it?


--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/16fceab1-4264-c60d-ad95-b30c576ff3fe%40gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.