#include <Omatrix.h>
Inheritance diagram for Matrix:
Definition at line 115 of file Omatrix.h.
Definition at line 33 of file Omatrix.cpp.
References NULL.
Definition at line 41 of file Omatrix.cpp.
References mem_del, and NULL.
Return the location position of a given absolute position
<int&> locX, locY - vars for returning the location positions <int> absX, absY - the given absolute position
Definition at line 184 of file Omatrix.cpp.
Referenced by MapMatrix::detect(), and MapMatrix::scroll().
[inline, virtual]
Reimplemented in MapMatrix, and ZoomMatrix.
Definition at line 146 of file Omatrix.h.
[virtual]
Definition at line 193 of file Omatrix.cpp.
Referenced by ZoomMatrix::draw_all(), and MapMatrix::draw_all().
Definition at line 217 of file Omatrix.cpp.
<int> winX1,winY1 = the coordination of the win, winX2,winY2 including the scroll bar and up,down panel
<int> locWidth = width and height of each location <int> locHeight
<Location*> locMatrix = pointer to a pre-allocated loc_matrix to be used by this class.
<int> maxXLoc = number of locations horizontally and vertically <int> maxYLoc in the matrix.
<int> zoomLevel = any of ZOOM_SMALL, ZOOM_MEDIUM, or ZOOM_LARGE <int> saveImageFlag = whether save the image to a buffer after drawing and reuse it during updates
Definition at line 68 of file Omatrix.cpp.
References MAX_WORLD_X_LOC, mem_add, mem_del, and BitmapW::size().
Return the bottom-right absolute positions of a given location
<int&> absX, absY - vars for returning the absolute positions of the location.
<int> locX, locY - the given location
Definition at line 170 of file Omatrix.cpp.
Return the top-left absolute positions of a given location
Definition at line 154 of file Omatrix.cpp.
Referenced by MapMatrix::scroll().
Definition at line 138 of file Omatrix.cpp.
<int> x, y - center of the absolute position where the text should be put. <char*> str - the display string.
Definition at line 574 of file Omatrix.cpp.
References V_BLACK.
[inline]
Definition at line 148 of file Omatrix.h.
References is_image_buf_latest.
Definition at line 120 of file Omatrix.cpp.
Definition at line 122 of file Omatrix.h.
[static]
Definition at line 123 of file Omatrix.h.
Definition at line 130 of file Omatrix.h.
Referenced by reset_image_buf().
Definition at line 119 of file Omatrix.h.
Definition at line 118 of file Omatrix.h.
Definition at line 117 of file Omatrix.h.
Definition at line 129 of file Omatrix.h.
Definition at line 128 of file Omatrix.h.
Definition at line 121 of file Omatrix.h.
Definition at line 126 of file Omatrix.h.
Definition at line 125 of file Omatrix.h.
Referenced by MapMatrix::detect().
Definition at line 132 of file Omatrix.h.