mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 07:01:21 +00:00
Fix initializing
This commit is contained in:
parent
5190c6daab
commit
0b09408ee8
1 changed files with 5 additions and 1 deletions
|
@ -858,6 +858,10 @@ struct FurnaceGUISysCategory {
|
||||||
description(NULL) {}
|
description(NULL) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const char* dummyMode[1]={
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
struct FurnaceGUIMacroDesc {
|
struct FurnaceGUIMacroDesc {
|
||||||
DivInstrumentMacro* macro;
|
DivInstrumentMacro* macro;
|
||||||
int min, max;
|
int min, max;
|
||||||
|
@ -870,7 +874,7 @@ struct FurnaceGUIMacroDesc {
|
||||||
bool isBitfield, blockMode, useMacroMode;
|
bool isBitfield, blockMode, useMacroMode;
|
||||||
String (*hoverFunc)(int,float);
|
String (*hoverFunc)(int,float);
|
||||||
|
|
||||||
FurnaceGUIMacroDesc(const char* name, DivInstrumentMacro* m, int macroMin, int macroMax, float macroHeight, ImVec4 col=ImVec4(1.0f,1.0f,1.0f,1.0f), bool block=false, bool mMode=false, const char** mName={NULL}, String (*hf)(int,float)=NULL, bool bitfield=false, const char** bfVal=NULL, unsigned int bitOff=0):
|
FurnaceGUIMacroDesc(const char* name, DivInstrumentMacro* m, int macroMin, int macroMax, float macroHeight, ImVec4 col=ImVec4(1.0f,1.0f,1.0f,1.0f), bool block=false, bool mMode=false, const char** mName=dummyMode, String (*hf)(int,float)=NULL, bool bitfield=false, const char** bfVal=NULL, unsigned int bitOff=0):
|
||||||
macro(m),
|
macro(m),
|
||||||
height(macroHeight),
|
height(macroHeight),
|
||||||
displayName(name),
|
displayName(name),
|
||||||
|
|
Loading…
Reference in a new issue