List of FreeBASIC GUI libraries/frameworks
List of FreeBASIC GUI libraries/frameworks
1. GTK+ (builtin)
2. IUP (builtin)
3. FB GUI
viewtopic.php?f=8&t=12592
4. FB GUI 2 (Window9)
viewtopic.php?f=14&t=17058
5. FLTK
viewtopic.php?f=14&t=24547
6. WinFBX
https://github.com/JoseRoca/WinFBX
7. MyFbFramework
https://github.com/XusinboyBekchanov/MyFbFramework
This is about the main players. People's own GUI libraries are too many that without the help of you I can't know about it. Please help me add the missing to pieces.
2. IUP (builtin)
3. FB GUI
viewtopic.php?f=8&t=12592
4. FB GUI 2 (Window9)
viewtopic.php?f=14&t=17058
5. FLTK
viewtopic.php?f=14&t=24547
6. WinFBX
https://github.com/JoseRoca/WinFBX
7. MyFbFramework
https://github.com/XusinboyBekchanov/MyFbFramework
This is about the main players. People's own GUI libraries are too many that without the help of you I can't know about it. Please help me add the missing to pieces.
Re: List of FreeBASIC GUI libraries/frameworks
8. XCGUI
viewtopic.php?f=14&t=27325
9. WX-C
viewtopic.php?f=14&t=20581
10. GUI-CHUNG
viewtopic.php?t=26403
11. SGL
https://github.com/ruanjiaxing/SGL-FreeBASIC
12. SGUI
viewtopic.php?f=8&t=13903
viewtopic.php?f=14&t=27325
9. WX-C
viewtopic.php?f=14&t=20581
10. GUI-CHUNG
viewtopic.php?t=26403
11. SGL
https://github.com/ruanjiaxing/SGL-FreeBASIC
12. SGUI
viewtopic.php?f=8&t=13903
Re: List of FreeBASIC GUI libraries/frameworks
The builtin GTK+ headers are pretty old. Here is the latest headers by TJF:
viewtopic.php?f=14&t=26932
viewtopic.php?f=14&t=26932
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: List of FreeBASIC GUI libraries/frameworks
13. X11
viewtopic.php?t=1606
14. WinAPI
viewtopic.php?t=13451
15. WinFormsX
https://github.com/PaulSquires/WinFormsX
16. Simple WinAPI GUI library
viewtopic.php?t=24617
viewtopic.php?t=1606
14. WinAPI
viewtopic.php?t=13451
15. WinFormsX
https://github.com/PaulSquires/WinFormsX
16. Simple WinAPI GUI library
viewtopic.php?t=24617
Re: List of FreeBASIC GUI libraries/frameworks
Oh, I really don't know about them.Xusinboy Bekchanov wrote:13. X11
viewtopic.php?t=1606
14. WinAPI
viewtopic.php?t=13451
15. WinFormsX
https://github.com/PaulSquires/WinFormsX
16. Simple WinAPI GUI library
viewtopic.php?t=24617
-
- Posts: 789
- Joined: Jul 26, 2018 18:28
Re: List of FreeBASIC GUI libraries/frameworks
There is also:
17. Qt with FB
viewtopic.php?t=15187
18. XForms GUI Toolkit
viewtopic.php?t=22671
19. FreeBasic Windows GUI Toolkit
viewtopic.php?t=14224
17. Qt with FB
viewtopic.php?t=15187
18. XForms GUI Toolkit
viewtopic.php?t=22671
19. FreeBasic Windows GUI Toolkit
viewtopic.php?t=14224
Re: List of FreeBASIC GUI libraries/frameworks
The most interesting is this. But unfortunately it's not developed anymore.
Re: List of FreeBASIC GUI libraries/frameworks
I met https://github.com/ying32/govcl recently, which is not a FreeBASIC GUI library, but is a GUI library based on Lazarus LCL for Go language. GoVCL is said to be a cross-platform GUI solution since Lazarus LCL does so.
Then I downloaded the pre-built binary file, and have a glimpse. I think the "liblcl.dll", which is compressed by upx to ~1.5M, is filled with Cdecl functions, so I give it a try
however the generated EXE file crashed if I run it.
There seems to be no document especially in C style. So it is a pity.
Then I downloaded the pre-built binary file, and have a glimpse. I think the "liblcl.dll", which is compressed by upx to ~1.5M, is filled with Cdecl functions, so I give it a try
Code: Select all
'~ Declare sub Application_Initialize Cdecl Lib "liblcl.dll"()
dim as any ptr DLL
dim Application_Initialize as sub cdecl()
dim Application_CreateForm as sub cdecl()
dim Application_Run as sub cdecl()
DLL = dylibload("liblcl.dll")
Application_Initialize = dylibsymbol( DLL, "Application_Initialize" )
Application_CreateForm = dylibsymbol( DLL, "Application_CreateForm")
Application_Run = dylibsymbol( DLL, "Application_Run")
Application_Initialize()
Application_CreateForm()
Application_Run()
There seems to be no document especially in C style. So it is a pity.
Re: List of FreeBASIC GUI libraries/frameworks
Freepascal (and Lazarus) uses register; calling convention by default, not cdecl, but the GO guys could have hacked their copy of course.
Re: List of FreeBASIC GUI libraries/frameworks
oyster,
This works in C and Windows.
This works in C and Windows.
Code: Select all
#include <stdio.h>
#include <windows.h>
unsigned int __stdcall Application_Instance(void);
void __stdcall Application_Initialize(unsigned int);
unsigned int __stdcall Application_CreateForm(unsigned int, unsigned int);
void __stdcall Application_Run(unsigned int);
void __stdcall Form_SetCaption(unsigned int, char *);
void __stdcall Form_SetWidth(unsigned int, unsigned int);
void __stdcall Form_SetHeight(unsigned int, unsigned int);
int main(int argc, char *argv[])
{
unsigned int app;
unsigned int pf;
app = Application_Instance();
Application_Initialize(app);
pf = Application_CreateForm(app, 1);
Form_SetWidth(pf, 320);
Form_SetHeight(pf, 200);
Form_SetCaption(pf, "Lcl Form");
Application_Run(app);
return 0;
}