Tool tabs, Setting the number of node columns in a tool tab, Using the alternative icons – Apple Shake 4 User Manual
Page 375
Chapter 14
Customizing Shake
375
Tool Tabs
There are a number of ways you can customize the available Tool tabs.
Setting the Number of Node Columns in a Tool Tab
In the <ShakeDir>/include/nrui.h or a startup file:
gui.doBoxColumns = 8;
This sets the number of columns for the nodes in the Tool tab, which is sometimes
called the “Do Box.” Unlike the other ui. h files, this must go in <ShakeDir>/include/
nrui.h, placed right before the call to start building the Image tab. To activate it,
uncomment the bold line in the nrui.h file:
//These control the color of text on an inactive tab
gui.tabber.tint.red = .65;
gui.tabber.tint.green = .65;
gui.tabber.tint.blue = .63;
//gui.doBoxAltFxIcons = 1;
//gui.doBoxColumns = 5;
nuiPushMenu(“Tools”);
nuiPushToolBox(“Image”);
nuiToolBoxItem(“Average”, “const char *fileName = blah
nuiToolBoxItem(“Checker”, Checker());
nuiToolBoxItem(“Color”, Color());
nuiToolBoxItem(“ColorWheel”, ColorWheel());
Using the Alternative Icons
In startup or the <ShakeDir>/include/nrui.h file:
gui.doBoxAltFxIcons = 1;
gui.doBoxColumns = 8;