|
|
The interface is really nice.
A nit I had while trying things out. Things didn't work initially since the headers lacked include guards and lacked includes of the other relevant headers (Fl_Helper, Fl_Exception ...etc). Looking at the makefile, the include guards and proper includes seem to be added there: ``` cat $(INCLUDES) >> include/FL/Fl_Flow.H
``` I prefer for header-only libs that they be directly usable without having to go through a make step.
On Wednesday, November 23, 2022 at 10:53:04 AM UTC+3 gggg...@quinteiro.org wrote:
I proposed a “fluent” interface to Fl_Flow, and Karsten has graciously merged it: https://github.com/osen/Fl_Flow/tree/main/src/fluent
The idea is that instead of using ASCII characters like this
flow.rule(sep, "=<^");
You would write this
flow(sep).left().expand()
.up();
Thanks, Jose
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/ed534012-023e-466b-8e19-124d57e98ea0n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |