Re: [fltk.general] "Flat" App Scheme

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: "Flat" App Scheme Greg Ercolano 23:53 Apr 26 top right image

On 4/26/21 11:29 PM, Webb Hinton wrote:

What do people think about offering  a "Flat" scheme for FLTK?

I think this would make for a lot of out of the box appeal, and when people are shopping around for GUI libraries, having a couple style options is certainly a big plus. 

I think there's no arguing as well that GUI design trends have moved away form skeuomorphisms. 

I know this might go against the "Light" in FLTK, but could go a long way into giving the library a more modern look.

    I like the idea -- just in the last week or so I had to make an FLTK project with a flat
    UI to spec. It was easy to do though by just changing the buttons to FL_FLAT_BOX
    and playing around with the colors.

    But it would be nice if it could all be switched with Fl::scheme().

    A flat scheme would be easier to implement than the other schemes we have
    already, as there's probably not much to it.

    Also,  now that FLTK has SVG, that could be leveraged for antialiased lines
    to do the subtle curves on the buttons and boxes, if one wanted to get "fancy".

    FLTK 1.x doesn't really provide an "easy" way for end users to re-theme all
    the FLTK widgets; IIRC you pretty much have to hack FLTK's code to add a new
    scheme. So providing, for example, an SVG based scheme wouldn't be something
    one could do as an external project AFAIK.. unless it were provided as a patch.

    It's been discussed to provide a way to allow scheming more easily, but
    I don't think anyone's come up with a demo, let alone an API design that
    works for 1.x.

    I think FLTK 2.x might have provided this, not sure..
    I never got familiar with 2.x

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
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

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