Apple Shake 4 User Manual

Page 363

Advertising
background image

Chapter 14

Customizing Shake

363

gui.color.curveGFoc = 0x00ff00;
gui.color.curveGSel = 0x00ff00;
gui.color.curveGFocSel = 0xaaffaa;
//Curves starting with ’b’ or ’B’
gui.color.curveB = 0x406bf7;
gui.color.curveBFoc = 0x1818ff;
gui.color.curveBSel = 0x1818ff;
gui.color.curveBFocSel = 0x8888ff;
//Curves starting with ’a’ or ’A’
gui.color.curveA = 0x888888;
gui.color.curveAFoc = 0xbbbbbb;
gui.color.curveASel = 0xbbbbbb;
gui.color.curveAFocSel = 0xeeeeee;

There are really only four basic curve types, the normal curve (Def ), the focused curve
(DefFoc), the selected curve (DefSel), and the focused, selected curve (DefFocSel). You
then also have additional controls over curves that start with the letters r, g, b, and a.

Setting Colors for Text

In the ui directory:

gui.fontColor = 0xFFFFFF;
gui.textField.fontColor = 0xFFFFFF;
gui.textField.tempKeyBackClr = 0xFFFFFF;

//the color of text on an active tab
gui.tabber.activeTint.red = .9;
gui.tabber.activeTint.green = .9;
gui.tabber.activeTint.blue = .87;

//the color of text on an inactive tab
gui.tabber.tint.red = .65;
gui.tabber.tint.green = .65;
gui.tabber.tint.blue = .63;

This colors the text in hexadecimal format. There are a series of expressions near the
very end of the nrui.h file that allow you to put in normalized RGB values that are then
fed into the hex number, but you can also determine your color using the Color Picker.

fontColor: The color of the actual parameter name, messages, and also of macros
without declared coloring.

Advertising