freebasic.net Forum Index
FreeBASIC's Official Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in

FB_GUI V1.20 (New Release Mar 28, 2010)
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    freebasic.net Forum Index -> Projects
View previous topic :: View next topic  
Author Message
BasicScience
Sr. Member
PostPosted: Aug 29, 2009 18:52    Post subject: Reply with quote

FB_GUI_V1.12 is now available
http://sites.google.com/site/freebasicgui/Home
 
Back to top
View user's profile
BasicScience
Sr. Member
PostPosted: Sep 13, 2009 20:39    Post subject: Reply with quote

FB_GUI_V1.13 is now available
http://sites.google.com/site/freebasicgui/Home
 
Back to top
View user's profile
BasicScience
Sr. Member
PostPosted: Jan 03, 2010 1:23    Post subject: Reply with quote

FB_GUI_V1.14 is now available
http://sites.google.com/site/freebasicgui/Home
 
Back to top
View user's profile
HD_

PostPosted: Jan 03, 2010 3:35    Post subject: Reply with quote

It's nice to see this project is still active, keep up the good work :)
 
Back to top
View user's profile
BasicScience
Sr. Member
PostPosted: Jan 03, 2010 6:39    Post subject: Reply with quote

Thanks. It's not super creative... just "reverse engineering" to make the common GUI controls from VB6 available for FB, where the code can be more compact and easier to understand.
 
Back to top
View user's profile
bethell

PostPosted: Jan 10, 2010 6:19    Post subject: Reply with quote

Hi,
I'm new to FBGui.

When I try to run any of the compiled examples (dataentry.exe etc) I get a "freetype6.dll not found" error.

Do I need to download/install something before I run the examples ?

Thanks !!
 
Back to top
View user's profile
aston

PostPosted: Jan 10, 2010 8:51    Post subject: Reply with quote

Is there a way that can be posibille run FB GUI without freetype.dll?
I think that makes no sense that GUI framework need only one type
of font for work is'nt?
I download FBGUI and i can't run examples becose app tell me that i dont have font called verasans.ttf where i can find this font?
Oh ok i find ,doenload vera.ttf and put this font in same folder where are
examples and also put in same folder freetype.dll but examples refuse to work? It seems that path not recognised?
'--------------------------------------------------------
Oh my i dont see this:
1. Required files.

FB_GUI_Lib.Bas must be in the FreeBasic \Inc\FB_GUI folder
FB_GUI.BI must be in the FreeBasic \Inc folder

VERA.TTF must be in the C:\Windows\Fonts folder

FreeType6.Dll must be in Windows\System32 folder
zlib.dll must be in Windows\System32 folder

'------------------------------------------------------------------------------
I think that this solution is not good.
So is there a way that example program automaticly find
startpath of required files, this will be then OK.?

I'm interested for FBGUI becose i think about posibility to add this GUI
as GUI framework for YaBasic ...

all best
Aurel
 
Back to top
View user's profile
BasicScience
Sr. Member
PostPosted: Jan 10, 2010 14:34    Post subject: Reply with quote

@ Bethell

To run one of the exe examples (Windows only), you must have

VERA.TTF in the C:\Windows\Fonts folder
FreeType6.Dll in Windows\System32 folder
zlib.dll in Windows\System32 folder

These are required to support the custom font features from the freebasic extended library. The dlls and TTF files are available at the FB_GUI site.


@ Aston
The issues you mention all relate to the use of custom fonts. I lot of effort went in to adding this feature.. because you cannot assume the size of a character string on the screen. You will notice that many GUI packages in FB are restricted to only use the standard font (ie. default with draw_string).

I have not been completely satisfied with the FB_ext lib fonts.. you wil notice a few glitches in rendering the font glyphs (but I greatly appreciate the work of others). If I had to do it all over again, I would have used xFont. I am still considering a conversion to xFont, which is why I haven't cleaned up some of the inconveniences of installation.

thanks for your interest.
 
Back to top
View user's profile
aston

PostPosted: Jan 10, 2010 15:03    Post subject: Reply with quote

Thanks to you but you dont undrstand me.
I say that this part is not good at all becose user must copy files inside
system32 folder?
this:
VERA.TTF in the C:\Windows\Fonts folder
FreeType6.Dll in Windows\System32 folder
zlib.dll in Windows\System32 folder

So i dont know but i think that FreeBasic have command such as
Setstartpath or getstartpath or something similiar and on this way
this files can be inside same folder where are examples.
do you get me now?
I hope that i dont whish to much!
And i hope that is posibile is'nt?
 
Back to top
View user's profile
D.J.Peters
Guru
PostPosted: Jan 10, 2010 16:33    Post subject: Reply with quote

hello aston
you are right all files can be in the same folder as your compiled exe
but you must add the folder to the systems search path.

DriveLetter:\MyFolder\MyApp.exe

set PATH=DriveLetter\MyFolder;%PATH%

But many other programs (all gtk apps etc.) need's zlib1.dll and freetype6.dll
so Drive:\Windows\System32\ are the primary choice.

i would put all my fonts to Drive:\Windows\Fonts

Joshy
 
Back to top
View user's profile Visit poster's website
aurelVZAB

PostPosted: Jan 10, 2010 17:51    Post subject: Reply with quote

Joshy i understand you perfectly and of course i know that many other
programs use this files but ( big BUT) from my point of view is not very
good idea puting files inside windows system folder isn't.
I prefer always if is application portable like this one put all needed files in
one folder where exe is.
On this way you have untached windows system folder and i see that
many programmers do programs on that way becose is primary better
choice.
 
Back to top
View user's profile Send e-mail Visit poster's website
bethell

PostPosted: Jan 11, 2010 5:18    Post subject: Reply with quote

Perhaps an alternative would be to have a 'setup' executable for FB_Gui which will create all the necessary environment variables, and put the required fonts/dlls etc in their proper places ... ?

Regards
 
Back to top
View user's profile
agamemnus
Master
PostPosted: Feb 20, 2010 21:18    Post subject: Reply with quote

Is there any opengl support planned? :|
 
Back to top
View user's profile
BasicScience
Sr. Member
PostPosted: Feb 24, 2010 4:20    Post subject: Reply with quote

@ agamemnus,

At the moment, no opengl used or planned. Is there a particular feature you had in mind?

Sorry for the slow response. I was away for a few days.
 
Back to top
View user's profile
BasicScience
Sr. Member
PostPosted: Mar 28, 2010 20:28    Post subject: Reply with quote

Many new changes. FB_GUI No longer requires DLLs be loaded for special font generation. GFX fonts from FB Extended Library have now all been replace with xFont.

FB_GUI_V1.20 is now available
http://sites.google.com/site/freebasicgui/Home
 
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    freebasic.net Forum Index -> Projects All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



sf.net phatcode