FLTK logo

Re: [fltk.coredev] Fluid documentation

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Fluid documentation "'melcher.... Dec 11, 2021  
  If anyone is following this, docs are now in a branch inside my cloned GitHub repo: https://github.com/MatthiasWM/fltk/commits/fluid_docs .

imacarthur schrieb am Donnerstag, 9. Dezember 2021 um 20:18:16 UTC+1:
> It's funny to discover built-in trickery that AFAIK was never documented. For example, I did not know that leaving the Name in a Function node empty will create a main() function that opens the window inside and calls Fl::run().

Yes - fluid has “always" done that; indeed the “Function/Method Properties” dialog even says as much... It’s handy of you are throwing together a quick test hack...

You are right, bad example. A different one: If a Declaration node is inside a Class node, Fluid recognises the keywords class, struct, typedef, and FL_EXPORT at the start of the declaration and copies those declarations verbatim to the header file. Otherwise, Fluid will remove all but one spaces between the declaration and a potential inline comment ( `int x=1;       // test` will become `int x=1; // test`).

If anyone can explain that to, that would be quite helpful.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/f911b364-6236-4da9-936e-1f06825fbeb8n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.