diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-26 11:51:38 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-26 11:51:38 +0200 |
| commit | 7d421d0069dbc8bcf948a29d39c3f8e65de19b33 (patch) | |
| tree | 35c04379407563c8d9fbb03f0116e9d1732028ba /main/main-impl.cpp | |
| parent | a768733aec06a395ad409e5ed8c49dee69414d64 (diff) | |
draw, editor, main: add toggling vobj display
Diffstat (limited to 'main/main-impl.cpp')
| -rw-r--r-- | main/main-impl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main-impl.cpp b/main/main-impl.cpp index f6a3dff0..c774e589 100644 --- a/main/main-impl.cpp +++ b/main/main-impl.cpp @@ -46,6 +46,9 @@ Vector2i floormat_main::window_size() const noexcept return _framebuffer_size; } +void floormat_main::set_render_vobjs(bool value) { _do_render_vobjs = value; } +bool floormat_main::is_rendering_vobjs() const { return _do_render_vobjs; } + void main_impl::set_cursor(uint32_t cursor) noexcept { if (cursor != _mouse_cursor || _mouse_cursor == (uint32_t)-1) |
