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 01, 2022  
 

roger tunnicliffe
8:25 AM (2 hours ago) 
to fltk.general
Still not quite sure here.
I checked the documentation (Color & Font functions) and could only find fl_font which seemed to be part of an fl_draw package.
I expected calls for things like         
         win2_flag1->textsize(11);    ... but globally 
        win2_flag1->labelsize(11); .......but globally
etc...

Do they exist ?

On Saturday, October 1, 2022 at 1:49:27 AM UTC+10 Albrecht Schlosser wrote:
On 9/30/22 17:22 'Philip Rose' via fltk.general wrote:

From: roger tunnicliffe
Sent: 30 September 2022 14:17
To: fltk.general
Subject: [fltk.general] Re: can I change the default attributes so I can set"global attributes"

 

Great, thanks very much

Cheers

[...]

Thanks, I have been wondering how to do this as well. It’s a pity that you have to change the meaning of FL_HELVETICA as that distracts from its real meaning.


Yes, indeed.

It would maybe have been better to use a functional name for this font in the first place, something like FL_SYSTEM_TEXT_FONT, but that's really old history. I guess this name was chosen in the very beginning of FLTK development or it was even predefined by Xforms which was the library FLTK was intended to replace. But that's only a guess.

--
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/9ed46018-ba1a-41a9-a9b6-97ec3c7f516dn%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'.