Search found 468 matches

by jdebord
Jul 19, 2019 7:01
Forum: Projects
Topic: DOD.bas Dungeon of Doom
Replies: 1
Views: 109

Re: DOD.bas Dungeon of Doom

You may wish to check Richard Clark's website :

http://users.freebasic-portal.de/rdc/index.html

He has an excellent tutorial "Let's build a roguelike" and several FreeBASIC programs.
by jdebord
Jul 17, 2019 9:06
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK-C-1.3.3 for FreeBASIC

Glad to see that it works :)

And yes, TRUE and FALSE are already defined in the most recent FB versions.
by jdebord
Jul 17, 2019 6:56
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK-C-1.3.3 for FreeBASIC

I have already mentioned my calculator program:

viewtopic.php?f=14&t=21548&p=208187#p208187

I have other programs written with FLTK but they are all french versions so I have to modifiy them.

And BTW, yes I use global variables :)
by jdebord
Apr 01, 2019 7:01
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK C for FreeBASIC Jan 09, 2017

You may try Fl_Redraw (Redraws all widgets) or Fl_WidgetRedraw(mnb) (Redraws a specific widget)
by jdebord
Jan 08, 2019 8:45
Forum: Tips and Tricks
Topic: Mirror an Image or the Screen horizontal or vertical only with GET and PUT.
Replies: 7
Views: 504

Re: Mirror an Image or the Screen horizontal or vertical only with GET and PUT.

Thank you very much ! This is an excellent complement to your FBImage and Multiput libraries.
by jdebord
Oct 08, 2018 7:33
Forum: Hardware Interfaces / Communication
Topic: Raspberry Pi and FreeBASIC
Replies: 18
Views: 3414

Re: Raspberry Pi and FreeBASIC

Isn't FB already available in Raspbian ?
by jdebord
May 12, 2018 9:08
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK C for FreeBASIC Jan 09, 2017

Two questions about the Fl_Canvas widget: 1) The label does not appear: #include once "fltk-c.bi" var win = Fl_Double_WindowNew(500,500) var can = Fl_CanvasNew(50, 50, 400, 400, "Canvas") Fl_WindowShow win Fl_Run 2) What is the meaning of the parameters srcX and srcY in the callb...
by jdebord
Feb 26, 2018 7:46
Forum: Community Discussion
Topic: [offtopic]The "new" C64 mini
Replies: 3
Views: 591

Re: [offtopic]The "new" C64 mini

There seems to be an attempt to revive the ZX spectrum with a Raspberry Pi :

https://www.electronicsweekly.com/news/ ... o-2017-04/
by jdebord
Jan 06, 2018 8:08
Forum: Linux
Topic: What do you think about FB as a bash scripting alternative?
Replies: 7
Views: 838

Re: What do you think about FB as a bash scripting alternative?

The latest version (0.9.27) of TCC is here :

viewtopic.php?f=14&t=24699

You can generate TCC scripts from FreeBASIC :

viewtopic.php?f=14&t=24699
by jdebord
Jan 04, 2018 8:01
Forum: Tips and Tricks
Topic: TinyDialog a simple Windows and Linux user interface.
Replies: 100
Views: 19536

Re: TinyDialog a simple Windows and Linux user interface.

JohnK wrote:Btw, if you didn't read the gui thread, don't bother. I still think FLTK and this lib are the best choice for FB.


I agree with this. I will stick to FLTK, no matter which library is added to FB.
by jdebord
Sep 19, 2017 8:12
Forum: Tips and Tricks
Topic: complex math
Replies: 10
Views: 1375

Re: complex math

@srvaldez : Thank you for the Haber reference. Very useful ! @dodicat : I checked the C++ examples with FBMath. For the first two I get the same result : (0.000000,1.047198). Probably FB does not make a difference between 0.000000 and -0.000000 For the two other examples I get the same results than ...
by jdebord
Sep 18, 2017 7:05
Forum: Tips and Tricks
Topic: complex math
Replies: 10
Views: 1375

Re: complex math

With FBMath I get (1 + 2i), too.
by jdebord
May 06, 2017 7:50
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK C for FreeBASIC Jan 09, 2017

Try this:

Code: Select all

Fl_WidgetSetType scr, FL_SCROLL_VERTICAL

See the other FL_SCROLL_... constants in fltk-main.bi
by jdebord
Apr 28, 2017 6:43
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK C for FreeBASIC Jan 09, 2017

Thank you for these explanations !

I was aware of Fl_SetScheme, but I have still many things to learn :)
by jdebord
Apr 27, 2017 9:17
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 269
Views: 34286

Re: FLTK C for FreeBASIC Jan 09, 2017

How do you make a horizontal scrollbar ? I found this in one of erco's examples (http://seriss.com/people/erco/fltk/#Fl_Scrollbar) : scrollbar = new Fl_Scrollbar(0,50,500,25,"Scrollbar"); scrollbar->type(FL_HORIZONTAL); But I cant'find the equivalent of "type" in the FB version.

Go to advanced search