[wx-discuss] RE: wxTNG: backends
Ryan Norton
wxprojects at comcast.net
Fri Feb 17 11:06:11 PST 2006
I don't know if it would be feasable to switch at runtime, but you
could do it at compile time like
Gauge<MacRenderer> myGauge;
(I think using default template arguments we could set the renderer to
use the native one by default or something)
And, for example, in the case of native renderers you could use
specialization et al..
Or in wxMediaCtrl maybe like
MediaControl<QTMediaBackend, MacRenderer> myQTMediaControl;
Done properly you could do it with basically 0 overhead and maybe even
get away with calling yourself a "lightweight" framework of sorts -
That's just one of my insane ideas though... I'll pass it on to someone
more knowledgeable now...
Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: wx-discuss-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-discuss-help at lists.wxwidgets.org
More information about the wx-discuss
mailing list