Re: New SDL Parrot Bindings Underway

2004-04-06 Thread Dan Sugalski
At 8:04 PM +0200 4/6/04, Jens Rieks wrote: Hi, sorry, this message was meant to go to chromatic only. I modified my mail client setting to automatically add the mailinglist address some weeks ago, I should revert to the old settings :-) On Tuesday 06 April 2004 19:46, Dan Sugalski wrote: At 7:42

Re: New SDL Parrot Bindings Underway

2004-04-06 Thread Jens Rieks
Hi, sorry, this message was meant to go to chromatic only. I modified my mail client setting to automatically add the mailinglist address some weeks ago, I should revert to the old settings :-) On Tuesday 06 April 2004 19:46, Dan Sugalski wrote: > At 7:42 PM +0200 4/6/04, Jens Rieks wrote: > >Wh

Re: New SDL Parrot Bindings Underway

2004-04-06 Thread chromatic
On Tue, 2004-04-06 at 10:46, Dan Sugalski wrote: > At 7:42 PM +0200 4/6/04, Jens Rieks wrote: > >What do you think about a hash interface for event handling? > > > > newsub key, .Sub, _key_x > > app["SDLK_x"] = key > > I think... I think I need to get cracking on the event handling spec.

Re: New SDL Parrot Bindings Underway

2004-04-06 Thread Dan Sugalski
At 7:42 PM +0200 4/6/04, Jens Rieks wrote: What do you think about a hash interface for event handling? newsub key, .Sub, _key_x app["SDLK_x"] = key I think... I think I need to get cracking on the event handling spec. I'd prefer SDL to use parrot's built-in event handling system,

Re: New SDL Parrot Bindings Underway

2004-04-06 Thread Jens Rieks
Hi! Sorry for delay, I had less time than I expected. On Sunday 04 April 2004 19:45, chromatic wrote: > On Sun, 2004-04-04 at 10:04, Jens Rieks wrote: > > > I think I prefer letting SDL::App be the main entry point for SDL > > > applications, because *something* has to initialize SDL. > > > > So

Re: New SDL Parrot Bindings Underway

2004-04-06 Thread Leopold Toetsch
Tim Bunce <[EMAIL PROTECTED]> wrote: > find_type app_type, 'SDL', 'App' > or: find_type app_type, [ 'SDL', 'App' ] No. C finds a class enum. These types are kept in an array - no hierarchy. > .namespace [ 'MoveLogo', 'EventHandler' ] That *would* be: .namespace [ 'MoveLogo'; 'Event

Re: New SDL Parrot Bindings Underway

2004-04-06 Thread Tim Bunce
On Mon, Apr 05, 2004 at 09:33:15PM -0700, chromatic wrote: > On Mon, 2004-03-29 at 23:33, chromatic wrote: > > > With the improved object system in place, I've been porting the existing > > SDL Parrot bindings. > > Here's a quick status update. With helpful suggestions from Jens and > Allison, I

Re: New SDL Parrot Bindings Underway

2004-04-05 Thread chromatic
On Mon, 2004-03-29 at 23:33, chromatic wrote: > With the improved object system in place, I've been porting the existing > SDL Parrot bindings. Here's a quick status update. With helpful suggestions from Jens and Allison, I've just finished porting the existing files in examples/sdl to the new l

Re: New SDL Parrot Bindings Underway

2004-03-31 Thread chromatic
On Tue, 2004-03-30 at 01:05, Jens Rieks wrote: > Why are you using an underscore in front of all method and label names? They > are indicating global labels; it is not necessary to use them for method > names. Habit. It's necessary for 'new', but none of the others. I'll change it. Allison a

Re: New SDL Parrot Bindings Underway

2004-03-30 Thread Jens Rieks
Hi, On Tuesday 30 March 2004 09:33, chromatic wrote: > Hi all, > > With the improved object system in place, I've been porting the existing > SDL Parrot bindings. Here's a sample program that draws the friendly > blue rectangle again: > > .pcc_sub _main non_prototyped, @MAIN > load_bytecode

New SDL Parrot Bindings Underway

2004-03-29 Thread chromatic
Hi all, With the improved object system in place, I've been porting the existing SDL Parrot bindings. Here's a sample program that draws the friendly blue rectangle again: .pcc_sub _main non_prototyped, @MAIN load_bytecode "library/sdl_app.imc" load_bytecode "library/sdl_rect.imc