Thursday, October 18, 2007

Update

Hi, I just wanted to update you all that this week and next week are going to have very little programming time because my full time job at NDS needs some time reinforcemant. But things are going great for Screens. As you know Screens evolves all the time and I get to rewrite it on a monthly basis to get it just that much easier. Well, it looks like its going to happen again after seeing the work that was required to do drawing on-screen which was a bit too complex. The new object design is so much closer to C but has a cool backdoor effect to allow any structure attached to an object, to be used as the object handle itself. I dont know of any system that does this and I am very happy to be able to work on it. Here is an example: object * Object = ObjectNew(); window_struct * Window = ObjectAdd(Object, window_struct); element_struct * Element = ObjectAdd(Object, element_struct); ObjectRename(Window, "My object name"); ObjectAttach(Element, ObjectRoot()); Window = ObjectCast(Object, window_struct); In this example: Object, Window & Element are all the same object. This design allows to use multiple pointers to represent the same object. Whats cool is that the casting allows to access data stored in each object natively. So that Element pointer allows to actually read/write members in the element structure with no need for function read/write overhead. It makes objects much closer to the C language. BTW: About the spaces feature in MacOSX idea, I expect these kind of features to be included in Screens in its future but I doubt in the 1st version. Thanks.

1 comment:

Anonymous said...

When is the next public alpha test to be released?

if my embedded IP address looks different because of a new ISP...