Search found 483 matches

by jdebord
May 12, 2016 7:18
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 89379

Re: FLTK C for FreeBASIC.

You can create the import library with pexports and dlltool : pexports XXX.dll > XXX.def dlltool -D XXX.dll -d XXX.def -l libXXX.dll.a Of course, replace XXX with the name of the FLTK library which you are using. pexports.exe and dlltool.exe should be in your FreeBASIC bin\win... subdirectory In cas...
by jdebord
Mar 29, 2016 7:40
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 89379

Re: FLTK C for FreeBASIC.

Thank you for this update !

However, it seems that the import library libfltk...dll.a is missing in the Windows archive.
by jdebord
Nov 27, 2015 8:07
Forum: Tips and Tricks
Topic: Circle from 3 points.
Replies: 1
Views: 712

Re: Circle from 3 points.

Very useful routine. Thank you very much.
by jdebord
Oct 17, 2015 7:53
Forum: Community Discussion
Topic: A list of my FreeBASIC activities of the past 10 years.
Replies: 16
Views: 5051

Re: A list of my FreeBASIC activities of the past 10 years.

Very useful collection of links ! Thank you very much !
by jdebord
Oct 06, 2015 8:01
Forum: Libraries
Topic: OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)
Replies: 3
Views: 2450

Re: OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)

Thanks for the update :)

What is the best means to use OpenGL : from a FB window or from a FLTK window ?
by jdebord
Jul 04, 2015 7:05
Forum: DOS
Topic: Known Issues with DOSBox?
Replies: 12
Views: 3338

Re: Known Issues with DOSBox?

DosBox emulates a 16-bit system, no ? FBC is 32 or 64 bit.
by jdebord
Jun 15, 2015 8:09
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

The OS will trigger an DrawCB and you have to refresh the destroyed content. Thank you for the modified program. It works now, except for the Fl_WidgetSetBox function which does not plot the border. I have replaced it by DrawBox, inside the DrawCB function. #include "fltk-c.bi" function D...
by jdebord
Jun 12, 2015 8:20
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Another graphic question. In the following program a line is plotted when the button is clicked. However the line disappears when the window is minimized or covered by another window. Is it possible to make the plot "permanent" ? #include "fltk-c.bi" dim shared as Fl_Window ptr w...
by jdebord
Jun 03, 2015 9:16
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

A calculator made with FreeBASIC and FLTK: http://i18.servimg.com/u/f18/16/88/76/65/calc11.png There are 3 files: http://sourceforge.net/p/fbmath/code/HEAD/tree/FLTK/calc/fbeval.bas http://sourceforge.net/p/fbmath/code/HEAD/tree/FLTK/calc/fbeval.bi http://sourceforge.net/p/fbmath/code/HEAD/tree/FLTK...
by jdebord
May 23, 2015 7:34
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

There seems to be a bug with the function Fl_Color_ChooserHue : it returns a constant value instead of the correct hue. Here is a modification of the demo program Fl_Color_Chooser01.bas which shows the problem (sub ChooserCB1) For a workaround, get the RGB values and convert to HSV with Fl_Color_Cho...
by jdebord
Apr 01, 2015 7:15
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

The second method works. Thank you very much !

The first method gives a lot of "duplicated definitions", probably because fltk-c.bi is already included in myfltk.bas
by jdebord
Mar 30, 2015 7:54
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

I have a problem trying to make a library on top of FLTK. Example : Library (myfltk.bas) #include "fltk-c.bi" dim shared Widget(0 to 10) as any ptr sub Form(i as integer, w as integer, h as integer) Widget(i) = Fl_WindowNew(w, h) end sub sub Button(i as integer, x as integer, y as integer,...
by jdebord
Mar 26, 2015 9:08
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK 1.3.3 C Wrapper Windows/Linux 32/64-bit.

Hello D. J. Peters,

Thank you for the new version !

I have updated the french tutorial. The link is the same:
http://sourceforge.net/projects/fbmath/ ... _intro.htm
by jdebord
Feb 04, 2015 7:52
Forum: Beginners
Topic: math extensions
Replies: 4
Views: 737

Re: math extensions

Did you try FBMath ?

http://sourceforge.net/projects/fbmath/ ... math/0.66/

Yes it's a library, but there is a complete PDF documentation which I think is quite understandable ...

And it has complex numbers, factorials, Gamma functions and the like.
by jdebord
Dec 29, 2014 9:12
Forum: Libraries
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 100041

Re: FLTK C Wrapper (Fast Light Toolkit v 1.3.3)

I have updated the french tutorial to take into account the change of version. The only modified file is:
http://sourceforge.net/projects/fbmath/ ... _intro.htm

Go to advanced search