From bbr at informatik.uni-kiel.de Mon Apr 24 15:24:55 2006 From: bbr at informatik.uni-kiel.de (bbr@informatik.uni-kiel.de) Date: Mon Apr 24 15:19:29 2006 Subject: [Blobs] Hi there, blobs people Message-ID: <62823.89.53.3.229.1145906695.squirrel@www.informatik.uni-kiel.de> Recently, I have begun using blobs for my own project. It already has many features I need and the code is very readble (although there could be more documentation). As these projects are all about give and take, I would like to make my extensions publicly available. Wher should I send them and how? Should I use darcs send? (Never worked with it.) My first extension is about a more flexible placement of node labels: Instead of just above or below, I need other placements as well. Thus, I modified the Justify data type to my needs and migrated it to Network.hs. Now, the following placements are possible, best used with rectangular nodes. Above ----------------------------------------- | Top | | | | | LeftBeside|LeftInside Center RightInside|RightBeside | | | | | Bottom | ----------------------------------------- Below Especially I need nodes which form boxes around the centered label. But for this I need a possibility to call (logical)TextExtend from outside of NetworkView (in the node creation routine). Where do I get this mystical DC () value?? More to come! Cheers Bernd From arjanvanijzendoorn at gmail.com Tue Apr 25 09:35:45 2006 From: arjanvanijzendoorn at gmail.com (Arjan van IJzendoorn) Date: Tue Apr 25 13:43:40 2006 Subject: [Blobs] Hi there, blobs people References: <62823.89.53.3.229.1145906695.squirrel@www.informatik.uni-kiel.de> Message-ID: <004b01c6686d$27f17f60$0a00000a@WoW> Hi Bernd, I am not the person to send updates to, but I can answer your question. > But for this I need a possibility to call (logical)TextExtend from > outside of NetworkView (in the node creation routine). Where do I > get this mystical DC () value?? You can create a device context for the screen by called screenDCCreate (for which you need to import WXCore). Cheers, Arjan