The Gnome Time Tracker
Slides are here
And all about the graphics lib you can find here. There is tutorial, reference, and of course code itself – try out the demos, read the code, have fun (pretty please)!
July 30, 2010
Do you want to comment?
Comments RSS and TrackBack URI
Cool stuff, I’m actually considering using it for a small project later this month. Great thing you provided the tutorial… thanks!🙂
Glad to hear! Drop a mail if you have any questions. I have yet not received any feedback about the quality of the documentation nor the tutorial – is it understandable, am i maybe jumping forward too fast? Stuff like that.
Consider it done! (I will however send you the link to the code repo once online, so you can also see if I used the library as they were intended to!🙂. I will start working again on that half-way project on the16th of August though, so don’t expect questions/feedback before 3 or 4 weeks.
Thanks and no worries, i won’t hold my breath🙂
I am trying to write a simple flowchart diagram thing.
I was able to get nodes up with text. I can select and deselect the nodes. I only allow nodes to be draggable when selected.
I thought to create the arcs by doing a mouse-down in one node and then drag to the ending node.
I can’t quite figure how to capture the events to make this happen.
I also noticed that in your delaunay2 program, you create arcs as objects. If arcs can be both created and deleted, should I subclass sprite for them also?
Thanks for the great library! Hope you don’t mind the questions.
regards whether arcs should be sprites or not – i think it will be easier for you just to keep track of connections and then draw the arcs in on-enter-frame. this is what is also happening in delaunay2 – the arc is an object, but it is not a sprite.
as regards to events i just added to functions that should make life easier – one is
sprite_at_position(x,y) which returns sprite under coordinates x and y.
the other one is get_pointer, which points to the underlying get_pointer.
the idea would be to find out sprite on mouse down and connect to the other one in on mouse up.
here is a litte gist for you:
btw, if you are looking for interaction ideas, be sure to check out waypoints, which is also in my github
it’s also underconstruction.
and don’t be shy to share some code when you have any. drop a mail!
dropped get_pointer and put back self.mouse_x and self.mouse_y. also on-mouse-up now is also giving the mouse event from it. updated the gist accordingly
Sorry, the comment form is closed at this time.
Blog at WordPress.com.