FLTK logo

Re: [fltk.general] Re: can I change the default attributes so I can set"global attributes"

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: Re: can I change the default attributes so I can set"global attributes" roger tunnicliffe Oct 02, 2022  
  Thx Manolo, I'll give that a try later this afternoon.

Albrecht. It's probably a bit premature but I did want to ask what sort of acknowledgement your project should be given when I document how fltk could be used in languageONE.
There has been no special "feature" built into languageONE to support fltk, I will just use an example program to demonstrate how it can be done. I have linked the static library up until
now and believe that it's ok to distribute but I make no such distributions and have no clients etc. (languageONE is just a pet project that's keeps dimentia away.)
The choice to use fltk in developing a languageONE project would be left to any individual who cared to do so, in the same way as I have provided a http interface up until now.

 Albrecht.. I really like fltk. It is something that I have been looking for for a while now and it fits almost seamlessly into a languageONE project. I would be interested to learn the status
of the project and how "alive" it is at the moment. As someone who has come to it without the required base knowledge (C++) it is reasonable easy to pick up and put into practice.
(I think you would be horrified if your saw how I coded it (lol). 

Congratulations to all there who work on it.

cheers
Roger Tunnicliffe


On Monday, October 3, 2022 at 12:22:41 AM UTC+11 Albrecht Schlosser wrote:
On 10/2/22 05:42 roger tunnicliffe wrote:
> I have been thru Enumerations and I can't find the variable so how to
> do I set all box types to FL_THIN_UP_BOX globally
> Thx

That's not possible because most of the FLTK widgets *assign* a boxtype
in their constructors or inherit that assignment from their base classes.

Manolo explained a way to derive your own classes with some special
assignments. This is standard C++ class inheritance applied to FLTK widgets.

If you're going to include FLTK in your language you'll probably need to
do more of such "manipulations" of FLTK classes to fit your needs. A
thorough understanding of FLTK widgets and their hierarchies caused by
C++ inheritance (which is an important topic in itself) is really
recommended.


--
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/d488d7bf-265f-4892-9ce1-5c99a55ff063n%40googlegroups.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'.