48 lines
1.0 KiB
Ucode
48 lines
1.0 KiB
Ucode
/**
|
|
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
|
*/
|
|
|
|
class PBRuleNodeComment extends PBRuleNodeBase
|
|
native(ProcBuilding)
|
|
collapsecategories
|
|
hidecategories(Object);
|
|
|
|
/** Horizontal size of comment box in pixels. */
|
|
var() int SizeX;
|
|
|
|
/** Vertical size of comment box in pixels. */
|
|
var() int SizeY;
|
|
|
|
/** Width of border of comment box in pixels. */
|
|
var() int BorderWidth;
|
|
|
|
/** If we are drawing a box for this comment object, what colour should the border be. */
|
|
var() Color BorderColor;
|
|
|
|
/** If we are drawing a box, should it be filled, or just an outline. */
|
|
var() bool bFilled;
|
|
|
|
/** If bFilled is true, what colour should the background be. */
|
|
var() Color FillColor;
|
|
|
|
|
|
|
|
cpptext
|
|
{
|
|
virtual void DrawRuleNode(FLinkedObjectDrawHelper* InHelper, FViewport* Viewport, FCanvas* Canvas, UBOOL bSelected);
|
|
}
|
|
|
|
|
|
defaultproperties
|
|
{
|
|
NextRules.Empty()
|
|
|
|
SizeX=128
|
|
SizeY=64
|
|
BorderWidth=1
|
|
|
|
bFilled=true
|
|
|
|
FillColor=(R=255,G=255,B=255,A=16)
|
|
BorderColor=(R=0,G=0,B=0,A=255)
|
|
} |