partitioning incenter editor specific code
This commit is contained in:
parent
a1e7e2c378
commit
2d3b4040e1
|
@ -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_uart.c"
|
||||||
#include "engine/output/lumenarium_output_sacn.c"
|
#include "engine/output/lumenarium_output_sacn.c"
|
||||||
|
|
||||||
internal void incenter_sculpture_visualizer_ui(App_State* state, Editor* ed);
|
|
||||||
|
|
||||||
#if defined(PLATFORM_SUPPORTS_EDITOR)
|
#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_ui.c"
|
||||||
# include "editor/lumenarium_editor_renderer.c"
|
# include "editor/lumenarium_editor_renderer.c"
|
||||||
# include "editor/lumenarium_editor_sculpture_visualizer.c"
|
# include "editor/lumenarium_editor_sculpture_visualizer.c"
|
||||||
|
|
|
@ -189,6 +189,7 @@ incenter_frame_prepare(App_State* state)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(PLATFORM_SUPPORTS_EDITOR)
|
||||||
internal void
|
internal void
|
||||||
incenter_sculpture_visualizer_ui(App_State* state, Editor* ed)
|
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);
|
ui_layout_pop(&ed->ui);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
internal void
|
internal void
|
||||||
incenter_frame(App_State* state)
|
incenter_frame(App_State* state)
|
||||||
|
|
Loading…
Reference in New Issue