3 #include "system/stacktrace.h"
4 #include "game/camera.h"
7 #include "background_layer.h"
9 // TODO(#1012): UndoHistory is not support in BackgroundLayer
11 int background_layer_render(BackgroundLayer *layer,
19 return color_picker_render(
27 int background_layer_event(BackgroundLayer *layer,
28 const SDL_Event *event,
30 UndoHistory *undo_history)
35 trace_assert(undo_history);
37 return color_picker_event(
44 int background_layer_dump_stream(BackgroundLayer *layer,
51 color_picker_rgba(&layer->color_picker),
54 return fprintf(stream, "\n");;