Property | Type | Description | |
---|---|---|---|
DeviceManagerOnOnKeyboardChangedEvent | void | ||
EditorStateHandler | void | ||
LayerSelectedHandler | void | ||
LoadProfiles | void | ||
ProfileSaveHandler | void | ||
UpdateLayerList | void |
Method | Description | |
---|---|---|
Activate ( ) : void | ||
AddFolder ( ) : LayerModel | ||
AddLayer ( ) : LayerModel |
Adds a new layer to the profile and selects it
|
|
AddProfile ( ) : void |
Adds a new profile to the current game and keyboard
|
|
CloneLayer ( ) : void |
Clones the currently selected layer and adds it to the profile, after the original
|
|
CloneLayer ( LayerModel layer ) : void |
Clones the given layer and adds it to the profile, after the original
|
|
Deactivate ( ) : void | ||
DeleteProfile ( ) : void | ||
DragOver ( IDropInfo dropInfo ) : void | ||
Drop ( IDropInfo dropInfo ) : void | ||
DuplicateProfile ( ) : void | ||
EditLayer ( ) : void | ||
EditLayer ( LayerModel layer ) : void |
Opens a new LayerEditorView for the given layer
|
|
EditLayerFromDoubleClick ( ) : void | ||
ExportProfile ( ) : void | ||
ImportProfile ( ) : void | ||
MouseDownKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void |
Handler for clicking
|
|
MouseMoveKeyboardPreview ( System.Windows.Input.MouseEventArgs e ) : void |
Handler for resizing and moving the currently selected layer
|
|
MouseUpKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void |
Second handler for clicking, selects a the layer the user clicked on if the used clicked on an empty spot, deselects the current layer
|
|
ProfileEditorViewModel ( |
||
RemoveLayer ( ) : void |
Removes the currently selected layer from the profile
|
|
RemoveLayer ( LayerModel layer ) : void |
Removes the given layer from the profile
|
|
RenameLayer ( LayerModel layer ) : void | ||
RenameProfile ( ) : void |
Method | Description | |
---|---|---|
DeviceManagerOnOnKeyboardChangedEvent ( object sender, |
Handles chaning the active keyboard, updating the preview image and profiles collection
|
|
EditorStateHandler ( object sender, |
||
LayerSelectedHandler ( object sender, |
||
LoadProfiles ( ) : void |
Loads all profiles for the current game and keyboard
|
|
ProfileSaveHandler ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
UpdateLayerList ( LayerModel selectModel ) : void |
public CloneLayer ( LayerModel layer ) : void | ||
layer | LayerModel | |
return | void |
public DragOver ( IDropInfo dropInfo ) : void | ||
dropInfo | IDropInfo | |
return | void |
public EditLayer ( LayerModel layer ) : void | ||
layer | LayerModel | The layer to open the view for |
return | void |
public MouseDownKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void | ||
e | System.Windows.Input.MouseButtonEventArgs | |
return | void |
public MouseMoveKeyboardPreview ( System.Windows.Input.MouseEventArgs e ) : void | ||
e | System.Windows.Input.MouseEventArgs | |
return | void |
public MouseUpKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void | ||
e | System.Windows.Input.MouseButtonEventArgs | |
return | void |
public ProfileEditorViewModel ( |
||
mainManager | ||
gameModel | ||
profileViewModel | ||
dialogService | ||
lastProfile | string | |
layerEditorVmFactory | ILayerEditorVmFactory | |
return | System |
public RemoveLayer ( LayerModel layer ) : void | ||
layer | LayerModel | |
return | void |
public RenameLayer ( LayerModel layer ) : void | ||
layer | LayerModel | |
return | void |