Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-20 03:08:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-20 03:08:16 +0400
commit358f7d40b6e24459b860ddaf731f7560a28ad95b (patch)
tree1e2d2f3fc2d4c9041da4843fdb2b3eeaa7442cd5 /source/blender/editors/space_node/node_buttons.c
parent98e69124807b9a5e16b617c89347fc77072e9b38 (diff)
style cleanup: use TRUE/FALSE for ui align args.
Diffstat (limited to 'source/blender/editors/space_node/node_buttons.c')
-rw-r--r--source/blender/editors/space_node/node_buttons.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c
index f2ec2289ad1..bc4c391720a 100644
--- a/source/blender/editors/space_node/node_buttons.c
+++ b/source/blender/editors/space_node/node_buttons.c
@@ -100,7 +100,7 @@ static void active_node_panel(const bContext *C, Panel *pa)
//else
RNA_pointer_create(&ntree->id, &RNA_Node, node, &ptr);
- layout = uiLayoutColumn(pa->layout, 0);
+ layout = uiLayoutColumn(pa->layout, FALSE);
uiLayoutSetContextPointer(layout, "node", &ptr);
/* draw this node's name, etc. */
@@ -113,17 +113,17 @@ static void active_node_panel(const bContext *C, Panel *pa)
uiItemS(layout);
uiItemS(layout);
- row = uiLayoutRow(layout, 0);
+ row = uiLayoutRow(layout, FALSE);
- col = uiLayoutColumn(row, 1);
+ col = uiLayoutColumn(row, TRUE);
uiItemM(col, (bContext *)C, "NODE_MT_node_color_presets", NULL, 0);
uiItemR(col, &ptr, "use_custom_color", UI_ITEM_R_ICON_ONLY, NULL, ICON_NONE);
- sub = uiLayoutRow(col, 0);
+ sub = uiLayoutRow(col, FALSE);
if (!(node->flag & NODE_CUSTOM_COLOR))
uiLayoutSetEnabled(sub, 0);
uiItemR(sub, &ptr, "color", 0, "", 0);
- col = uiLayoutColumn(row, 1);
+ col = uiLayoutColumn(row, TRUE);
uiItemO(col, "", ICON_ZOOMIN, "node.node_color_preset_add");
opptr = uiItemFullO(col, "node.node_color_preset_add", "", ICON_ZOOMOUT, NULL, WM_OP_INVOKE_DEFAULT, UI_ITEM_O_RETURN_PROPS);
RNA_boolean_set(&opptr, "remove_active", 1);
@@ -164,7 +164,7 @@ static void node_sockets_panel(const bContext *C, Panel *pa)
for (sock=node->inputs.first; sock; sock=sock->next) {
BLI_snprintf(name, sizeof(name), "%s:", sock->name);
- split = uiLayoutSplit(layout, 0.35f, 0);
+ split = uiLayoutSplit(layout, 0.35f, FALSE);
uiItemL(split, name, ICON_NONE);
uiTemplateNodeLink(split, ntree, node, sock);
}