From 7d421d0069dbc8bcf948a29d39c3f8e65de19b33 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 26 May 2023 11:51:38 +0200 Subject: draw, editor, main: add toggling vobj display --- main/main-impl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/main-impl.cpp') 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) -- cgit v1.2.3