On 10/02/11 13:05, Mariwan wrote:
> As I posted in my previous question, I don't think it will be possible to
> declare something like this in fluid
>
> extern "C"
> {
> #include "something.h "
> }
>
> since fluid will not accept having {} in your code.. Am I wrong?
When I run into something like this, I just manually create
a .H file with the code, and #include that from fluid.
If I have a fluid file called foo.fl and it creates foo.h and foo.cxx,
I usually create a foo-stuff.h and #include that from fluid.
There are some things easier/better to manage in manually
maintained files, instead of using fluid to micro-manage
them. Things like variable definitions, #includes, and #ifdefs
for includes are just plain clearer in manually edited files.
I don't try to think of fluid as an all or nothing type
of thing, but more like a tool that's good at certain
things (like GUI layouts), and try not to get too carried away
with using fluid as a full on IDE to manage my whole app.
(At least that's the case with large apps.. small ones
can usually be completely managed by fluid, but I usually
try to keep fluid's involvement more specific when possible)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk