[Pharo-users] Re: AthensCairoSDLSurface P8 Error

2020-10-14 Thread Alvaro Piorno
HI Stéphane, It works fine in P9 changing for the new implementors of handle. Thanks El dom., 11 oct. 2020 a las 11:57, Stéphane Ducasse (< stephane.duca...@inria.fr>) escribió: > Hello alvaro > > can you try with P9 because we got many improvements. > > S > > On 18

[Pharo-users] AthensCairoSDLSurface P8 Error

2020-09-18 Thread Alvaro Piorno
Hello, This code that worked for P6 and P7 is now failing in P8. *AthensCairoSDLSurface fromSDLSurface: self window handle handle getWindowSurface.* the window is created like this: *window := OSWindow createWithAttributes: (OSWindowAttributes new resizable: false; yourself).* The exception

Re: [Pharo-users] separate native window of same Pharo image

2018-07-19 Thread alvaro piorno
Hi, I played a bit with that. I did something like this: window := OSWindow createWithAttributes: (OSWindowAttributes new resizable: false; yourself). window title: title. And then: surface := AthensCairoSDLSurface fromSDLSurface: self window handle handle getWindowSurface Then you can render

Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-19 Thread alvaro piorno
periments). > > cheers! > Esteban > > > On 19 Apr 2018, at 00:41, alvaro piorno <alvaropiorno...@gmail.com> wrote: > > Ok, > waiting for your answer. > Thnks. > > 2018-04-18 16:10 GMT-03:00 Esteban Lorenzano <esteba...@gmail.com>: > >> In f

Re: [Pharo-users] OSWindow doubt

2018-04-18 Thread alvaro piorno
Please omit this email. I already solved and was my mistake. 2018-04-18 19:46 GMT-03:00 alvaro piorno <alvaropiorno...@gmail.com>: > Hi, > I am using OSWindow and by default when closing the native window, image > closes too. > how can i change the close handle? > I w

[Pharo-users] OSWindow doubt

2018-04-18 Thread alvaro piorno
Hi, I am using OSWindow and by default when closing the native window, image closes too. how can i change the close handle? I would like only native window to close. Is it possible/viable? Thanks

Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-18 Thread alvaro piorno
Ok, waiting for your answer. Thnks. 2018-04-18 16:10 GMT-03:00 Esteban Lorenzano <esteba...@gmail.com>: > In fact, I have the answer. > But I’m afk, I will answer later, sorry :) > > On 18 Apr 2018, at 21:00, alvaro piorno <alvaropiorno...@gmail.com> wrote: > >

[Pharo-users] SDL2SpecialCharacterMapping problem

2018-03-31 Thread alvaro piorno
Hi, Iam having a problem handling some OSKeywordEvents. These events should have character associated. The mapping is resolved by SDL2SpecialCharacterMapping using a dictionary(Mappings), it has the mapping, for example, for left arrow and right arrow. It resolve correctly for "left arrow" with

Re: [Pharo-users] Trying to test Phantom / aspects in Pharo

2018-01-22 Thread alvaro piorno
You should have received a mail from my partner. I hope that helped you. 2018-01-15 17:40 GMT-03:00 Steven Costiou <steven.cost...@kloum.io>: > Hi, thanks for the info :) > > Is your version for pharo 6.0 somewhere i can download it ? > > > > Steven. > > >

Re: [Pharo-users] Trying to test Phantom / aspects in Pharo

2018-01-15 Thread alvaro piorno
Hi, A friend and i worked on phatom to make it work on actual pharo versions(at that momento was 6.0 or 6.1) and could make examples work and lot of tests to pass. My partner went deeper into this, maybe she can help. (sosa.ine...@gmail.com ) 2018-01-14 21:31 GMT-03:00 Miguel Campusano

Re: [Pharo-users] UFFI problem / doubt

2017-09-18 Thread alvaro piorno
Thanks Ben, i `ll try that. Should "printf" print something on console while calling function form pharo or is only to check from C example? 2017-09-17 14:12 GMT-03:00 Ben Coman <b...@openinworld.com>: > On Mon, Sep 18, 2017 at 12:01 AM, alvaro piorno > <alvarop

Re: [Pharo-users] UFFI problem / doubt

2017-09-17 Thread alvaro piorno
t;b...@openinworld.com>: > > On Fri, Sep 15, 2017 at 9:42 PM, alvaro piorno <alvaropiorno...@gmail.com> > wrote: > >> Hi everybody, i´m using UnifiedFFI with Chipmunk2D library . >> I want to get a pointer to a C Structure (cpBody) and set a position to >> i

Re: [Pharo-users] UFFI problem / doubt

2017-09-16 Thread alvaro piorno
Stef > > On Fri, Sep 15, 2017 at 3:42 PM, alvaro piorno > <alvaropiorno...@gmail.com> wrote: > > Hi everybody, i´m using UnifiedFFI with Chipmunk2D library . > > I want to get a pointer to a C Structure (cpBody) and set a position to > it. > > I have a subCl