Page 1 of 1

GUI Concept

Posted: Sat Jun 26, 2004 4:36 am
by amirsadig
All topic here about GUI talk about how let GUI be simple for users programs and not about Concept of it.
I was as all programmer write windows based program and Java based GUI or Gnome ...
I want to let make a common Base GUI Sysem, which handle basic GUI operetion like drawing, catch event and throw it to programs. on top of this user can build X Window System or Widnows GDI or even new GUI.
that surely theory, what I miss is Concept about GUI.

what Window means?
what GUI elements (buttom, menu ...) is? is they also a Window but a child from a parent Window?
is Window what we see in MS Windows ( A Frame with title ..) or only abstract data structure?
from VESA I can not access 3D operation, accelarator of the CARD GPU, how to acces it?
these concept what I miss. if you have some usefull link about or even books, it will nice :D

Re:GUI Concept

Posted: Wed Jun 30, 2004 7:21 am
by amirsadig
I have read the Xlib a part of Xlib and write some simple example, which create a window and draw some lines and boxes.

If I run those example on X server without a window manager, then there is not docoration and no resize ability. that is already know as XLib programmer.

the code does not know about the window manager, then how window manager draw those decoration? how it notified about there is an new created window?
on Xlib manual there is no info about such that.

why I ask here about Xlib, because I want to implement a minimal Xlib and without network. so that I can write a simple Xterm. after that I can slowly implement all others stuf.

I hope about response here ;).

Re:GUI Concept

Posted: Wed Jun 30, 2004 7:47 am
by Pype.Clicker
i'd be tempted to say that as the Window Manager owns the 'root' window, it simply receives window creation requests for windows that whish to become child of that well-known "root" window.

but as i'm not an X dever, don't take my words for granted.

Re:GUI Concept

Posted: Wed Jun 30, 2004 8:17 am
by amirsadig
have you design GUI?
if yes, which Concept did you take? your own or ...?

Re:GUI Concept

Posted: Wed Jun 30, 2004 9:21 am
by Pype.Clicker
Well, my GUI "ideas" are available at http://clicker.sourceforge.net/ideas/GU ... mming.html ...

the center concepts are
- a collection of renderer plugins that are bound to the video server and know how to efficiently display fonts, pixmaps, vector graphics, etc.
- clients sending content to renderers
- a 'meta-renderer' that can use script-like content to build widgets and compose other renderes in another window.

this is all still a bit sketchy and far away in the implementations todo ...