Scrollbars for Infinite Document?
Posted
by andyvn22
on Stack Overflow
See other posts from Stack Overflow
or by andyvn22
Published on 2010-04-28T22:07:58Z
Indexed on
2010/04/28
22:17 UTC
Read the original article
Hit count: 264
Is there a standard Aqua way to handle a practically infinite document?
For example, imagine a level editor for a tile-based game. The level has no preset size (though it's technically limited by NSInteger
's size); tiles can be placed anywhere on the grid. Is there a standard interface for scrolling through such a document?
I can't simply limit the scrolling to areas that already have tiles, because the user needs to be able to add tiles outside that boundary. Arbitrarily creating a level size, even if it's easily changeable by the user, doesn't seem ideal either.
Has anyone seen an application that deals with this problem?
© Stack Overflow or respective owner