Hi,
if it possible to change colour of CodeCity visualisation while it’s running? In particular I just need to re-run normaliser or a block, and not re-assign color value to a shape.
Uko
Can we make the configuration work for Pharo4? Because I think that it should work for now, but the configuration is just missing. All we need is to add something like:
spec for: #'pharo4.x' version: '0.2-baseline’.
to development version.
Uko
I really wish this is fixed :-(
Hard to make convincing publicity for Roassal…
I am writing the text using:
-=-=-=-=-=-=-=-=-=-=-=-=
drawOn: athensCanvas
athensCanvas pathTransform restoreAfter: [
"Draw the label centered on the position"
athensCanvas pathTransform
translateBy: self position asIntegerPoint;
rotateByDegrees: angle value;
translateBy: ((self notRotatedWidth value / -2) @ (self notRotatedHeight value / 2)) asIntegerPoint;
translateBy: (0 @ font descent negated) asIntegerPoint.
athensCanvas setFont: font.
athensCanvas setPaint: color.
athensCanvas drawString: text
].
-=-=-=-=-=-=-=-=-=-=-=-=
the font variable is set using the following method:
-=-=-=-=-=-=-=-=-=-=-=-=
getFontForSize: aNumber
^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber
-=-=-=-=-=-=-=-=-=-=-=-=
Is there something I am missing?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hello everyone,
I'm working on a small visualisation of packages and classes and basically
I want to be able to drag and drop one class to other package
In Roassal I could do this:
| view el |
view := ROView new.
el := ROElement sprite.
view add: el.
el
on: ROMouseDragged
do: [ :event | Transcript show: 'ok'; cr ].
view open.
But in Roassal 2 I only have TRMouseDragging (equivalent to ROMouseDragging
in R1), that executes the block during the whole dragging operation. What's
the alternative to MouseDragged in Roassal 2?
Other question will come after that, but let's do baby steps.
Cheers,
--
Gustavo Santos
Université de Lille-1
Hi,
I like very much the new energy people are putting into creating the
SystemLogger engine for Pharo. I think this is a specifically important
area for which we have to have a solution out of the box. At the same time,
I also think that Pharo provides an infrastructure that makes room for
ideas that are otherwise hard to reach in other languages or environments.
Stef asked for collaborations around this project, so here is my literally
small contribution: a rather different logging engine. It is called Beacon,
it is based entirely on Announcements, it has ~200 lines of code, it has no
tags or levels, and in my opinion it is fully functional.
You can see a detailed description here including some informal comparisons
with SystemLogger:
http://www.humane-assessment.com/blog/beacon
Please let me know what you think. I would be happy to join forces to reach
a mature solution that is both versatile and that can show how Pharo is
different.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi,
I don't know what i done, but now roassal can't draw. The screenshot of the
error is attached.
Thanks!
--
*ATREVI D. Fabrice *
*Master en Informatique A l'Institut de la Francophonie pour l'Informatique
(IFI/Hanoï)*
Dear all,
I want to process large XML file (typically event logs with more than
80Mb data) and I'm not able to do that at the moment with the XML DOM
parser (it says I reach the read limit after 3094 XML lines) and I
guess I will have problem to manage such a large file in memory after
that.
Should I switch to an event-driven XML parser in order to avoid
loading all the XML file in memory ? Do we have such a parser for
Pharo ?
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/