[haiku-development] Re: HiDPI strategies, current and future

  • From: Zenja Solaja <solaja@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 31 Aug 2021 10:41:46 +1000

And my mail client missed the asterisk, you've already accounted for the
copy.  Back to my cave ...

On Tue, 31 Aug 2021 at 10:32, Zenja Solaja <solaja@xxxxxxxxx> wrote:

The global shared be_plain_font would get altered if you got a direct
pointer to it, while what the user probably wants is to change the local
views font.  The API gets a copy to preserve the original.

On Tue, 31 Aug 2021 at 10:24, Mr. waddlesplash <waddlesplash@xxxxxxxxx>
wrote:

While we are discussing font-related things: does anyone have or know
a good reason why "void BView::GetFont(BFont* font)" should not just
become "BFont BView::Font()"? Perhaps there was some strange compiler
limitation on BeOS that led the engineers to declare the function that
way, but we have no such limitations, and especially if we are going
to be passing the View's Font around more following this proposal, it
would seem to make sense to make this change.

-waddlesplash


Other related posts: