C# Class Artemis.Profiles.ProfileModel

Afficher le fichier Open project: SpoinkyNL/Artemis Class Usage Examples

Private Properties

Свойство Type Description
DrawLayers void

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
FixBoundaries ( Rect keyboardRectangle ) : void

Looks at all the layers wthin the profile and makes sure they are within boundaries of the given rectangle

FixOrder ( ) : void
GetHashCode ( ) : int
GetLayers ( ) : List

Gives all the layers and their children in a flat list

GetRenderLayers ( IDataModel dataModel, bool keyboardOnly, bool ignoreConditions = false ) : List

Generates a flat list containing all layers that must be rendered on the keyboard, the first mouse layer to be rendered and the first headset layer to be rendered

ProfileModel ( ) : System
ResizeLayers ( KeyboardProvider target ) : void

Resizes layers that are shown in the editor and match exactly the full keyboard widht and height

Méthodes protégées

Méthode Description
Equals ( ProfileModel other ) : bool

Private Methods

Méthode Description
DrawLayers ( Graphics g, IEnumerable renderLayers, IDataModel dataModel, Rect rect, bool preview, bool updateAnimations ) : void

Draw all the given layers on the given rect

Method Details

Equals() protected méthode

protected Equals ( ProfileModel other ) : bool
other ProfileModel
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FixBoundaries() public méthode

Looks at all the layers wthin the profile and makes sure they are within boundaries of the given rectangle
public FixBoundaries ( Rect keyboardRectangle ) : void
keyboardRectangle Rect
Résultat void

FixOrder() public méthode

public FixOrder ( ) : void
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetLayers() public méthode

Gives all the layers and their children in a flat list
public GetLayers ( ) : List
Résultat List

GetRenderLayers() public méthode

Generates a flat list containing all layers that must be rendered on the keyboard, the first mouse layer to be rendered and the first headset layer to be rendered
public GetRenderLayers ( IDataModel dataModel, bool keyboardOnly, bool ignoreConditions = false ) : List
dataModel IDataModel Instance of said game data model
keyboardOnly bool Whether or not to ignore anything but keyboards
ignoreConditions bool
Résultat List

ProfileModel() public méthode

public ProfileModel ( ) : System
Résultat System

ResizeLayers() public méthode

Resizes layers that are shown in the editor and match exactly the full keyboard widht and height
public ResizeLayers ( KeyboardProvider target ) : void
target Artemis.DeviceProviders.KeyboardProvider The new keyboard to adjust the layers for
Résultat void