OXYGENHUB
# 9120e87480a6 enhanced-x16-emulator / src / debug_ui / panels / sprite_multiplex_tab.h
810 B · Objective-C · last changed chore(): initial commit 25 days ago source blame history raw
1
// The sprite multiplexing views, drawn as a tab inside the VERA panel.
2
//
3
// These live in their own translation unit rather than in vera_panel.cpp
4
// because they are a good deal of code with their own state -- a trace buffer,
5
// a composited texture, a set of view options -- and vera_panel.cpp is already
6
// large. Kept as a tab rather than a panel of its own because what it shows is
7
// VERA sprite state, and it belongs next to the static sprite table it exists
8
// to explain.
9
10
#ifndef SPRITE_MULTIPLEX_TAB_H
11
#define SPRITE_MULTIPLEX_TAB_H
12
13
#include <stdint.h>
14
15
// Draws the tab body. `pal` is the caller's already-built 256-entry ABGR8888
16
// palette, shared so the VERA panel builds it once for all of its tabs.
17
void draw_sprite_multiplex_tab(const uint32_t pal[256]);
18
19
#endif // SPRITE_MULTIPLEX_TAB_H