Complete.Org: Mailing Lists: Archives: freeciv-java: November 2001:
[FreeCiv-Java] scrollable map component
Home

[FreeCiv-Java] scrollable map component

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Brian Duff" <Brian.Duff@xxxxxxxxxx>
Cc: <freeciv-java@xxxxxxxxxxx>
Subject: [FreeCiv-Java] scrollable map component
From: "Luke Lindsay" <LUKE@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Nov 2001 20:05:11 -0000

I've attached a simple test program I wrote that isolates the scrolling
classes from jfreerails.

To see what it does, compile and run TestScrolling.java

Overriding paintBufferRectangle in TiledBackgroundPainter would allow you to
use the scrolling code and still have alot of flexibility over how the
painting gets done.

Luke

Attachment: jfreerails_test_scrolling.zip
Description: Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]