Re: [Pharo-users] Reopen last closed nautilus window

2015-05-18 Thread merwanouddane
Yes I know but it is not the same usage at all.

Pharo allows me to adapt the system to my needs, that’s what I am doing. 

 


De : Sergio Fedi
Envoyé : ‎dimanche‎ ‎17‎ ‎mai‎ ‎2015 ‎20‎:‎15
À : Any question about pharo is welcome

 

Remember you can always make a window uncloseable.



On Sun, May 17, 2015 at 3:03 PM, Merwan Ouddane  wrote:

Hello everyone,

I always close some nautilus windows by mistake, and I that was really pissing 
me off...

For people like me I made a little extension to reopen the last closed  
nautilus window with CTRL+MAJ+T or CMD+MAJ+T like most of internet browers (I 
know it erases the ifTrue: shortcut but I didn't wanted to have a shortcut who 
changes my habits...)

Here is the repo:
http://smalltalkhub.com/#!/~MerwanOuddane/NautilusSavior

Cheers,
Merwan

Re: [Pharo-users] Woden - Rotate an Object from absolute referential

2015-05-12 Thread merwanouddane
Thanks for your answer ronnie, I did not manage to do it with node orientation, 
can you please be more specific  ?



De : Ronie Salgado
Envoyé : ‎mardi‎ ‎12‎ ‎mai‎ ‎2015 ‎09‎:‎44
À : Any question about pharo is welcome







Hello Merwan,


Currently is not possible because the only way to represent rotations is to use 
a matrix. I have to add support for quaternions, which gives me an opportunity 
to also add Euler angles.
When I add support for Euler angles, you wil be able to do what you want easily.

Currently, you have to use node orientation: (WDMatrix3 xrot: angle) to achieve 
what you are trying to do.

Greetings,
Ronie



2015-05-04 11:55 GMT-03:00 :




Hello everyone,

 

I am currently making a little demo with woden and I would like to rotate a 
cube, not from the relative referential but from the absolute one ( rotate X 
always rotate in the same direction even if I previously have rotated Y ).

 

What currently happens is that when I rotate the cube, the referential rotates 
as well...

 

Does anyone know how to counter this ?

 

Thanks

Merwan

[Pharo-users] Woden - Rotate an Object from absolute referential

2015-05-12 Thread merwanouddane
Hello everyone,

 

I am currently making a little demo with woden and I would like to rotate a 
cube, not from the relative referential but from the absolute one ( rotate X 
always rotate in the same direction even if I previously have rotated Y ).

 

What currently happens is that when I rotate the cube, the referential rotates 
as well...

 

Does anyone know how to counter this ?

 

Thanks

Merwan

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread merwanouddane
Hello,


We don’t lose all keystroke events, but they are replaced by keydown events.


Merwan




De : Nicolai Hess
Envoyé : ‎lundi‎ ‎20‎ ‎avril‎ ‎2015 ‎09‎:‎36
À : Any question about pharo is welcome; Esteban Lorenzano






2015-04-20 8:38 GMT+02:00 Matthieu Lacaton :













Hello, 



Thanks for your answers ! I have multiple remarks here : 


1) I know that SDL2 should not be used "as is" in Pharo and I should use 
OSWindow instead, that's why I won't use SDL2 directly anymore.




On windows there is currently an issue if you use OSWindow instead of directly 
use SDL.


If you create a window with OSWindow, (like in the SDL2Example>>osWindow) you 
will loose all "keystroke" events in the main pharo window.


I don't know yet why this happens.



nicolai