Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VNC Server for Syllable Desktop

 
Post new topic   Reply to topic    Syllable Forum Index -> Syllable Desktop
View previous topic :: View next topic  
Author Message
AndyShissler



Joined: 22 Oct 2010
Posts: 11
Location: Pennsylvania

PostPosted: Wed Dec 01, 2010 4:02 pm    Post subject: VNC Server for Syllable Desktop Reply with quote

I'm thinking about writing a VNC server for the Syllable Desktop. Does anyone one know which file(s) provides access to the screen buffer (i.e. video RAM)? Just need someone to point me in the right direction to get started. Thanks!
Back to top
View user's profile Send private message
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Wed Dec 01, 2010 5:25 pm    Post subject: Reply with quote

You mean, you want read-only access to the framebuffer to get a screenshot of the screen contents? In that case, you want os::Desktop::GetFrameBuffer(), Desktop::GetResolution(), Desktop::GetColorSpace() etc. See the os::Desktop docs here:

http://development.syllable.org/documentation/API/LibSyllable/classos_1_1Desktop.html

See also the source for the Camera dock plugin, which takes screenshots, In particular, lines 484-508:

http://syllable.cvs.sourceforge.net/viewvc/syllable/syllable/system/apps/desktop/dock_plugins/Camera/Camera.cpp?revision=1.11&view=markup&sortby=date
Back to top
View user's profile Send private message Visit poster's website
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2207
Location: Friesland

PostPosted: Wed Dec 01, 2010 5:51 pm    Post subject: Reply with quote

The source of the BZoom utility may also be instructive:

http://syllable.cvs.sourceforge.net/viewvc/syllable/syllable/system/apps/utils/bzoom/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Syllable Desktop All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group