viewports, anchored icons



I've been working on a graphical system for playing wargames by email, and 
I've run up against a problem that has me stumped. What I want to do is 
anchor certain small windows (the playing pieces) to a pixmap (the game 
board) in a large scrolling window such that the pieces follow the map when 
it's scrolled---even out of the viewport, if need be. The effect I want is 
something similar to the way it looks when selected areas are scrolled in 
and out of the viewport in Gimp. I know this can be done somehow; I'd be 
grateful for suggestions as to how I should go about it. Thanks!

-- 
J.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]