All pastes #613845 Raw Edit

Someone

public c v1 · immutable
·published 2007-07-11 06:24 UTC
rendered paste body
static int node_composit_buts_rotate(uiBlock *block, bNodeTree *ntree, bNode *node, rctf *butr){	if(block) {		short dx= (butr->xmax-butr->xmin)/3;		NodeChroma *c=node->storage;		uiBlockBeginAlign(block);		uiDefButF(block, NUM, B_NODE_EXEC+node->nr, "Enhance: ", 				butr->xmin, butr->ymin+20.0, butr->xmax-butr->xmin, 20,				&c->t1, 0.0f, 0.5f, 100, 2, "Adjusts how much selected channel is affected by color spill algorithm");		uiDefButS(block, ROW, B_NODE_EXEC+node->nr, "R",				butr->xmin,butr->ymin,dx,20,				&node->custom1,1,1, 0, 0, "Red Spill Suppression");		uiDefButS(block, ROW, B_NODE_EXEC+node->nr, "G",				butr->xmin+dx,butr->ymin,dx,20,				&node->custom1,1,2, 0, 0, "Green Spill Suppression");		uiDefButS(block, ROW, B_NODE_EXEC+node->nr, "B",				butr->xmin+2*dx,butr->ymin,dx,20,				&node->custom1, 1, 3, 0, 0, "Blue Spill Suppression");		uiBlockEndAlign(block);	}	return 60; }