On Saturday 29 October 2005 12:06, Tom Jenkins wrote: > Karol Krizka wrote: > >On Saturday 29 October 2005 09:48, Tom Jenkins wrote: > >>Hi everyone! > >>I know no-one is thinking about this at the moment, but I've been > >>thinking about 0.96, 0.97, etc...and I decided that we seriously need to > >>abstract all our GUI code (I want to rewrite pretty much all of it too > >> > >>:D) from our protocol code and have a middle layer to commuinicate > > > >I know we were talking about using XML to create the layouts so other > > widget sets could be used for gnome and kde. How about we try it with > > XUL, what Mozilla uses. This way maybe amsn could be embeded as a sidebar > > into Firefox later (for example) and we don't have to invent out own > > schema. > > I hadnt thought of that possiblity...but how easy is that to do with > tcl/tk? > Yea, it will take some (lot) work to get working most likely but the trade off should be quite big. First of all we could incorporate different widget sets and get intergration support for KDE (maybe GNOME too) like many people have been asking for. Also we could have different xul files to follow different HIG's. Also imagine the skinning posibilities.
> >>between the two... there's details on the wiki... > >>http://amsn.sf.net/wiki/tiki-index.php?page=GuiRoadmap > > > >About the abstraction layer and multi-protocol, the gui should have NO > > idea about how amsn works. All it should know is that there are several > > accouns with contacts that you can talk to. So we could have a wrapper > > function called "call_command" or something that will take 3 parameters. > > What account is this (id?), what they want to do (english readable like > > "chat_to"), and any arguments to that like the email of the person you > > want to talk to. Then the functions checks out what protocol the account > > is using then check if the protocol exists (check for namespace called > > ::proto_${protocolname}?) and call the actions from it or throw an error. > > Yes. Thats exactly what I wanted to propose. I may not have been very > clear though, knowing me :P > I guess this is how the event system might work on the protocol side? One gets an event gui_contact_deleted account contact and sorts it out according to this? Or is it gonna be something way different? > >>It's just an idea....but anyway, I thought it'd be a good idea to start > >>working and planning now, so that we might have something ready for when > >>we want it. I started playing around and writing some stuff, and thought > >>it'd be useful to have a blog to keep track of everything, and so people > >>can see what's going on. The url is http://newandgooey.blogspot.com > > > >We should start planning on this after 0.95 stable release. Also I like > > the screenshots, are those just mockups or reallity? The enemies/friends > > part, is it just groups? And yes, embeding the login textboxes into the > > main window on is a good idea. > > If you read the post that the blog tells you to read first then you'd > know those screenshots are real :P And yeah,, enemies/friends is just > the names of the groups i chose. > > > Also can anyone from amsn psot to the blog or is it just your personal > > one? > > Well, its a blogspot one so its my personal one, but anyone who wants to > join it to post is very welcome :) You just need a blogger account, > which is easy, and then you can be added to the "team" i think. Anyone's > welcome to join :) > Can you add kkrizka? -- Karol Krizka
pgpSsRw6n9B8E.pgp
Description: PGP signature