visopsys.org

Visopsys Forums
It is currently Wed Apr 25, 2018 3:09 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Desktop Question
PostPosted: Sun May 22, 2011 3:32 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
Hiya,

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

Thank you

Osmiumusa

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Desktop Question
PostPosted: Sun May 22, 2011 9:09 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
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.


Top
 Profile  
 
 Post subject: Re: Desktop Question
PostPosted: Sun Jun 12, 2011 2:32 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
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:

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
 Post subject: Re: Desktop Question
PostPosted: Sun Jun 12, 2011 2:55 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 7:20 pm
Posts: 463
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


Top
 Profile  
 
 Post subject: Re: Desktop Question
PostPosted: Mon Jun 13, 2011 2:38 am 
Offline
User avatar

Joined: Sat Jan 15, 2011 8:06 pm
Posts: 36
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.

_________________
Lemons. :) Nobody doesn't like lemons!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group