i created a new branch in blackbox's cvs this morning. the moving_target branch has gotten a pretty hefty update too (stuff i've been working on last week and over the weekend).
the stuff adds lots of new things, which will make development on blackbox and the blackbox tools/utils much easier. the stuff is in a half finished state at the moment... but it compiles and runs. however, nothing works :) the interesting thing is the new code. i've completely redone Basemenu, which is now a real popupmenu (That does pointer and key grabbing). one thing i noticed on my laptop with a mouse touchpad is that touchpads suck, and key navigation through menus is something i really want. i hope to get this soon. i've also added lots of other things. for example, the new Basemenu is a subclass of the Widget class. Widget is a simple wrapper for an X window. these things register with the BaseDisplay's event loop, and you get events delivered to them very nicely. these things are perfect for a small library for people that want to write blackbox tools/utils. new as well is BGCCache, which is an X GC cache that lets you do quick color/font lookups, without having to keep a GC around all the time. BColor has also been split away from BImageControl, and it can be dropped into any other program that has a BaseDisplay created BTexture has undergone some updates too, and it has rendering capabilities builtin (instead of having to use BImageControl::render( texture ) ). ummm... there are lots more things that are new/changed. too much to really describe here. have a look at the code in the moving_target branch to get and idea of where things are going. and remember: it compiles and runs, but does absolutely nothing :) this stuff is just mean for people that know the blackbox code, and are interested in seeing what i'm breaking. commments are of course welcome and invited. -- -- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway