MASON-INTEREST-L Archives

September 2012

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 5 Sep 2012 09:19:59 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (8 lines)
Okay, I've committed to SVN the following new Display2D methods which set and get the scroll position.  The scroll position is defined as the x and y values *proportional* values between 0.0 (fully minimum position) and 1.0 (fully maximum position).  Not tested well yet but it seems to work right.

public Double2D getScrollPosition();
public void setScrollPosition(Double2D val);
public void setScrollPosition(double x, double y);

Sean

ATOM RSS1 RSS2