Crossfire JXClient, Trunk
|
Public Member Functions | |
ImageIcon | getImageIcon (int faceNum, @Nullable AtomicBoolean returnIsUnknownImage) |
int | getSize () |
Interface for face providers.
Definition at line 34 of file FacesProvider.java.
ImageIcon com.realtime.crossfire.jxclient.faces.FacesProvider.getImageIcon | ( | int | faceNum, |
@Nullable AtomicBoolean | returnIsUnknownImage | ||
) |
Returns the face for a face ID. This function returns immediately even if the face is not loaded. A not loaded face will be updated as soon as loading has finished.
faceNum | the face ID |
returnIsUnknownImage | returns whether the returned face is the "unknown" face; ignored if null
|
Implemented in com.realtime.crossfire.jxclient.faces.MagicMapFacesProvider, com.realtime.crossfire.jxclient.faces.OriginalFacesProvider, and com.realtime.crossfire.jxclient.faces.ScaledFacesProvider.
Referenced by com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.paintImage(), and com.realtime.crossfire.jxclient.gui.map.SmoothingRenderer.paintSmooth().
int com.realtime.crossfire.jxclient.faces.FacesProvider.getSize | ( | ) |
Returns the size of faces in pixels.
Implemented in com.realtime.crossfire.jxclient.faces.MagicMapFacesProvider, com.realtime.crossfire.jxclient.faces.OriginalFacesProvider, and com.realtime.crossfire.jxclient.faces.ScaledFacesProvider.
Referenced by com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.AbstractGUIMap(), com.realtime.crossfire.jxclient.gui.map.GUIMap.GUIMap(), and com.realtime.crossfire.jxclient.gui.map.GUIMiniMap.GUIMiniMap().