Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Apr 07, 2020 2:30 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Scroll window pixels
PostPosted: Wed Oct 15, 2014 3:39 pm 
Offline
User avatar

Joined: Sun May 11, 2014 9:21 pm
Posts: 97
I need a function (a syscall) to efficiently scroll window pixels.
Parameters: rect, dh, dv
rect is the rectangle specified in window coordinates.
dh,dv are the horizontal and vertical number of pixels to move the pixels.
positive values move pixels to the right and down.
negative values move pixels to the left and up.
Pixels moved out of the window rectangle are lost.
Pixels moved in from outside the window rectangle remain unaffected.

I am a user-land programmer, and I prefer not to get involved in kernel programming.
I would appreciate it very much if a skillful kernel programmer would take care of this.

Note: useful options would be:
- put a specified color in pixels moved in from outside the window.
- an additional clipregion (or rectangle list)
- an update region on output
Here you can find the description of a similar function from microsoft's win32: http://msdn.microsoft.com/en-us/library/windows/desktop/bb787589(v=vs.85).aspx
Below is the description of a similar function from apple's quickdraw:
Attachment:
File comment: example from apple's quickdraw
Scrollbits.jpg
Scrollbits.jpg [ 101.62 KiB | Viewed 7196 times ]

_________________
Greetings from Seppe


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
Powered by phpBB® Forum Software © phpBB Limited