Page 1 of 1

Desktop Question

Posted: Sun May 22, 2011 3:32 am
by osmiumusa
Hiya,

What file is the actual desktop part of the kernel in?

Thank you

Osmiumusa

Re: Desktop Question

Posted: Sun May 22, 2011 9:09 pm
by andymc
Hmm, that answer is probably more complicated than what you were actually wanting to know.

The building blocks of the GUI are in the src/kernel/kernelWindow* files. The kernel thread that sets up the desktop and monitors GUI events, etc., is in kernelWindowThread.*. The config files that control some of what that thread does are in dist/system/config/. The GUI elements that are composites of the basic ones (file browsing widget, etc) are in src/lib/libwindow.

Hope that helps.

Re: Desktop Question

Posted: Sun Jun 12, 2011 2:32 am
by osmiumusa
I guess what I'm really trying to ask is all about the top bar. I found the config file for it, I just cant trace the code to the actuall rendering of the bar. I assume its using the menu component?

Thank you :mrgreen:

Re: Desktop Question

Posted: Sun Jun 12, 2011 2:55 am
by andymc
osmiumusa wrote:I guess what I'm really trying to ask is all about the top bar. I found the config file for it, I just cant trace the code to the actuall rendering of the bar. I assume its using the menu component?

Thank you :mrgreen:
The generic code for menu bar components is in src/kernel/kernelWindowMenuBar.c, and the code that creates that particular menu bar (and other desktop elements) is in src/kernel/kernelWindowShell.c.

Hope that helps!

Andy

Re: Desktop Question

Posted: Mon Jun 13, 2011 2:38 am
by osmiumusa
Thats great! One more question: where are all of the "debug_gui" messages logged? I would like to look at them to precisely see whats what at run time.