HI
I would like to generate something like
template <class T>class CurveInfo {private:T _b;public:CurveInfo( float a, T b ):_b(b) {...}someFunction(){ _b.fcn(); }};
Perhaps I'm missing something, but you can just define that template in a
my-template.h file using a text editor, then #include it from your fluid project
using: New -> Code -> Declaration -> #include "my-template.h"
When doing so, be sure to set the pulldown menu option for the Declaration to:
"in header file only", so it gets added to your fluid project's .H file when fluid's
code generator runs:
Maybe I am missing something but the templated class has a window and widgets so I want to define it with fluid
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/327282d9-0479-4891-91d4-69997a6e0f0fn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/e692b1e7-0496-46f8-a27c-de2ce4e893edn%40googlegroups.com.