Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

GDK reference guide

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

P Jean dit Bailleul

Does anyone have a reference other than the one the www.gtk.org site, I'm having troubles with the implementation of TBitmap. The part on cmap is not documented.

Thanks
P Jean dit Bailleul ()

Reply by email

P Jean dit Bailleul
to Shane Miller: Do you have any specific question about how to use the cmap that perhaps we could answer?…

I'd like to know how it interact with the pixmap to know how i should handle the color map of bmp file. currently, and for test purpose only, I do it in my "own" format and translate anything to pixmap.

you wrote
Do you have any specific question about how to use the cmap that perhaps

we could answer? Otherwise, the only other reference I've seen (next to www.gtk.org) is the book that's oput but I'll have to see if it references the CMAP or not.

Show quoted text 26 lines
Shane >>> P Jean dit Bailleul 08/04 6:40 AM >>> Does anyone have a reference other than the one the www.gtk.org site, I'm having troubles with the implementation of TBitmap. The part on cmap is not documented. Thanks P Jean dit Bailleul () _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

P Jean dit Bailleul ()

Reply by email

Shane Miller

I am only familiar with Colormap (a little familiar) and what I understand, if you are basically trying to get the pallette, you should use the colormap.

Shane

>> P Jean dit Bailleul 08/04 8:47 PM >>>

Since the BMP reader is written in plain FPC code, i have to create the colormap. I'm wondering if I should use ColorMap or cmap (i can't find what the deferences are) since there is no description of the Cmap.

you wrote 34 lines
If you have a pixmap, you have to look at it's color map. GetValues or getgc gives you that info I believe. -----Original Message----- From: P Jean dit Bailleul To: Date: Wednesday, August 04, 1999 2:13 PM Subject: Re: [lazarus] GDK reference guide > >I'd like to know how it interact with the pixmap to know how i should >handle the color map of bmp file. currently, and for test purpose only, I >do it in my "own" format and translate anything to pixmap. > >At 08:35 04/08/99 -0500, you wrote: >>Do you have any specific question about how to use the cmap that perhaps >we could answer? Otherwise, the only other reference I've seen (next to >www.gtk.org) is the book that's oput but I'll have to see if it references >the CMAP or not. >> >> >>Shane >> >> >>>>> P Jean dit Bailleul 08/04 6:40 AM >>> >> >> >>Does anyone have a reference other than the one the www.gtk.org site, I'm >>having troubles with the implementation of TBitmap. The part on cmap is not >>documented. >> >>Thanks >>P Jean dit Bailleul ()

P Jean dit Bailleul ()

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

P Jean dit Bailleul
to Shane Miller: If you have a pixmap, you have to look at it's color map. GetValues or getgc gives you…

Since the BMP reader is written in plain FPC code, i have to create the colormap. I'm wondering if I should use ColorMap or cmap (i can't find what the deferences are) since there is no description of the Cmap.

you wrote 34 lines
If you have a pixmap, you have to look at it's color map. GetValues or getgc gives you that info I believe. -----Original Message----- From: P Jean dit Bailleul To: Date: Wednesday, August 04, 1999 2:13 PM Subject: Re: [lazarus] GDK reference guide > >I'd like to know how it interact with the pixmap to know how i should >handle the color map of bmp file. currently, and for test purpose only, I >do it in my "own" format and translate anything to pixmap. > >At 08:35 04/08/99 -0500, you wrote: >>Do you have any specific question about how to use the cmap that perhaps >we could answer? Otherwise, the only other reference I've seen (next to >www.gtk.org) is the book that's oput but I'll have to see if it references >the CMAP or not. >> >> >>Shane >> >> >>>>> P Jean dit Bailleul 08/04 6:40 AM >>> >> >> >>Does anyone have a reference other than the one the www.gtk.org site, I'm >>having troubles with the implementation of TBitmap. The part on cmap is not >>documented. >> >>Thanks >>P Jean dit Bailleul ()

P Jean dit Bailleul ()

Reply by email

Shane Miller

Do you have any specific question about how to use the cmap that perhaps we could answer? Otherwise, the only other reference I've seen (next to www.gtk.org) is the book that's oput but I'll have to see if it references the CMAP or not.

Shane

>> P Jean dit Bailleul 08/04 6:40 AM >>>

Does anyone have a reference other than the one the www.gtk.org site, I'm having troubles with the implementation of TBitmap. The part on cmap is not documented.

Thanks
P Jean dit Bailleul ()

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

If you have a pixmap, you have to look at it's color map. GetValues or getgc gives you that info I believe.
------------------------------------------------------------ Shane Miller

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.pcpros.net/~vbman
----------------------------------------------------------

Earlier message 51 lines
-----Original Message----- From: P Jean dit Bailleul To: Date: Wednesday, August 04, 1999 2:13 PM Subject: Re: [lazarus] GDK reference guide > >I'd like to know how it interact with the pixmap to know how i should >handle the color map of bmp file. currently, and for test purpose only, I >do it in my "own" format and translate anything to pixmap. > >At 08:35 04/08/99 -0500, you wrote: >>Do you have any specific question about how to use the cmap that perhaps >we could answer? Otherwise, the only other reference I've seen (next to >www.gtk.org) is the book that's oput but I'll have to see if it references >the CMAP or not. >> >> >>Shane >> >> >>>>> P Jean dit Bailleul 08/04 6:40 AM >>> >> >> >>Does anyone have a reference other than the one the www.gtk.org site, I'm >>having troubles with the implementation of TBitmap. The part on cmap is not >>documented. >> >>Thanks >>P Jean dit Bailleul () >> >>_________________________________________________________________ >> To unsubscribe: mail with >> "unsubscribe" as the Subject >> archives at http://www.miraclec.com/list_archives/lazarus >> >>_________________________________________________________________ >> To unsubscribe: mail with >> "unsubscribe" as the Subject >> archives at http://www.miraclec.com/list_archives/lazarus >> >> >P Jean dit Bailleul () > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email