From: <aki...@us...> - 2007-01-23 21:36:04
|
Revision: 1687 http://svn.sourceforge.net/gridarta/?rev=1687&view=rev Author: akirschbaum Date: 2007-01-23 13:36:02 -0800 (Tue, 23 Jan 2007) Log Message: ----------- Make functions 'private'. Modified Paths: -------------- trunk/crossfire/src/cfeditor/gui/map/DefaultLevelRenderer.java Modified: trunk/crossfire/src/cfeditor/gui/map/DefaultLevelRenderer.java =================================================================== --- trunk/crossfire/src/cfeditor/gui/map/DefaultLevelRenderer.java 2007-01-23 21:31:35 UTC (rev 1686) +++ trunk/crossfire/src/cfeditor/gui/map/DefaultLevelRenderer.java 2007-01-23 21:36:02 UTC (rev 1687) @@ -216,7 +216,7 @@ * Returns whether the rendered map is a pickmap. * @return <code>true</code> if the rendered map is a pickmap, otherwise <code>false</code> */ - public boolean isPickmap() { + private boolean isPickmap() { return isPickmap; } @@ -280,7 +280,7 @@ * @param isSnapshot true when this drawing is for a * "screenshot"-image, false for normal drawing */ - public void paintComponent(final Graphics grfx, final boolean isSnapshot) { + private void paintComponent(final Graphics grfx, final boolean isSnapshot) { setColor(grfx); grfx.fillRect(0, 0, getWidth(), getHeight()); final Point point = new Point(); @@ -333,7 +333,7 @@ * @param point Map coordinates of the square to highlight * @param grfx graphics context to draw in */ - public void paintHighlightTile(final Graphics grfx, final Point point) { + private void paintHighlightTile(final Graphics grfx, final Point point) { final int gridFlags = mapGrid.getFlags(point.x, point.y); if ((gridFlags & MapGrid.GRID_FLAG_SELECTING) != 0) { CMainControl.getMapSelIcon().paintIcon(this, grfx, point.x * 32, point.y * 32); @@ -445,7 +445,7 @@ backBuffer = null; } - public void paintTile(final Graphics grfx, final Point point) { + private void paintTile(final Graphics grfx, final Point point) { // ---------- draw tile for rectangular view (non-iso) -------------- filter.newSquare(); setColor(grfx); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |