partitioning incenter editor specific code

This commit is contained in:
Peter Slattery 2022-08-09 17:02:42 -07:00
parent a1e7e2c378
commit 2d3b4040e1
2 changed files with 3 additions and 2 deletions

View File

@ -114,9 +114,8 @@ void sculpture_updated(App_State* state, r32 scale, r32 led_size);
#include "engine/output/lumenarium_output_uart.c"
#include "engine/output/lumenarium_output_sacn.c"
internal void incenter_sculpture_visualizer_ui(App_State* state, Editor* ed);
#if defined(PLATFORM_SUPPORTS_EDITOR)
internal void incenter_sculpture_visualizer_ui(App_State* state, Editor* ed);
# include "editor/lumenarium_editor_ui.c"
# include "editor/lumenarium_editor_renderer.c"
# include "editor/lumenarium_editor_sculpture_visualizer.c"

View File

@ -189,6 +189,7 @@ incenter_frame_prepare(App_State* state)
}
#if defined(PLATFORM_SUPPORTS_EDITOR)
internal void
incenter_sculpture_visualizer_ui(App_State* state, Editor* ed)
{
@ -204,6 +205,7 @@ incenter_sculpture_visualizer_ui(App_State* state, Editor* ed)
ui_layout_pop(&ed->ui);
}
#endif
internal void
incenter_frame(App_State* state)