I doubt it is related to Athens. I think it is initialization problem.
If morph's extent depends on external factors, you should properly
initialize them
before computing it.
It could be that you calling #checkSession before.. which leads to DNU,
because no extent can be computed at given point
On 11 November 2013 21:47, kilon alios kilon.al...@gmail.com wrote:
Ignore my last messages. Apparently I had an error with my code I just did
not understand the error report. Everything works fone now.
:)
Στις 11 Νοε 2013 4:46 μ.μ., ο χρήστης kilon alios kilon.al...@gmail.com
έγραψε:
Igor just for the record, I still have not figure out why I had this
problem in the first place. I was using self extent and that was giving me
a NB error as I posted in the first stack trace. I changed it to self
defaultExtent that returns a point with the default size of the area of the
Morph
Igor I am trying your session code but it does not work for me. I still get
the red box of doom. This is the method
checkSession
session == Smalltalk session ifFalse: [
surface := surface := AthensCairoSurface extent: self extent. .
session := Smalltalk session.
]
and This is my full stack
sorry previous stack was for slightly diffirent code this is the correct one
UndefinedObject(Object)doesNotUnderstand: #drawDuring:
Hyperionrender
HyperiondrawOn:
FormCanvas(Canvas)draw:
FormCanvas(Canvas)drawMorph:
Hyperion(Morph)fullDrawOn: in Block: [ ...
FormCanvasroundCornersOf:in:during:
Ignore my last messages. Apparently I had an error with my code I just did
not understand the error report. Everything works fone now.
Στις 11 Νοε 2013 4:46 μ.μ., ο χρήστης kilon alios kilon.al...@gmail.com
έγραψε:
sorry previous stack was for slightly diffirent code this is the correct
one
and here is the strange MNU that I was talking about earlier
here is the full stack
Hyperion(Object)doesNotUnderstand: #passenger
PackageTreeModelacceptDroppingMorph:event:inMorph:
MorphTreeMorphacceptDroppingMorph:event:
MorphTreeMorph(Morph)handleDropMorph:
DropEventsentTo:
Igor I got Athens-Tutorial but it gives me a MNU: AthensViewMorphlayout:
On Fri, Nov 1, 2013 at 10:23 AM, kilon alios kilon.al...@gmail.com wrote:
ShivaVG looks definitely as a way to ease the pain of porting to OpenGL.
Some notes on the matter. The Cairo backend for OpenGL is opengl but yet
On Nov 1, 2013, at 10:02 AM, kilon alios kilon.al...@gmail.com wrote:
Igor I got Athens-Tutorial but it gives me a MNU: AthensViewMorphlayout:
strange tell us more.
You know
which image
….
Stef
On Fri, Nov 1, 2013 at 10:23 AM, kilon alios kilon.al...@gmail.com wrote:
Again I am following Igor instructions, loaded Athens-Tutorial from
smalltalkhub , opened a new workspace, AthensTutorial open. I am using a
pharo 3 that downloaded just yesterday. (Pharo3.0 Latest update: #30532)
here is the full stack
AthensViewMorph(Object)doesNotUnderstand: #layout:
Ok now the explanation :)
Spec changed recently in 30.
Stef
Again I am following Igor instructions, loaded Athens-Tutorial from
smalltalkhub , opened a new workspace, AthensTutorial open. I am using a
pharo 3 that downloaded just yesterday. (Pharo3.0 Latest update: #30532)
here is the
On 1 November 2013 14:32, Stéphane Ducasse stephane.duca...@inria.frwrote:
Ok now the explanation :)
Spec changed recently in 30.
then i need help on that.. what is needs to be changed.
btw, i noticed that monticello configuration browser also having problems
with spec.
Stef
Again I am
I created a new subject
About the problem to recreate it all it takes is a demo := AthensDemoMorph
new openInWorld . It opens the morph with the Athens grey box, I save the
image , close pharo, open pharo which reloads the image automagically and
BOOM Red Box of Doom :) My other tries also are
Hi Kilon,
Roassal uses Athens (look for a dedicated package in the Roassal smalltalkhub
repository). You may want to have a look at the implementation if you are
looking for an application using Athens.
Cheers,
Alexandre
On Oct 31, 2013, at 2:24 PM, kilon alios kilon.al...@gmail.com wrote:
Hi
I created a new subject
About the problem to recreate it all it takes is a demo := AthensDemoMorph
new openInWorld . It opens the morph with the Athens grey box, I save the
image , close pharo, open pharo which reloads the image automagically and
BOOM Red Box of Doom :) My other
Thank you Alexander and Stephane , I did not know that Roassal use Athens.
This certainly will be helpful for me.
Stephane, about NBOpenGL , my problem was opengl itself not NBOpenGL , I
learned a lot of things true and yeah I did not know Roassal is using
NBOpenGL but even if I did as you said
On 31 October 2013 18:24, kilon alios kilon.al...@gmail.com wrote:
I created a new subject
About the problem to recreate it all it takes is a demo := AthensDemoMorph
new openInWorld . It opens the morph with the Athens grey box, I save the
image , close pharo, open pharo which reloads the
On 31 October 2013 20:01, kilon alios kilon.al...@gmail.com wrote:
Thank you Alexander and Stephane , I did not know that Roassal use Athens.
This certainly will be helpful for me.
Stephane, about NBOpenGL , my problem was opengl itself not NBOpenGL , I
learned a lot of things true and yeah
On 31 October 2013 22:39, kilon alios kilon.al...@gmail.com wrote:
thanks Igor for the very thorough answer. I took a look at AthensViewScene
, I see initializeForNewSession , Smalltalk session and the other state
methods, it starts to make sense now.
I will get the tutorial and together
Regarding OpenGL, we intensively use it for Roassal3d, also available on
smalltalkhub. Screenshots are available on
https://m.facebook.com/ObjectProfile?id=340543479365589_rdr
Cheers,
Alexandre
Le 31-10-2013 à 16:01, kilon alios kilon.al...@gmail.com a écrit :
Thank you Alexander and
Not sure to fully understand the problem. In what ShivaVG would solve a
situation better than with Athens? If I understand well, a then working with
Cairo uses the hardware acceleration right?
What is it not enough for you need?
Alexandre
Le 31-10-2013 à 19:16, Igor Stasenko
21 matches
Mail list logo