GUI: colored pattern view

This commit is contained in:
tildearrow 2021-12-13 17:09:46 -05:00
parent 60f06d2908
commit 9e2e02a12e
6 changed files with 253 additions and 34 deletions

View file

@ -125,6 +125,9 @@ class DivEngine {
// get channel short name
const char* getChannelShortName(int chan);
// get channel max volume
int getMaxVolumeChan(int chan);
// get max STD volume
int getMaxVolume();
@ -137,6 +140,12 @@ class DivEngine {
// get current order
unsigned char getOrder();
// get current row
int getRow();
// is playing
bool isPlaying();
// go to order
void setOrder(unsigned char order);
@ -158,6 +167,9 @@ class DivEngine {
// initialize the engine. optionally provide an output file name.
bool init(String outName="");
// terminate the engine.
bool quit();
unsigned char* adpcmMem;
DivEngine():
@ -178,7 +190,7 @@ class DivEngine {
totalCmds(0),
lastCmds(0),
cmdsPerSecond(0),
view(DIV_STATUS_PATTERN),
view(DIV_STATUS_NOTHING),
audioEngine(DIV_AUDIO_SDL),
bbInLen(0),
temp{0,0},