visopsys.org
http://visopsys.org/forums/

Desktop Question
http://visopsys.org/forums/viewtopic.php?f=3&t=88
Page 1 of 1

Author:  osmiumusa [ Sun May 22, 2011 3:32 am ]
Post subject:  Desktop Question

Hiya,

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

Thank you

Osmiumusa

Author:  andymc [ Sun May 22, 2011 9:09 pm ]
Post subject:  Re: Desktop Question

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.

Author:  osmiumusa [ Sun Jun 12, 2011 2:32 am ]
Post subject:  Re: Desktop Question

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:

Author:  andymc [ Sun Jun 12, 2011 2:55 am ]
Post subject:  Re: Desktop Question

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

Author:  osmiumusa [ Mon Jun 13, 2011 2:38 am ]
Post subject:  Re: Desktop Question

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/