scroll is now right-mouse + drag; feedback while dragging added.

added another 5 tiles to right-hand-side, so i dont get black on hi-res display :)

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1100 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
chrisf
2007-07-05 10:09:59 +00:00
parent be7a24a6c7
commit 4010ccf463
3 changed files with 658 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ namespace ShpViewer
Graphics g = e.Graphics;
for (int x = 50; x >= 0; x--)
for (int x = 55; x >= 0; x--)
{
int tX = x + Map.XOffset + XScroll;
if (tX < Map.XOffset || tX >= Map.XOffset + Map.Width)