mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-05 12:58:22 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
20 lines
445 B
C#
20 lines
445 B
C#
using System;
|
|
namespace Sandbox.UI;
|
|
|
|
/// <summary>
|
|
/// Will automatically apply the named stylesheet to the Panel.
|
|
/// </summary>
|
|
[AttributeUsage( AttributeTargets.Class, AllowMultiple = false, Inherited = false )]
|
|
public sealed class StyleSheetAttribute : System.Attribute
|
|
{
|
|
/// <summary>
|
|
/// File name of the style sheet file.
|
|
/// </summary>
|
|
public string Name;
|
|
|
|
public StyleSheetAttribute( string name = null )
|
|
{
|
|
Name = name;
|
|
}
|
|
}
|