[haXe] arctic
Michael Pliskin
pl at tepkom.ru
Fri Nov 3 13:46:43 CET 2006
Hello Asger & all,
Another idea is to introduce a concept of block manager, and provide
a callback to retrieve it:
Border(x : Float, y : Float, setManager: BorderManager -> Void)
and then initialize it like
ArcticBlock.Border(x, y, function (mgr) { myMgr = mgr; });
so you can remember the managers for the objects you need, and do
partial updates using them later.
AOA> Yes, this is a problem in Arctic right now.
AOA> If you just need to set the initial position of the scrollbar,
AOA> that is easily added: We'll add initial offset for the scrollbar in next release.
AOA>
AOA> If you want something more dynamic than that, it gets more complicated.
AOA> Once you have built your blocks, there is no easy way to get to
AOA> them if you want to change them. We can communicate from a block
AOA> to the world using functions, but the other way is not really
AOA> handled yet. The problem is to provide a way to point to a
AOA> specific block, and tell arctic that it is updated.
AOA> My first approach to this is to add an Id(name : String, block :
AOA> Block) constructor, and then a "ArcticView.update(name, block)"
AOA> call which replaces that block with a new block. I'll see what I can do.
AOA>
AOA> Regards,
AOA> Asger
AOA> On 11/3/06, avakhito <avakhito at tepkom.ru> wrote:
AOA>
AOA>
AOA>
AOA> Hello!
AOA>
AOA> I'm using Arctic and I'd like to change object's (block's)
AOA> properties; in details, I want to slide the scrollbar.
AOA>
AOA> The Scrollbar is created as an element of Enum ArcticBlock with some parameters.
AOA>
AOA> Will it be suitable to add some ScrollbarManager to the set of
AOA> parameters and make code corrections, such that inside
AOA> ScrollbarManager will be returned a collection of functions which
AOA> control the scrollbar. Inside them I will place moveTo function, for example.
AOA>
AOA>
AOA>
AOA> Thanx.
AOA>
AOA> Alexander Vakhitov
AOA>
AOA>
AOA>
AOA>
AOA>
AOA> --
AOA> haXe - an open source web programming language
AOA> http://haxe.org
AOA>
--
Best regards,
Michael mailto:pl at tepkom.ru
More information about the Haxe
mailing list