> The problems is, that "WinScreenMode" defines only 8-bit color depth only
on
> the real device

What do you mean by this?  If you are looking at the currect screen depth of
the device it's quite possible it's in 8-bit mode.  Just because a device
has the capability to operate in 16-bit mode doesn't mean it's always in
that mode.  You can set a color device to operate in monocrome mode if you
want to.  Many of the drawing functions are significantly faster in 256
color mode and the image quality of basic bitmaps between 8bit and 16bit is
insignificant enough to allow this.

You can use WinScreenMode to return the supported color depths of the device
and also to set the screen mode.  Use winScreenModeGetSupportedDepths to
detect supported color depths on the device.

I've done a lot of work with WinScreenMode on countless different devices
and it has always worked as described.  I'd be very surprised if it
contained any bugs (although it's possible).

-- 
Tim Kostka
http://www.nuprograms.com


"Sinoptic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi everyone!
>
> I work with Sony Clie NX-60 device (which has 16-bit color screen)
>
> and use PalmOS 5.x hi-resolution API in my software.
>
>
>
>
>
> and 16-bit (which is true) on Sony Clie Simulator.
>
> When I disregard 8-bit from "WinScreenMode" and set 16-bit on real device
> (because I know)
>
> it works excellent, it seems that "WinScreenMode" in getting screen depth
> doesn't work correctly
>
> with Clie NX series. Software cannot define the true device capability.
>
>
>
> Is there any way to get true screen depth on real Clie device for STANDARD
> PalmOS API?
>
> (CLIE devices that works in HiRes with Sony HRLibrary only must
separated!)
> Maybe someone has resolved this issue.
>
>
>
> Thank you very much.
>
> Sinoptic.
>
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to