None of the GUI libraries will work ;(

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
datwill310
Posts: 355
Joined: May 29, 2015 20:37

None of the GUI libraries will work ;(

Postby datwill310 » Feb 12, 2016 20:57

Hello. I've recently looked up in the free basic help file about GUI libraries, and the ones I've tried (CGUI, GTK+, and wx-c) do not work (that is, their examples in the examples folder)! For the first two, certain libraries could not be found and with the first and last one, some includes aren't in the inc folder. I've noticed this sort of thing happens a lot whenever I've tried to use external aids which come with FB. Please could somebody help me?
MrSwiss
Posts: 3610
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: None of the GUI libraries will work ;(

Postby MrSwiss » Feb 12, 2016 21:48

Hi datwill310,

it is a fact that most of the external LIB's are NOT in the FreeBASIC package (only the needed Bindings in INC folder).
This has the following reasons:
    Size of Download
    External LIB's change with Time
    Maintenance is too work intensive (for the DEV's)
You'll have to Download them from their Source (Internet).
Otherwise use FLTK 1.3.3 Wrapper (by D.J.Peters), he's also supplying static LIB's, as well as .dll/.so.
datwill310
Posts: 355
Joined: May 29, 2015 20:37

Re: None of the GUI libraries will work ;(

Postby datwill310 » Feb 12, 2016 22:08

MrSwiss wrote:Hi datwill310,

it is a fact that most of the external LIB's are NOT in the FreeBASIC package (only the needed Bindings in INC folder).
This has the following reasons:
    Size of Download
    External LIB's change with Time
    Maintenance is too work intensive (for the DEV's)
You'll have to Download them from their Source (Internet).
Otherwise use FLTK 1.3.3 Wrapper (by D.J.Peters), he's also supplying static LIB's, as well as .dll/.so.

Ah, thank you! I will investigate further!
petan
Posts: 683
Joined: Feb 16, 2010 15:34
Location: Europe
Contact:

Re: None of the GUI libraries will work ;(

Postby petan » Feb 13, 2016 8:41

If you 'll try Tinydialog and sGUI, I am sure about that.
And for sGUI no Dlls needed ;))
Lost Zergling
Posts: 334
Joined: Dec 02, 2011 22:51
Location: France

Re: None of the GUI libraries will work ;(

Postby Lost Zergling » Apr 11, 2016 7:36

Hi all ! :-)
I'm using TinyDialog & I'm very happy with this easy fast tool for fast designing very simple gui's,.. (no menus, etc)
Althought, I found a serious limitation :
It would be great if it could design 2 or 3 columns items, for ex 2 or 3 Dialog boxes on same line in the window :
blabla DialogBox | blabla DialogBox | blabla DialogBox

This would be a great improvment to optimize the use & capabilities of this tool for designing windows working either for hight & low resolution screens, otherwise I've got no other solution but cascaded popup with poor ergonomy.
Well, I know it's a dll, and so on,..
I search this forum, I didn't find anything about this,..
May anyone have a solution/tip/trick ?
petan
Posts: 683
Joined: Feb 16, 2010 15:34
Location: Europe
Contact:

Re: None of the GUI libraries will work ;(

Postby petan » Apr 11, 2016 7:56

@ Lost Zergling
- If you need improvement in TinyDialog, ask for it an author of this easyest GUI library
- the simplest solution for your question has name sGUI 084 tuned and WizDizzy
- if you need big tool for proofy SW - learn&use FLTK,DISLIN,SDL2,GTK3 etc. ;)
Lost Zergling
Posts: 334
Joined: Dec 02, 2011 22:51
Location: France

Re: None of the GUI libraries will work ;(

Postby Lost Zergling » Apr 11, 2016 20:53

Thank you for response. I wanted to be sure if it was possible doing this simply with this tool or not. I would had prefer if it had been possible of course. Anyway a usefull product so simple & easy to use, purpose in the spirit of a "Basic" language.
petan
Posts: 683
Joined: Feb 16, 2010 15:34
Location: Europe
Contact:

Re: None of the GUI libraries will work ;(

Postby petan » Apr 11, 2016 21:31

@ Lost Zergling
Yes, IIUC what you want - TinyDialog has 50 controls maximally, in one column.
With WizDizzy 0.5 (still private beta testing, but finishing slowly) you can create widget with 50x50 controls/gadgets.
Even with ver. 0.3 and manual encapsulating&renaming of designer result you are able to do it.
Lost Zergling
Posts: 334
Joined: Dec 02, 2011 22:51
Location: France

Re: None of the GUI libraries will work ;(

Postby Lost Zergling » Apr 13, 2016 13:51

Hi,
Could'nt download "WizDiz", broken link ?
Found also alternative gui_chung dll seems to be not so complex (few more hard code & looks like lacking few usefull basic controls such as OpenFolder), small, no dll, very open & menuitem. windows only.
Your favorite Zergling.
petan
Posts: 683
Joined: Feb 16, 2010 15:34
Location: Europe
Contact:

Re: None of the GUI libraries will work ;(

Postby petan » Apr 13, 2016 14:04

@Lost Zergling
Mhm, this link works for me (WizDizzy first post), no problem founded on Dropbox..
https://db.tt/wR8Cd7Pu
for you doesn't ?
edit-
Ah, you mean 0.5 ? That's not online yet.. some days remains until beta version 'll be up for public testing.
(Just comparing my widget commands with FakeWindow in 085alpha &some other finalizing..)

Return to “Libraries”

Who is online

Users browsing this forum: No registered users and 3 guests