[openbeos] Re: new Screen preflet
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Sat, 23 Nov 2002 18:43:22 +0100 CET
Jack Burton <burton666@xxxxxxxxx> wrote:
> Hope you don't mind if I hacked a little the Screen preflet code...
> Now it works as it should.
> What I did:
> - cleanup the code a bit
> - fixed the app so that you can actually change the resolution
> - you can now use ANY resolution your graphics card supports.
Haven't looked at the code, but sounds nice ;-))
> - There's a bug so that if you select the "other refresh" menu
> option, the
> number gets truncated and not rounded (anyone knows why BeOS doesn't
> have
> the round() function?)
It does have, it's defined in "math.h". It's only missing in the PPC
version of BeOS, and we don't have to care about that one at all.
Adios...
Axel.
Other related posts: