Bitmap 8bits WITH colortable - 16bits screen on Os 5 ...

2003-09-29 Thread Bertrand Simon
I try to call WinDrawBitmap  with an 8bits bitmap WITH COLORTABLE to a 16
bits Window/Screen...

It works fine on the OS 5 Simulator (correct colors), but on the real device
(Tungsten-T) it is displayed as if the bitmap was not having colortable ...

Any explanation / workaround / solution ??

Bertrand Simon.
http://GPSpilot.com



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


Tungsten C and NilEvent problem ?

2003-08-22 Thread Bertrand Simon
Does anybody knows about problems on nilEvent ONLY on Tungsten C.

Simple code like :

EvtGetEvent(event, sysTicksPerSecond);
if (event.eType==nilEvent)  UpdateDisplay();

does not work on T|C only ...

Any hints will be appreciated :-)

Bertrand Simon.
http://GPSpilot.com



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


BmpCreate BmpCompress on OS 5

2003-03-20 Thread Bertrand Simon
BmpCreate does not initialize the version attribute of the bmp, and
BmpCompress does not compress bitmaps anymore (it works on previous OS)

Somebody aware of a work around for a BmpCreate  BmpCompress ?

Thanks for any advices ...

Bertrand Simon
http://GPSpilot.com





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


BmpCreate/BmpCompress on OS 5

2003-03-14 Thread Bertrand Simon
Somebody aware of a work around for a BmpCreate  BmpCompress ?

BmpCreate does not initialize the version attribute of the bmp, and
BmpCompress does not compress bitmaps anymore (it works on previous OS)

Thanks for any advices ...

Bertrand Simon
http://GPSpilot.com



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


Re: Compression

2003-02-26 Thread Bertrand Simon
The Palm Bitmap API is screwed on 5.0 :

BmpCreate returns a version 0 (supposed to be version 2) bitmap.

BmpCompress does not compress anymore (used to work fine)

Maybe Palm should have kept its testing team  Will see the OS 6 !

Bertrand Simon.

N [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]

 My application needs to store bitmap, created
 dynamically at runtime, in database.  Since OS 5 use
 shadow structure I have to create my own bitmap
 resource at runtime.  Palmsource have given a sample
 on the web

(http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/fattach_get.php
?p_sid=u8n_-LCgp_tbl=9p_id=341p_created=1034101535)
 , which creates a single bitmap resource for different
 versions of bitmap.

 This code creates bitmap on OS 5 as single resource
 and now I can save and restore bitmap on OS 5.  I am
 creating and storing V2 type bitmaps.  But
 BmpCompress does not compress this resource and data
 saved takes lots of memory.

 I am wondering if anybody able to resolve it without
 using any third party utility.

 Thanks in advance.

 Best Regards

 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/





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


How to set the screen off.

2003-02-05 Thread Bertrand Simon
I want to record data over a long period of time, but do not need the
display to be used.

Is there a way to turn the display off for battery saving reason, but keep
the loop event running.

Thanks,

Bertrand Simon

http://GPSpilot.com



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