FLTK logo

Re: [fltk.general] Custom theming?

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: Custom theming? Albrecht Schlosser Oct 04, 2016  
 
On 04.10.2016 18:24 aditya siram wrote:
Is there an SVN branch for 1.4? If so, can someone post a link? I can't
seem to find it.

The current branch-1.3-porting in svn and git is (or will be) the future branch 1.4. Its internal version number is already 1.4.0, but its name is branch-1.3-porting for historical reasons.

I'd like to get a feel for what the new theming feature
might look like.

Development of the new theming feature (likely: Fl_Scheme) has not yet been started. There are only ideas and a basic plan: in general the plan is only to rebuild the existing FLTK schemes using a more modular way with a class hierarchy with virtual methods, similar to the driver classes that already exist in branch-1.3-porting.

The first step will allow different box types, just as it is now. Following steps should allow to change more graphical elements like arrows, check boxes, maybe scrollbars, etc.. The main goal is more flexibility w/o the need to change the library code to add a new scheme. New schemes should basically be implemented in one header file and one source file, maybe loadable like plugins, but at least linkable with the application, like any other class you develop yourself. If you want to create a new scheme you should be able to derive your own My_Nice_Scheme class from any existing Fl_Scheme_Something class and implement only the details that should be different.

So far the plan...

--
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.
For more options, visit https://groups.google.com/d/optout.

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'.