mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 13:35:11 +00:00
parent
aa1e34ffd3
commit
3f14625361
1 changed files with 1 additions and 5 deletions
|
@ -858,10 +858,6 @@ 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;
|
||||||
|
@ -874,7 +870,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=dummyMode, 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={NULL}, 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