Hi, "Barto, Jason P" <[EMAIL PROTECTED]> writes:
> Please excuse me if this is a simple question, but I've read over the > README and other materials and I am still undecided. I am looking to > develop a GUI API, similar to GTK+, which will incorporate alpha > transparency. Very similar to DirectFB except individual buttons, > menus, etc (widgets) would each have their own level of transparency. Did you have a look at the lite toolkit in DirectFB CVS yet? > It seems DirectFB would be capable of this as each widget could be > comprised of its own window (alpha levels are only associated at a > window level correct?). DirectFB windows can have a per-window opacity level. However DirectFB surfaces with alpha capabilities can have per-pixel alpha values. I have the impression that you are confusing things. > However the hardware issues make me somewhat hesitant, I would > prefer for the API to be independent of hardware. Only the layer API is really hardware dependant. > Initially I was thinking of just using the GTK and GDK libraries and > calculating transparencies on my own. And I am looking for advice / > guidance: would performing alpha calculations in software be too > resource intensive?; should I use the DirectFB libraries to handle > alpha transparency? And would I be going outside the intent of the > DirectFB libraries to try and render each element of a window with > it's own level of transparency? This has already been done with GTK+-DirectFB. Why don't you just try it to see how well it performs? Sven
