Search found 165 matches
- Oct 27, 2019 13:24
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
Fltk clock can be even adjusted. Rio and Tokio have always the same time, but AM and PM. ' Fltk_Clock_Timezones.bas ' This should work on linux and windows, as long you have the right ' settings of timezone and time in your pc #include once "fltk-c.bi" #include once "crt.bi" type...
- Oct 22, 2019 7:40
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
An Amstrad i never had. :-) I like the idea of pixmaps, to have all pics inside the executable. If there are files needed to load it makes a program vulnerable, because you never know it they are there. Furthermore pixmaps become not stretched on buttons like .png. This looks better if there is a bo...
- Oct 20, 2019 14:37
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
Here is a piano keyboard. Maybe somebody wants to connect it with a sound library. The numbers are for debugging and can be commented out later. ' Fltk_Piano_Keyboard.bas #include once "fltk-c.bi" sub ButtonCB cdecl (byval self as Fl_Widget ptr) print "Key: " & *Fl_WidgetGetL...
- Oct 20, 2019 14:31
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
Thanks Joshy!
I will go more in oop now.
I will go more in oop now.
- Oct 20, 2019 7:43
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
Now i opened a own thread i german forum. There i posted animated buttons again. Here is a slightly modified version: ' Fltk_Pixmaps_Anim_01.bas #include once "fltk-c.bi" dim as zstring ptr icon_eye_open_32x32_xpm(...) => {@"32 32 24 1", _ @" c None",@". c #0B0B0C&...
- Oct 19, 2019 8:13
- Forum: Community Discussion
- Topic: FreeBASIC 1.08 Development
- Replies: 339
- Views: 75558
Re: FreeBASIC 1.08 Development
@Knatterton: Why not take FreeBASIC just as it is? Then ... should we thank the devs and send them home? On the other hand you can't expect the developers to do a full time job without payment with adding all the things you mentioned to the core fb. All i want to express, even with FreeBASIC 1.07 y...
- Oct 19, 2019 5:45
- Forum: Community Discussion
- Topic: FreeBASIC 1.08 Development
- Replies: 339
- Views: 75558
Re: FreeBASIC 1.08 Development
Why not take FreeBASIC just as it is? I like the concept of a small executable. All the other things can be included as needed. Compared with ancient BASIC Versions the most missing would be sound support. But today many boxes not even have a speaker and sound support requires speakers or headphones...
- Oct 18, 2019 11:03
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
Another tutorial for Pixmap production:
https://www.freebasic-portal.de/tutoria ... k-120.html
Once you are familiar with it, it is really quickly done.
https://www.freebasic-portal.de/tutoria ... k-120.html
Once you are familiar with it, it is really quickly done.
- Oct 15, 2019 7:46
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
The complete about-window then could look like this: ' Fltk_About.bas #include once "fltk-c.bi" dim as zstring ptr fbhorse3_xpm(...) => {@"174 215 25 1", _ @" c None",@". c #1D531C",@"+ c #225918",@"@ c #336920",@"# c #3A6B36", _ ...
- Oct 14, 2019 11:27
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
This is the biggest version of it i have now. ' Fltk_Fbhorse_Pixmap_Big.bas #include once "fltk-c.bi" dim as zstring ptr fbhorse3_xpm(...) => {@"174 215 25 1", _ @" c None",@". c #200C5D",@"+ c #1F5618",@"@ c #34691F",@"# c #376933&quo...
- Oct 14, 2019 11:11
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
You all can use it. All i post here is considered public domain. :-)
- Oct 14, 2019 3:51
- Forum: Libraries & Headers
- Topic: FLTK-C-1.3.3 for FreeBASIC
- Replies: 435
- Views: 239107
Re: FLTK-C-1.3.3 for FreeBASIC
Pixmap production goes on. This time a new fbhorse-logo. ' Fltk_Fbhorse_Pixmaps.bas #include once "fltk-c.bi" dim as zstring ptr fbhorse1_xpm(...) => {@"84 104 25 1", _ @" c None",@". c #200C5D",@"+ c #1F5618",@"@ c #34691F",@"# c #376...
- Oct 11, 2019 22:43
- Forum: Beginners
- Topic: Controlling the window size of a compiled program?
- Replies: 15
- Views: 4730
Re: Controlling the window size of a compiled program?
but surely there's something simpler? There is almost all possible in FreeBASIC. It would depend on your code (if you could give a short example) and what you want to get at the end. A easy solution would be FB-Truetype. There you can choose any window size with screenres and use Truetype fonts: ht...
- Oct 11, 2019 15:13
- Forum: DOS
- Topic: freebasic on win32s
- Replies: 22
- Views: 25708
Re: freebasic on win32s
I have tried this theme yesterday in mint xfce but could not get it to work. "Redmond" works, that is M$ enough to me. But with wine it is possible to run even original win 3.1 programs as i described in linux section. Anyway, those old programs can only be interesting for short time today...
- Oct 10, 2019 22:42
- Forum: DOS
- Topic: freebasic on win32s
- Replies: 22
- Views: 25708