Re: Font size property in stk::label
Marc Strämke <[email protected]> Fri, 12 Sep 2003 18:23:14 +0200
| Newsgroups | gmane.comp.embedded.stk.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
I didnt move any drawing code to the widget, only the property! The theme extracts the information it needs! Darren Vincent Hart wrote: > Marc, > > This needs to be discussed in some detail I think. I am concerned with > moving any drawing specific code into the widgets themselves, but I > understand the need for different sized / colored labels. Perhaps this > should be a little higher up in the hierarchy since label isn't the only > widget which uses fonts. I am in IRC atm if you want to fight... uh > talk... about it. *g* > > Darren > > On Fri, 2003-09-12 at 08:52, Marc Strämke wrote: > >>If noone minds, i'll add a font size property to stk::label, imo this >>seems like the clearest way for me to have different label sizes in the >>gui, to leave control over the default font size to the theme i'am >>thinking about using boost::optional, so that if no value is specified >>the theme may decide up-on the default size. >>I would greatly appreciate some feedback about such property's because i >>might run into the need for these more often in my applikation, we >>should maybe discuss some standard policy about display relevant widget >>properties. >> >>Marc >> >> >> >>_______________________________________________ >>Libstk mailing list >>Libstk@Óq«LD" >>http://www.dvhart.com/cgi-bin/mailman/listinfo/libst > > k