C# Class CatEye.UI.Base.ExtendedStage

Inheritance: CatEye.Core.Stage
Afficher le fichier Open project: bigfatbrowncat/CatEye Class Usage Examples

Protected Properties

Свойство Type Description
_Holders IStageOperationHolder>.Dictionary

Méthodes publiques

Méthode Description
AskLoadImage ( string filename, int downscale_by ) : void
AskUpdate ( ) : void
AskUpdate ( bool processImage ) : void
CreateAndAddNewItem ( Type sot ) : StageOperationParameters
DrawEditor ( IBitmapView target ) : void
ExtendedStage ( StageOperationFactory stageOperationFactory, StageOperationParametersFactory stageOperationParametersFactoryFromID, StageOperationParametersEditorFactory SOParametersEditorFactory, StageOperationHolderFactory SOHolderFactory, BitmapCoreFactory imageLoader ) : System
LoadStage ( string filename ) : void
LoadStage ( string filename, bool setStageFilename ) : void
ProcessPending ( ) : void
ReportEditorMouseButton ( int x, int y, int width, int height, uint button_id, bool is_down ) : bool

Handles mouse button state change i.e. the user pushed or released the button. Base method should not be called when overridden.

ReportEditorMousePosition ( int x, int y, int width, int height ) : bool

Handles mouse position change. Base method should not be called when overridden.

SaveStage ( ) : void
SaveStage ( string filename ) : void

Méthodes protégées

Méthode Description
DoProcess ( ) : void
HandleOperationReportProgress ( object sender, ReportStageOperationProgressEventArgs e ) : void
HandleSohwDownTitleButtonClicked ( object sender, EventArgs e ) : void
HandleSohwEditButtonClicked ( object sender, EventArgs e ) : void
HandleSohwFreezeButtonClicked ( object sender, EventArgs e ) : void
HandleSohwOperationParametersEditorUserModified ( object sender, EventArgs e ) : void
HandleSohwRemoveButtonClicked ( object sender, EventArgs e ) : void
HandleSohwStageActiveButtonClicked ( object sender, EventArgs e ) : void
HandleSohwUpTitleButtonClicked ( object sender, EventArgs e ) : void
OnEditingOperationChanged ( ) : void
OnItemAdded ( StageOperationParameters item ) : void
OnItemChanged ( StageOperationParameters item ) : void
OnItemIndexChanged ( StageOperationParameters item ) : void
OnItemRemoved ( StageOperationParameters item ) : void
OnOperationDefrozen ( ) : void
OnOperationFrozen ( ) : void
OnViewNeedsUpdate ( ) : void
SetUIState ( UIState value ) : void
StageOperationByHolder ( IStageOperationHolder h ) : StageOperationParameters

Private Methods

Méthode Description
DoLoading ( ) : void

Method Details

AskLoadImage() public méthode

public AskLoadImage ( string filename, int downscale_by ) : void
filename string
downscale_by int
Résultat void

AskUpdate() public méthode

public AskUpdate ( ) : void
Résultat void

AskUpdate() public méthode

public AskUpdate ( bool processImage ) : void
processImage bool
Résultat void

CreateAndAddNewItem() public méthode

public CreateAndAddNewItem ( Type sot ) : StageOperationParameters
sot System.Type
Résultat StageOperationParameters

DoProcess() protected méthode

protected DoProcess ( ) : void
Résultat void

DrawEditor() public méthode

public DrawEditor ( IBitmapView target ) : void
target IBitmapView
Résultat void

ExtendedStage() public méthode

public ExtendedStage ( StageOperationFactory stageOperationFactory, StageOperationParametersFactory stageOperationParametersFactoryFromID, StageOperationParametersEditorFactory SOParametersEditorFactory, StageOperationHolderFactory SOHolderFactory, BitmapCoreFactory imageLoader ) : System
stageOperationFactory StageOperationFactory
stageOperationParametersFactoryFromID StageOperationParametersFactory
SOParametersEditorFactory StageOperationParametersEditorFactory
SOHolderFactory StageOperationHolderFactory
imageLoader BitmapCoreFactory
Résultat System

HandleOperationReportProgress() protected méthode

protected HandleOperationReportProgress ( object sender, ReportStageOperationProgressEventArgs e ) : void
sender object
e CatEye.Core.ReportStageOperationProgressEventArgs
Résultat void

HandleSohwDownTitleButtonClicked() protected méthode

protected HandleSohwDownTitleButtonClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

HandleSohwEditButtonClicked() protected méthode

protected HandleSohwEditButtonClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

HandleSohwFreezeButtonClicked() protected méthode

protected HandleSohwFreezeButtonClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

HandleSohwOperationParametersEditorUserModified() protected méthode

protected HandleSohwOperationParametersEditorUserModified ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

HandleSohwRemoveButtonClicked() protected méthode

protected HandleSohwRemoveButtonClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

HandleSohwStageActiveButtonClicked() protected méthode

protected HandleSohwStageActiveButtonClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

HandleSohwUpTitleButtonClicked() protected méthode

protected HandleSohwUpTitleButtonClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

LoadStage() public méthode

public LoadStage ( string filename ) : void
filename string
Résultat void

LoadStage() public méthode

public LoadStage ( string filename, bool setStageFilename ) : void
filename string
setStageFilename bool
Résultat void

OnEditingOperationChanged() protected méthode

protected OnEditingOperationChanged ( ) : void
Résultat void

OnItemAdded() protected méthode

protected OnItemAdded ( StageOperationParameters item ) : void
item StageOperationParameters
Résultat void

OnItemChanged() protected méthode

protected OnItemChanged ( StageOperationParameters item ) : void
item StageOperationParameters
Résultat void

OnItemIndexChanged() protected méthode

protected OnItemIndexChanged ( StageOperationParameters item ) : void
item StageOperationParameters
Résultat void

OnItemRemoved() protected méthode

protected OnItemRemoved ( StageOperationParameters item ) : void
item StageOperationParameters
Résultat void

OnOperationDefrozen() protected méthode

protected OnOperationDefrozen ( ) : void
Résultat void

OnOperationFrozen() protected méthode

protected OnOperationFrozen ( ) : void
Résultat void

OnViewNeedsUpdate() protected méthode

protected OnViewNeedsUpdate ( ) : void
Résultat void

ProcessPending() public méthode

public ProcessPending ( ) : void
Résultat void

ReportEditorMouseButton() public méthode

Handles mouse button state change i.e. the user pushed or released the button. Base method should not be called when overridden.
public ReportEditorMouseButton ( int x, int y, int width, int height, uint button_id, bool is_down ) : bool
x int /// X coordinate from the left top corner of the image ///
y int /// Y coordinate from the left top corner of the image ///
width int
height int
button_id uint /// The button which state is changed. ///
is_down bool /// true if the button is down now, false if it's up. ///
Résultat bool

ReportEditorMousePosition() public méthode

Handles mouse position change. Base method should not be called when overridden.
public ReportEditorMousePosition ( int x, int y, int width, int height ) : bool
x int
y int
width int
height int
Résultat bool

SaveStage() public méthode

public SaveStage ( ) : void
Résultat void

SaveStage() public méthode

public SaveStage ( string filename ) : void
filename string
Résultat void

SetUIState() protected méthode

protected SetUIState ( UIState value ) : void
value UIState
Résultat void

StageOperationByHolder() protected méthode

protected StageOperationByHolder ( IStageOperationHolder h ) : StageOperationParameters
h IStageOperationHolder
Résultat StageOperationParameters

Property Details

_Holders protected_oe property

protected Dictionary _Holders
Résultat IStageOperationHolder>.Dictionary