Qbasicnews.com

Full Version: X11 framework (X Windows System for FreeBASIC)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have ported over 600 prototypes as an "x11.bi" FreeBASIC include file.

[Image: x11.jpg]download

Thanx for your attention.

Joshy
Very nice. I'm sure a lot of people were looking forward to something like this (I know I was).
Quote:Very nice. I'm sure a lot of people were looking forward to something like this (I know I was).
Yep.
What is the X Windows system and how does it apply to FBasic? Is it a GUI framework? It looks like it is... can it look exactly like Windows? If yes, what advantage would it have over a Windows framework...?
X11 is the lowest level API of the Linux GUI. It just manages windows and events, has no buttons or menus, or hihher level controls. It's mainly used by people wihing to give their own look and feel to their apps (game developers?). No application in Windows.
Is this what the xscreensaver screensaver daemon programs (<.<)
uses? (Draw on root window and whatever?)
Are you asking me? I only browsed a couple of X11 tutorials...I know no more about X11 than I wrote in my previous post Big Grin
Quote:Is this what the xscreensaver screensaver daemon programs (<.<)
uses? (Draw on root window and whatever?)

With the XLib you can draw on all "drawables" the dektop and in all visible windows
and yes windows from other apps too and all works on remote computers too ;-)

All Screensaver support are defined in the "x11.bi"

If i write a GUI (12/2005 or 01/2006) for FreeBASIC all apps will be run on all
Windowmanager it needs only an running X Server no other libs (GTK, QT , wxWidget ...)

For example an MessageBox is an parent window with text / picture and an border or any
ather visible things and the buttons is only an child window with an Key and mousebutton
event. On the button (childwindow) you can draw text or use an picture on it.

For example if you change the background picture from the child window it looks
like that the button is pressed down.

Joshy
!!! Last Version 10/23/2005 !!!
"x11.bi" Download

Last example xtest10.bas XCreateGC, XGetImage, XPutImage.


Joshy
i will assume that this is not meant for the Windows operating system (since all talk regards to this are linux oriented)

if it's only for linux, can we look forward to a windows port?

oz~
Pages: 1 2