tModLoader v0.11.8.9
A mod to make and play 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 11 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ BackgroundColorAttribute()

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

Definition at line 14 of file ConfigAttributes.cs.

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

Member Data Documentation

◆ color

Color Terraria.ModLoader.Config.BackgroundColorAttribute.color

Definition at line 13 of file ConfigAttributes.cs.