Hi,
Author: axeld Date: 2005-11-03 18:03:36 +0100 (Thu, 03 Nov 2005) New Revision: 14666 Log: * Decorator now get a DesktopSettings object passed - dunno if that's a good idea (since we'll have to open the DesktopSettings header), but it works for now (and something like this is probably needed anyway).
+ bool SetR5Decorator(int32 value);
Is this needed?
> + DesktopSettings settings(desktop); > + Decorator *decorator; > + > + try { > + if (fAllocator != NULL) > + decorator = fAllocator(settings, rect, look, feel, flags); > + else > + decorator = new DefaultDecorator(settings, rect, look, feel, flags); > + } catch (...) { > + return NULL; > + }
I thought you/we agreed not to use exception anymore.
Bye, Adi.