ManaPlus
Macros
tablemodel.cpp File Reference

(986a3bf)

#include "gui/models/tablemodel.h"
#include "utils/dtor.h"
#include "gui/widgets/widget.h"
#include "listeners/tablemodellistener.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define WIDGET_AT(row, column)   (((row) * mColumns) + (column))
 
#define DYN_SIZE(h)   ((h) >= 0)
 

Macro Definition Documentation

◆ DYN_SIZE

#define DYN_SIZE (   h)    ((h) >= 0)

Definition at line 67 of file tablemodel.cpp.

◆ WIDGET_AT

#define WIDGET_AT (   row,
  column 
)    (((row) * mColumns) + (column))

Definition at line 66 of file tablemodel.cpp.