Search found 501 matches

by jdebord
Aug 11, 2016 6:57
Forum: Beginners
Topic: Screen Scrolling
Replies: 59
Views: 9217

Re: Screen Scrolling

@dodicat:
I have got your zip file ! Thanks :)
The demo runs very well.
by jdebord
Aug 10, 2016 7:55
Forum: Beginners
Topic: Screen Scrolling
Replies: 59
Views: 9217

Re: Screen Scrolling

@dodicat:
The link is blocked by my ISP. Is there another means to get these files?

@BasicCoder2:
I have checked your demo. Very interesting !
by jdebord
Aug 09, 2016 7:02
Forum: Beginners
Topic: Screen Scrolling
Replies: 59
Views: 9217

Re: Screen Scrolling

Hello dodicat,
Where did you find these include files: mysoft_collision.bi and 24bitcustomfont.bi ?
by jdebord
May 12, 2016 7:18
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198052

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 & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198052

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: Sources, Examples, Tips and Tricks
Topic: Circle from 3 points.
Replies: 1
Views: 931

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: 7530

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 & Headers
Topic: OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)
Replies: 3
Views: 3391

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: 4417

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: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 149509

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: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 149509

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: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 149509

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: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 149509

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: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 149509

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: Archive
Topic: FLTK 1.3.x C Wrapper (obsolete)
Replies: 753
Views: 149509

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