Terraria ModLoader  0.11.5
A framework for Terraria mods
Terraria.ModLoader.Config.SliderColorAttribute Class Reference

Specifies a slider color for ModConfig elements that use a slider. The default color is white. More...

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

Public Member Functions

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

Public Attributes

Color color
 

Detailed Description

Specifies a slider color for ModConfig elements that use a slider. The default color is white.

Definition at line 23 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

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

Definition at line 26 of file ConfigAttributes.cs.

26  {
27  this.color = new Color(r, g, b, a);
28  }

Member Data Documentation

Color Terraria.ModLoader.Config.SliderColorAttribute.color

Definition at line 25 of file ConfigAttributes.cs.