sGUI

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: sGUI

Post by Coolman »

same problem as simplegui, the display fonts are too small under a 1920x1080 resolution and a 15" screen and would be unreadable on a 4k screen. sgui apparently uses bmps files containing the fonts, is it possible to manage larger fonts with correct positioning of the gadgets?
Lothar Schirm
Posts: 445
Joined: Sep 28, 2013 15:08
Location: Germany

Re: sGUI

Post by Lothar Schirm »

Hi Coolman, you could try FB_GUI by BasicScience, seems to use xFont (see my last post in "Simple GUI").
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: sGUI

Post by Coolman »

I thought this lib was no longer maintained.
I'll check it out.
thanks
Muttonhead
Posts: 140
Joined: May 28, 2009 20:07

Re: sGUI

Post by Muttonhead »

Thanks for the hint. For v0.8.4 quite a few adjustments are necessary to get the whole thing running with the current compiler, there were some other errors besides the SCREENINFO one. I will upload an executable package as soon as possible. A little patience :)

As for all its successors... sGui has undergone many changes on my computer, unfortunately it never really reached a real release.
In the meantime, for example, there is a small window system. But the whole thing still doesn't work as I imagine it.

Regarding your HiRes problem: in sGui it is now possible to use bitmap fonts of different sizes. But some controls (scrollbar, arrows for example) are set in stone regarding their size. definitely not scalable.

Of course, I could write something like a HiRes variant.

Mutton
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: sGUI

Post by Coolman »

Thank you for your reply Muttonhead, I just tried to compile the latest version of FB_GUI without success. I will wait for your new version of sGUI to test it and see if it fits my needs.
Muttonhead
Posts: 140
Joined: May 28, 2009 20:07

Re: sGUI

Post by Muttonhead »

important, not compatible with the previous version!
sGUI2... only available as an appetizer at the moment.
mainfeatures:
*no english comments/documentation/references. *oops*
*still: native FB screen, still single thread, some static sized window magic, some bitmap font support

check out the demos....
https://www.freebasic-portal.de/downloa ... 2-401.html

Mutton
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: sGUI

Post by Coolman »

I tested it. it's very promising. with font management. excellent. nice work.
srvaldez
Posts: 3398
Joined: Sep 25, 2005 21:54

Re: sGUI

Post by srvaldez »

@Muttonhead
very nice work :D
Muttonhead
Posts: 140
Joined: May 28, 2009 20:07

Re: sGUI

Post by Muttonhead »

update,
*PullDownMenu added
*BitmapFont Printing Routine added
https://www.freebasic-portal.de/downloa ... 2-401.html
srvaldez
Posts: 3398
Joined: Sep 25, 2005 21:54

Re: sGUI

Post by srvaldez »

thanks for the update :)
Roland Chastain
Posts: 1008
Joined: Nov 24, 2011 19:49
Location: France
Contact:

Re: sGUI

Post by Roland Chastain »

Great news! I can't wait to try it.
Post Reply