Sign in Join

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

Mailing lists / lazarus / 1999-07

C alignment problem hopefully solved

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt
to Sebastian Günther: Sorry, at least in KCL it still doesn't work correctly when I try to access…
Show quoted text 7 lines
Peter Vreman wrote: > > Can you try the problem codes again which got wrong due the record > alignment of GTK. Sorry, at least in KCL it still doesn't work correctly when I try to access PGdkEventExpose.area...
Did you update GTK also ? The sources of GTK have changed as well;
I tried an example with a PGdkEventExpose and it worked just fine ?

Michael.

Reply by email

Sebastian Günther
to Michael Van Canneyt
Michael Van Canneyt wrote
Did you update GTK also ? The sources of GTK have changed as well;

yes, of course

I tried an example with a PGdkEventExpose and it worked just fine ?

I've tried the known code in kcl/src/kcl_gtk/gpaintbox.inc TPaintBox_Expose
When you change the comment blocks accordingly, the whole editor widget doesn't work any more... I can send you a current snapshot if you want, as I don't know if you can see this behaviour with the last snapshot. (but it should do so)

- Sebastian

Reply by email

Peter Vreman

Can you try the problem codes again which got wrong due the record alignment of GTK.

To test it you need the latest compiler from CVS and the latest GTK interface (which doesn't compile with 0.99.12!).

You need to recompile ALL units, because the PPU has changed (also the version this time ;)

Peter

Reply by email

Payne Thomas E CNIN

scribble-simple (section 23) (PGdkEventExpose)Event^.area.height in expose_event function and (PGdkEventMotion)Event^.state in motion_notify_event is still not working correctly

In C, in the motion_notify..., state = 0 for no button press, =256 when button is down
Currently in pp, state=16 w/no button, =272 w/button --a definite improvement

In pp for area.height, an example, the value s/b =10 but is =16415

Tom

Show quoted text 21 lines
-----Original Message----- From: Sebastian G�nther Sent: Friday, July 23, 1999 11:24 AM To: Subject: Re: [lazarus] C alignment problem hopefully solved Peter Vreman wrote: > > Can you try the problem codes again which got wrong due the record > alignment of GTK. Sorry, at least in KCL it still doesn't work correctly when I try to access PGdkEventExpose.area... - Sebastian _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email