Search found 479 matches

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

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

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: 380
Views: 70717

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

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

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

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

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

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: 380
Views: 70717

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: 380
Views: 70717

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: 380
Views: 70717

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.
by jdebord
Apr 24, 2017 6:56
Forum: Beginners
Topic: a message to all new users of FreeBasic
Replies: 8
Views: 1333

Re: a message to all new users of FreeBasic

Incorporating the FLTK distribution into the standard FB packages is a very good idea, but it may be difficult to synchronize the FLTK updates with the FB updates ?
by jdebord
Apr 19, 2017 7:19
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70717

Re: FLTK C for FreeBASIC Jan 09, 2017

Yes it works. Thank you very much !

I had noticed this line but did not think it was responsible since the lower case letters were also allowed, as well as the digits.
by jdebord
Apr 18, 2017 7:05
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70717

Re: FLTK C for FreeBASIC Jan 09, 2017

@jdebord post a really short example with the problem please. Than I will look what I can do for you. Joshy I use a slightly modified version of the demo program Spreadsheet.bas provided with FLTK. It is not really short :) #include once "fltk-main.bi" ' Demonstrate simple spreadsheet edi...
by jdebord
Apr 16, 2017 5:37
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 380
Views: 70717

Re: FLTK C for FreeBASIC Jan 09, 2017

With the Spreadsheet.bas example program provided with FLTK, it's possible to enter capital letters when editing the headers of the rows or columns. But this is not possible when editing a table cell, since pressing the SHIFT key closes the input box. How can we modify the program so that we can typ...

Go to advanced search