diff options
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 6 | ||||
-rw-r--r-- | src/graphic/graphic.h | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 20649d3c..92acd9be 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -17,6 +17,8 @@ * You should have received a copy of the GNU General Public License * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id$ */ #include "graphic.h" @@ -412,7 +414,9 @@ void GraphicEngine::refresh() { buffer, i * 32 - offset_x, j * 32 - offset_y); } #ifdef DEBUG - rect(buffer, i * 32 - offset_x, j * 32 - offset_y, i * 32 - offset_x+32, j * 32 - offset_y+32,makecol(0,0,0)); + rect(buffer, i * 32 - offset_x, j * 32 - offset_y, + i * 32 - offset_x + 32, j * 32 - offset_y + 32, + makecol(0,0,0)); #endif } } diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h index c87cf3ca..0f6710f8 100644 --- a/src/graphic/graphic.h +++ b/src/graphic/graphic.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU General Public License * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id$ */ #ifndef _GRAPHIC_H @@ -62,13 +64,17 @@ extern InventoryWindow *inventoryWindow; extern NpcListDialog *npcListDialog; extern NpcTextDialog *npcTextDialog; -// The action listener for the chat field +/** + * The action listener for the chat field. + */ class ChatListener : public gcn::ActionListener { public: void action(const std::string& eventId); }; -// The action listener for the buy or sell dialog +/** + * The action listener for the buy or sell dialog. + */ class BuySellListener : public gcn::ActionListener { public: void action(const std::string& eventId); |