FLTK logo

Re: [fltk/fltk] Not possible to raise font size (Issue #371)

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.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Not possible to raise font size (Issue #371) Matthias Melcher Jan 14, 2022  
 

I agree that styles are an FLTK 1.5 issue.

It's much more though. It avoids repeating the same attributes over and over and makes FLTK's footprint much smaller.

Think of how styles are used in text editors like MSWord: if you want a headline, you just set the style to headline. You wouldn't want to set size 21, Helvetica bold, align left over and over again for every headline that you write. And if you want to change the size of all headlines, you just change the style, instead of finding every text that happens to be Helvetica bold 21, and update each one.

I'll be happy to delay discussion until 1.5, but I want to warn about introducing many new settings for margins and colors without keeping a possible future style system in mind.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/371/1013437163@github.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'.