On Jul 8, 2013, at 1:44 PM, Christian Schmitz <[email protected]> wrote:
> > Am 08.07.2013 um 19:45 schrieb William Koperwhats <[email protected]>: > >> There are so many classes to choose from. What is the best class and method >> to use for modifying these graphics on the fly? > > Well, I normally use a little helper function. > You can for example draw a 80% transparent black image on top. > I thought about that, but I want to emulate the *modern* toolbar look and feel, where only the *icon* darkens with the mouse down, not the entire square area. I tried some of the PictureAdjustBrighness... classes, but nothing looked correct. In the end I did what I said I wasn't going to do and just made "mousedown" pictures for every toolbar icon and switch between them in the MouseDown and MouseUp events. The result is good enough that I'd like to use the same method in the Mac version as well, since it's a real pain maintaining *two* sets of source code, one *with* an RS Toolbar, one without. Question: On the Mac, Is there a way to have the topmost canvas "merge" into the window titlebar so that it displays a continuous gradient and looks like a modern mac app. Right now that's the only thing preventing me from dropping the RS toolbar in the mac version and adopting the same canvas based "fake toolbar". Cheers. -bill k _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
