Search found 5 matches

by FreeBasic+FLTK
May 05, 2019 13:18
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198381

Re: FLTK C for FreeBASIC

I've added some new functions and sub (new in fltk-1.3.4/5) function Fl_WidgetIsLabelCopied alias "Fl_WidgetIsLabelCopied" (byval wgt as Fl_Widget ptr) as long function Fl_AbiVersion alias "Fl_AbiVersion" () as long sub Fl_Shared_ImageScale alias "Fl_Shared_ImageScale" ...
by FreeBasic+FLTK
May 05, 2019 13:03
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198381

FLTK

The solution for this problem is: In the main menu go "Settings->Compiler" and then in the new window in the folder "Linker Settings" add the libraries (<MinGW-path>\lib\libws2_32.a and <MinGW-path>\lib\libwinmm.a Another problem was that when I created the dll-library fltk-c-1.3...
by FreeBasic+FLTK
Apr 27, 2019 20:30
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198381

Linker error Codeblocks/MinGW+FLTK-C

Hello, I've tried to build the fltk-c dll library with code::blocks (up-to-date mingw 32bit, Windows 10). The fltc-1.3.3 library was bulit without error (but many warnings), but the fltk-c library creation was aborted after ||=== Build: win32 in fltk-c-wrapper-1.3.3-dynamic (compiler: GNU GCC Compil...
by FreeBasic+FLTK
Apr 05, 2019 21:26
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198381

Re: FLTK C for FreeBASIC Jan 09, 2017

Thank you, that works. Some other questions:
1) Is there a download for fltk-c-1.3.3-static.zip ?
2) Closing a window with the x-button isn't the same as quitting the program via menu (in some occasions it doesn't completely close the application).
What does the x-button trigger?

Thanks
A.B.
by FreeBasic+FLTK
Mar 31, 2019 20:38
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198381

Re: FLTK C for FreeBASIC Jan 09, 2017

Hello, I've a question regarding the redrawing of the FLTK menu bar. With invoking the sub below only the textsize of the submenus increases automatically, but not not of the main menu bar. In C++ there one needs to code "menu->redraw()" (*). What is the FreeBasic Code for that? (* accordi...