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
Le 11/5/15 02:34, Sean P. DeNigris a écrit :
> Matthieu Lacaton wrote
>
>> Let's say for example thant I want to create a rectangle on the screen and
>> be able to move it up and down by pressing CTRL + up / down arrow and be
>> able to rotate it with the mouse wheel. Does this mean that on Linux
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 ha
stepharo wrote
> We are working on SDL based events so we should probably synchronise.
> Because mouse wheel should be an event and not simulated.
Absolutely! I was just improving the existing hack (mainly because I want
horizontal wheel events) until you guys finish something really good :)
--
Matthieu Lacaton wrote
> I was just surprised by VM events...
That's understandable. We inherited quite a mess with events, but we've been
slowly cleaning and SDL seems exciting!
-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/MouseWheel-events-tp4824839p4825959.html
I used to have
creatingAClassInATemporaryNamespace
| testingEnvironment morph |
testingEnvironment := SystemDictionary new.
ClassBuilder new
name: #AClassForTesting
inEnvironment: testingEnvironment
subclassOf: Objec
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 repre
Sean,
Maybe it is not exactly what you asked but when it is about creating
classes/traits for testing I always used ClassFactoryForTestCase (see it is
used by Fuel). You can even check how that class currently creates the
stuff.
Cheers,
On Tue, May 12, 2015 at 7:45 AM, Sean P. DeNigris
wrote:
Hi Sean,
You can use AnonymousClassInstaller instead of PharoClassInstaller.
We should improve it because it has limitations: the environment is not used
and you won’t be able to change the slots or the superclass after creation.
AnonymousClassInstaller make: [ :builder |
builder
Hi everyone,
I took a little time to enhance the ICal library and to make it work
with Pharo 4!
So I forked the one on smalltalkhub
(http://smalltalkhub.com/#!/~pdebruic/iCal) and put all the modified
code on github https://github.com/juliendelplanque/pharo-ical.
Why did I forked? Well, I
Hello everybody,
Is there a way to move the position of the cursor (the HandMorph) by
passing commands to it ?
I tried things like "ActiveHand position:" or "ActiveHand moveToEvent:" but
nothing worked for me.
Thanks,
Matthieu
Dear all,
just to let you know, Cheikhou (in CC) is starting a student
internship in my lab.
He will work on Epidemiology Modelling with KENDRICK:
http://ummisco.github.io/kendrick/
the platform that we are developing in order to analyse and visualise
diseases models behaviours.
We would like fir
2015-05-12 17:40 GMT+02:00 Matthieu Lacaton :
> Hello everybody,
>
> Is there a way to move the position of the cursor (the HandMorph) by
> passing commands to it ?
>
Not that I know of. There was a primitive for setting the cursorposition,
but that was removed:
http://bugs.squeak.org/view.php?i
A bit extreme, but you could open World >> Tools >> Process Browser and
notice "Input Event Fetcher" then put a "self haltOnce" in
InputEventFetcher>>signalEvent: and trace through.
Or maybe have a look at HandMorphForReplay in
http://forum.world.st/ANN-EventRecorderMorph-Port-to-3-0-td4736258.htm
Okay.
That was 2 years ago so I was wondering if something had changed since then
but apparently not.
Thanks a lot,
Matthieu
2015-05-12 17:51 GMT+02:00 Nicolai Hess :
>
>
> 2015-05-12 17:40 GMT+02:00 Matthieu Lacaton :
>
>> Hello everybody,
>>
>> Is there a way to move the position of the curso
>
> Or maybe have a look at HandMorphForReplay in
> http://forum.world.st/ANN-EventRecorderMorph-Port-to-3-0-td4736258.html
Oh I didn't know about that, I'll definitely have a look at it, it seems
cool !
Thanks,
Matthieu
2015-05-12 17:57 GMT+02:00 Matthieu Lacaton :
> Okay.
> That was 2 years
I have a method:
openSimulationFile
inFile := (StandardFileStream fileNamed:
'/Users/amaloney/Squeak/30shoes.txt') ascii
I want to replace the hard coded fully qualified filename with the result of
a file browser dialog.
I've done some Googling and poked around in the system browser and I
In Pharo 4.0 load EventRecorder. It is a complete reimplementation
of an old goodie together with tests.
Then check Tools -> EventRecorder in the world menu
Bye
T.
Hi Serge,
I made some experiments with GPU computing with JavaScript. I understood
that the computings are made forever inside the GPU, so you just throw data
and programs once and you let the GPU compute for you. Yet the problem is
to read the data once they are computed. With webGL it seems impo
Hi,
maybe instead of UIManager you could look on UITheme.
For example the following code:
Smalltalk ui theme
chooseFullFileNameIn: World
title: 'Select file to open'
extensions: nil
path:
(myActualFilePath isNil
Hi Guille,
I had a short look at Garage [1]. Nice initiative!
Looks like using a file is not supported for the SQLite3 backend in Garage:
GADriver fromConnectionString: 'sqlite3://file://C:/temp/test.db'
GADriver fromConnectionString: 'sqlite3://C:/temp/test.db'
Maybe GASqlite3Driver>>
Hi Nicolas,
Thank you for looking at the code.
I was away and could not try your code.
On Thu, May 7, 2015 at 9:27 AM, p...@highoctane.be
wrote:
>
>
> On Thu, May 7, 2015 at 1:06 AM, Nicolai Hess wrote:
>
>>
>>
>> 2015-05-06 22:47 GMT+02:00 Henrik Sperre Johansen <
>> henrik.s.johan...@veloxit
Thank you for that Cyril; it's just what I need.
Cheers!
--
View this message in context:
http://forum.world.st/beginner-question-how-to-get-a-fully-qualified-filename-from-a-dialog-tp4826037p4826093.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
I had a #asString method in the BYTE_8 class that I put by accident in the
*generated-code... protocol
This method will be removed if the generated methods are regenerated.
Just add a new method:
BYTE_8>>asString
^ self address hex
The address has 8 bytes because this is the max number of byt
I'm pretty sure there isn't a protobuf library for Pharo.
If you're planning on implementing one, I'd love to collaborate (I could
certainly use one for Phriak (driver for the Riak nosql db)).
On Mon, May 11, 2015 at 2:46 PM, Benjamin Pollack
wrote:
> On Mon, May 11, 2015, at 12:27 PM, Paul DeBr
I am using TWM and yes it gobbles memory.
Disable/GC/Enable is indeed aomething do every once in a while.
No need for snapshots for this to occur.
A couple of Nautilus windows do the same.
Youcan close them all in TWM and still have them eat memory.
Phil
Le 13 mai 2015 01:50, "Cameron Sanders
26 matches
Mail list logo