Search found 165 matches
- Oct 07, 2019 16:15
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 433
- Views: 198022
Re: FLTK-C-1.3.3 for FreeBASIC
Last one of the bulb-idea. Now all dark bulbs blinking. Push buttons to stop blinking. ' Fltk_Bulb_Dark_Blinking.bas #include once "fltk-c.bi" dim as zstring ptr bulb_clear_xpm(...) => {@"32 32 24 1", _ @" c None",@". c #3F3924",@"+ c #414340",@"...
- Oct 07, 2019 10:00
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 433
- Views: 198022
Re: FLTK-C-1.3.3 for FreeBASIC
Next step is making the bulbs blinking. The idea is, to provide a message system from your proggie to the user. The different lights could have special meanings like: Yellow blinking: update available Red blinking: harddisc almost full Green blinking: new email arrived and so forth. ' Fltk_Bulb_Ligh...
- Oct 06, 2019 17:31
- Forum: Libraries & Headers
- Topic: FBTrueType static Win/Lin 32/64-bit
- Replies: 70
- Views: 60473
Re: FBTrueType static Win/Lin 32/64-bit
#include once "FBTrueType.bi" screenres 1000,400,32 Dim As String fontfile,fontfiles() Dim As Integer font_c Dim As Long font fontfile=Dir("c:\windows\fonts\*.ttf") Do If fontfile="" Then Exit Do Else font = FontLoad("c:\windows\fonts\" & fontfile) If fon...
- Oct 06, 2019 14:55
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 433
- Views: 198022
Re: FLTK-C-1.3.3 for FreeBASIC
Now i have so many tries, i can even make a darker version. ' Fltk_Bulb_Dark.bas #include once "fltk-c.bi" dim as zstring ptr bulb_clear_xpm(...) => {@"32 32 24 1", _ @" c None",@". c #3F3924",@"+ c #414340",@"@ c #554D2D",@"# c #6B6D6...
- Oct 06, 2019 14:36
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 433
- Views: 198022
Re: FLTK-C-1.3.3 for FreeBASIC
But this was not good enough. Lights must match together and green and blue added. ' Fltk_Bulb_Light.bas #include once "fltk-c.bi" dim as zstring ptr bulb_clear_xpm(...) => {@"32 32 24 1", _ @" c None",@". c #3F3924",@"+ c #414340",@"@ c #554D2D...
- Oct 05, 2019 19:00
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 433
- Views: 198022
Re: FLTK-C-1.3.3 for FreeBASIC
This is based on an idea i had when seeing the blue, yellow and red bulb icons. It is possible to give a signal, blinking bulb or whatever if something happens. Additionally you can press button to make bulb red anytime. ' Fltk_Pixmapbutton_Bulb.bas #include once "fltk-c.bi" dim as zstring...
- Oct 05, 2019 3:19
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 433
- Views: 198022
Re: FLTK-C-1.3.3 for FreeBASIC
Joshy, i posted four tutorials about fltk here:
https://www.freebasic-portal.de/tutoria ... k-114.html
Hope you like them. :-)
(For english-speakers: please use chromium browser with "on the fly" translation to browse these pages)
https://www.freebasic-portal.de/tutoria ... k-114.html
Hope you like them. :-)
(For english-speakers: please use chromium browser with "on the fly" translation to browse these pages)
Re: Squares
Congratz!
Re: Squares
That's easy. It's all based on this formula:albert wrote:any help is appreciated...[
https://www.youtube.com/watch?v=IX2bE-OBtwk
- Sep 23, 2019 23:17
- Forum: Community Discussion
- Topic: Upgraded to FreeBASIC 64bit, now problems
- Replies: 10
- Views: 3378
Re: Upgraded to FreeBASIC 64bit, now problems
I try to avoid integer completely. If the variable never gets a higher value then 127 i use byte, if it can become very long even utlongint is available.
https://www.freebasic.net/wiki/wikka.ph ... blVarTypes
https://www.freebasic.net/wiki/wikka.ph ... blVarTypes
- Sep 22, 2019 22:04
- Forum: Community Discussion
- Topic: Upgraded to FreeBASIC 64bit, now problems
- Replies: 10
- Views: 3378
Re: Upgraded to FreeBASIC 64bit, now problems
Show error message or replace all integer with long. :-)ShawnLG wrote: I have Windows 64bit. What could be wrong?
- Sep 14, 2019 19:11
- Forum: Linux
- Topic: Installing on Linux Mint 19
- Replies: 8
- Views: 9728
Re: Installing on Linux Mint 19
Sounds interesting.
- Sep 14, 2019 17:36
- Forum: Linux
- Topic: Installing on Linux Mint 19
- Replies: 8
- Views: 9728
Re: Installing on Linux Mint 19
So this is a friendly cry for help. Would be nice to read about your further experiences. So far geany fits all my needs. Poseidon works also here. But there are few other IDE's available like Codeblocks, Eclipse and others. With Wine i can even start most of the Win-programs like FBEdit and others...
- Sep 14, 2019 10:15
- Forum: Linux
- Topic: Installing on Linux Mint 19
- Replies: 8
- Views: 9728
Re: Installing on Linux Mint 19
Yes, this is something one need to know.
- Sep 14, 2019 8:07
- Forum: Linux
- Topic: Installing on Linux Mint 19
- Replies: 8
- Views: 9728
Re: Installing on Linux Mint 19
Can somebody help me install FBC on Linux mint 19? Seems you have problems with the dependencies. You can do in terminal: sudo apt-get update sudo apt-get install gcc libncurses5-dev libffi-dev libgl1-mesa-dev libx11-dev libxext-dev sudo apt-get install libxrender-dev libxrandr-dev libxpm-dev geany...