1 |
/* |
/* |
2 |
* JSampler - a java front-end for LinuxSampler |
* JSampler - a java front-end for LinuxSampler |
3 |
* |
* |
4 |
* Copyright (C) 2005-2007 Grigor Iliev <grigor@grigoriliev.com> |
* Copyright (C) 2005-2008 Grigor Iliev <grigor@grigoriliev.com> |
5 |
* |
* |
6 |
* This file is part of JSampler. |
* This file is part of JSampler. |
7 |
* |
* |
79 |
if(name == LS_CONSOLE_WARNING_COLOR) return 0xf19e0e; |
if(name == LS_CONSOLE_WARNING_COLOR) return 0xf19e0e; |
80 |
if(name == LS_CONSOLE_ERROR_COLOR) return 0xfa4a1f; |
if(name == LS_CONSOLE_ERROR_COLOR) return 0xfa4a1f; |
81 |
|
|
82 |
|
if("midiKeyboard.firstKey".equals(name)) return 0; |
83 |
|
if("midiKeyboard.lastKey".equals(name)) return 127; |
84 |
|
|
85 |
return super.getDefaultIntValue(name); |
return super.getDefaultIntValue(name); |
86 |
} |
} |
87 |
|
|
98 |
if("toolBar.visible".equals(name)) return true; |
if("toolBar.visible".equals(name)) return true; |
99 |
if("leftSidePane.visible".equals(name)) return true; |
if("leftSidePane.visible".equals(name)) return true; |
100 |
if("rightSidePane.visible".equals(name)) return true; |
if("rightSidePane.visible".equals(name)) return true; |
101 |
|
if("midiKeyboard.visible".equals(name)) return true; |
102 |
if("rightSidePane.showInstrumentsDb".equals(name)) return true; |
if("rightSidePane.showInstrumentsDb".equals(name)) return true; |
103 |
|
if("channel.smallView.showChannelNumbering".equals(name)) return true; |
104 |
|
if("channel.smallView.showStreamVoiceCount".equals(name)) return true; |
105 |
|
|
106 |
return super.getDefaultBoolValue(name); |
return super.getDefaultBoolValue(name); |
107 |
} |
} |