|
Post by Pjot on Mar 8, 2019 19:49:00 GMT 1
Hi bigbass et all, I just noticed that FLTK 1.3.5 had been released. Just so you know Regards Peter
|
|
|
Post by bigbass on Mar 8, 2019 20:49:48 GMT 1
Hello Peter Yes,It's a good plan to stay up to date I took the hint and up dated the build script for fltk this is now stand alone code to compile from source and it adds my fluid GUI interface code automatically Thanks buildfltk.tar.gz (8.92 KB) Joe updated with cairo --enable-cairo
|
|
|
Post by bigbass on Mar 15, 2019 8:14:50 GMT 1
fltk-turbovision.tar.gz (4.93 KB) the read me says this : compile with these commands in a terminal fltk-config --compile tv-clone3.cxx fltk-config --compile filebrw.cxx This is my fltk/fluid version of a turbovision demo It expresses the idea of the turbovision demo GUI layout (visually) but using a different toolkit alltogether so none of the interal code is the same but they both use c++ *I guess that I initially wanted to understand how to code it first with a toolkit I am familiar with so that I could understand the HUG syntax part of turbovision but after I got into coding [the whole thing in fltk C++] I realised that it was a lot more work than I expected connected all callbacks that is I usually just do the visual in fltk then glue it all together with BaCon code but it was fun I added the fluid files so that any modification would be easier to do to see the turbovision version by Pjot the link is here basic-converter.proboards.com/thread/1059/turbo-vision?page=2P.S HUG looking syntax version is very clean Updated I did some fixes Joe
|
|
|
Post by vovchik on Mar 15, 2019 12:47:44 GMT 1
Dear Peter and Joe,
Thanks. I tested 1.3.5 and it works nicely. As does the Turbo-fltk demo. @joe - I would probably add the --enable-cairo flag in the fltk lib configure script. It causes no pain as far as I can tell and enhances possibilities. When I tried --enable-cairoext, however, I got an error, but --enable-cairo works fine and does not conflict with anything in my earlier fltk-hug code.
With kind regards, vovchik
|
|
|
Post by bigbass on Mar 15, 2019 16:25:01 GMT 1
Hello vovchik
Thanks We all should be using the same fltk version I agree so if you suggest other options let me know
# added March 15 2019 #--enable-cairo thanks vovchik
for me I already had the dependencies so it went cleanly
will add it to the above script later today
Joe
|
|
|
Post by Pjot on Mar 15, 2019 18:34:50 GMT 1
Thanks bigbass! That looks amazingly good - another motivation for me to look again at the HUG concept thoroughly. BR Peter
|
|
|
Post by bigbass on Mar 17, 2019 1:56:15 GMT 1
Hey Guys Thanks for testing! when confronted with a GUI in C++ instead of gtk I'm sure some things will change but I believe for the better in the end I finally figured out a better way to do the full file chooser (I was using a limited simple version before) then a hack to load the chooser ... wasn't happy with that and now it's an all in one fluid file the right way improved the theme next step will be porting this to BaCon but having the workig C++ version of the source will make the porting much easier June 30 2019 fixed a compile error and uploaded again with the fix fltk-turbovision3.tar.gz (4.81 KB) Joe
|
|
|
Post by bigbass on May 22, 2020 6:32:32 GMT 1
here is the simple version of a window a button and a callback I did this using fluid all c++ to show how code is generated I didn't port it so anyone could test ideas with fluid
# Compile with command line fltk-config --compile fluid-demos.cxx #run with ./fluid-demos
P.S *Peter from another thread if you wanted to see all the widget code nicely organized look at factory.cxx in the fluid sources Joe
|
|
|
Post by Pjot on May 7, 2021 13:59:47 GMT 1
All, FLTK has released verion 1.3.6, see their website. Regards Peter
|
|
|
Post by bigbass on May 10, 2021 4:59:54 GMT 1
|
|