diff options
Diffstat (limited to 'Table.cpp')
-rw-r--r-- | Table.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -72,3 +72,9 @@ void Table::draw(const Cursor& cursor) LZR_DrawRectangle(true, x - s / 2, y, s, _lane); } } + +void Table::set_layer(int layer) +{ + _layer = layer; + _layer %= _depth; +} |