FLTK logo

Re: [fltk/fltk] windows+fltk1.3.x+1.4.x: "fluid -c somefile.fl" fails without error if .fl file unreadable (#224)

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.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] windows+fltk1.3.x+1.4.x: "fluid -c somefile.fl" fails without error if .fl file unreadable (#224) erco77 Apr 27, 2021  
 

OK, I'll try it later today if this second Pfizer shot doesn't knock me out.

In this all-windows app I've been working around which has the same issue; needs to provide both console and GUI interaction, I made a separate executable; one for windows called myapp, the other for console use called myapp-cmd.

It worked well because that way for sure the backend modules/classes had NO gui code mixed in; all gui code was in the myapp.cpp, and the console program myapp-cmd.cpp was pure stdin/out/err, not one line of gui code, and could compile without any of the FLTK libraries and their OS dependencies. Any interaction between the low level classes and GUI were done with messaging using a simple class.
This ensures the backend modules truly are modular and free of any GUI logic madness. I think fluid suffers from this a bit; there's a lot of GUI code mixed into the backend.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

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'.