On 03/22/12 11:37, Evan Laforge wrote:
> The vast majority of people use windows or the mac, and are told "like
> it or lump it".  And they do, though it's probably mostly neither like
> nor lump but just not care.  So the "hate" is a tempest in a teapot
> and the "require" is not really requirement.  I know there's a cottage
> industry of people who crank out themes but I think they mostly do it
> for each other, are a tiny minority, and are probably never going to
> care about fltk anyway since hardly any apps use fltk.
> 
> And yeah, I definitely agree nice is subjective, but I'd take that to
> mean the problem is unsolvable since it's just fashion and will always
> change.  So unless you have the manpower to spend on elaborate
> customization engines, easiest route is to get up to "usable",
> incorporate some reasonable things that are not about to change, like
> antialiasing, and call it a day.  There are enough things that are not
> fashion and are really requirements for some people, like non-latin
> IME, right-to-left, etc.

        I hear you, though it would be good and non-bloating I think
        if we had a 'standardized' way to be able to allow folks to
        customize the interface's "look" via the API.

        For instance, I could see something like:

                MyScheme *foo = new MyScheme();
                Fl::register_scheme("my-kooky-scheme", foo);

        ..and this would add all the hooks needed into all of FLTK's
        draw() routines to allow the user to redefine the look of
        the various widgets.

        This is of course is probably tricky to do, as some of our
        widgets have complex draw() code. But perhaps the 'draw only'
        aspects can be hooked with appropriate documentation.

        I could see these 'hooks' being done with function pointers
        (instead of the 'if (strcmp()'s we have now, IIRC) for speed
        and flexibility. So for instance, calling Fl::scheme("whatever")
        would just change around a bunch of function pointers used
        throughout our widget's draw() code.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to