Terraria ModLoader  0.10.1.5
A framework for Terraria mods
Terraria.ModLoader.Config.BackgroundColorAttribute Class Reference

Specifies a background color to be used for the property, field, or class in the ModConfig UI. More...

+ Inheritance diagram for Terraria.ModLoader.Config.BackgroundColorAttribute:
+ Collaboration diagram for Terraria.ModLoader.Config.BackgroundColorAttribute:

Public Member Functions

 BackgroundColorAttribute (int r, int g, int b, int a=255)
 

Public Attributes

Color color
 

Detailed Description

Specifies a background color to be used for the property, field, or class in the ModConfig UI.

Definition at line 10 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

Terraria.ModLoader.Config.BackgroundColorAttribute.BackgroundColorAttribute ( int  r,
int  g,
int  b,
int  a = 255 
)

Definition at line 13 of file ConfigAttributes.cs.

14  {
15  this.color = new Color(r, g, b, a);
16  }

Member Data Documentation

Color Terraria.ModLoader.Config.BackgroundColorAttribute.color

Definition at line 12 of file ConfigAttributes.cs.