Sign in Join

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

Mailing lists / lazarus / 1999-12

cvs changes & message for Shane

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Weustink
to Shane Miller: sounds like the color problem. Are you running at 8 bit's color depth? just updated…
you wrote 5 lines
On Thu, Dec 30, 1999 at 02:30:41PM -0600, Shane Miller wrote: > sounds like the color problem. Are you running at 8 bit's color depth? No, 16bpp.

Try switching to 8bpp or change (temporary) the following line:

constructor TBitmap.Create;
begin
  inherited Create;
  // change to pf16bit
  FPixelFormat := pf8bit;
  FCanvas := TBitmapCanvas.Create(Self);
end;

I'm working on a pfDevice support,so in a few day it should be fixed.

Marc

Reply by email

Stefan Hille
to Shane Miller: sounds like the color problem. Are you running at 8 bit's color depth? just updated…
Shane Miller wrote
sounds like the color problem. Are you running at 8 bit's color depth?

No, 16bpp.

Show quoted text 28 lines
>>> 12/30/99 01:58PM >>> Hi, just updated TRadiobutton, the checkbox sample also demonstrates this one. Shane, seems we were committing at the same time. Hope none of our changes were lost. Because I was'nt sure about that I tried to compile your toolbar example but it crashed with the following output: >>>>> [TgtkObject.IntSendMessage3] TFORM1 --> Sent LM_Message: $101B; Data: 0 ============================ CANVAS.FILLRECT - RECT Defined as: Left,Top,Right,bottom = 0,0,1,1 [TgtkObject.IntSendMessage3] TBITMAP --> Sent LM_Message: $1001; Data: 0 [TgtkObject.IntSendMessage3] TBITMAP --> Create [TgtkObject.IntSendMessage3] TBITMAP --> Created [IsValidDC] got --> False Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 32 error_code 2 request_code 53 minor_code 0 aborting... >>>>>>
--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Shane Miller

sounds like the color problem. Are you running at 8 bit's color depth?

>> 12/30/99 01:58PM >>>

Hi,

just updated TRadiobutton, the checkbox sample also demonstrates this one.

Shane,

seems we were committing at the same time. Hope none of our changes were lost. Because I was'nt sure about that I tried to compile your toolbar example but it crashed with the following output:

>>>>

[TgtkObject.IntSendMessage3] TFORM1 --> Sent LM_Message: $101B; Data: 0 ============================
CANVAS.FILLRECT - RECT Defined as:
Left,Top,Right,bottom = 0,0,1,1
[TgtkObject.IntSendMessage3] TBITMAP --> Sent LM_Message: $1001; Data: 0 [TgtkObject.IntSendMessage3] TBITMAP --> Create
[TgtkObject.IntSendMessage3] TBITMAP --> Created
[IsValidDC] got --> False

Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 32 error_code 2 request_code 53 minor_code 0

aborting...

>>>>>

Maybe this is caused by my system, which is not up to date, so here is my spec:

- debian linux kernel 2.0.37
- GTK 1.2.3 !!

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Stefan Hille

Hi,

just updated TRadiobutton, the checkbox sample also demonstrates this one.

Shane,

seems we were committing at the same time. Hope none of our changes were lost. Because I was'nt sure about that I tried to compile your toolbar example but it crashed with the following output:

>>>>

[TgtkObject.IntSendMessage3] TFORM1 --> Sent LM_Message: $101B; Data: 0 ============================
CANVAS.FILLRECT - RECT Defined as:
Left,Top,Right,bottom = 0,0,1,1
[TgtkObject.IntSendMessage3] TBITMAP --> Sent LM_Message: $1001; Data: 0 [TgtkObject.IntSendMessage3] TBITMAP --> Create
[TgtkObject.IntSendMessage3] TBITMAP --> Created
[IsValidDC] got --> False

Gdk-ERROR **: BadValue (integer parameter out of range for operation) serial 32 error_code 2 request_code 53 minor_code 0

aborting...

>>>>>

Maybe this is caused by my system, which is not up to date, so here is my spec:

- debian linux kernel 2.0.37
- GTK 1.2.3 !!

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email