C# Class Pinta.Core.BaseTool

Mostrar archivo Open project: xxgreg/Pinta Class Usage Examples

Protected Properties

Property Type Description
point_empty Point
tool_image ToolItem
tool_item ToggleToolButton
tool_label ToolItem
tool_sep ToolItem

Public Methods

Method Description
DoActivated ( ) : void
DoBuildToolBar ( Gtk.Toolbar tb ) : void
DoClearToolBar ( Gtk.Toolbar tb ) : void
DoDeactivated ( ) : void
DoKeyPress ( Gtk.DrawingArea canvas, Gtk.KeyPressEventArgs args ) : void
DoKeyRelease ( Gtk.DrawingArea canvas, Gtk.KeyReleaseEventArgs args ) : void
DoMouseDown ( Gtk.DrawingArea canvas, ButtonPressEventArgs args, Cairo point ) : void
DoMouseMove ( object o, Gtk.MotionNotifyEventArgs args, Cairo point ) : void
DoMouseUp ( Gtk.DrawingArea canvas, Gtk.ButtonReleaseEventArgs args, Cairo point ) : void

Protected Methods

Method Description
BaseTool ( ) : System
CreateToolButton ( ) : Gtk.ToggleToolButton
OnActivated ( ) : void
OnBuildToolBar ( Gtk.Toolbar tb ) : void
OnClearToolBar ( Gtk.Toolbar tb ) : void
OnDeactivated ( ) : void
OnKeyDown ( Gtk.DrawingArea canvas, Gtk args ) : void
OnKeyUp ( Gtk.DrawingArea canvas, Gtk args ) : void
OnMouseDown ( Gtk.DrawingArea canvas, Gtk args, Cairo point ) : void
OnMouseMove ( object o, Gtk args, Cairo point ) : void
OnMouseUp ( Gtk.DrawingArea canvas, Gtk args, Cairo point ) : void
SetCursor ( Gdk cursor ) : void

Method Details

BaseTool() protected method

protected BaseTool ( ) : System
return System

CreateToolButton() protected method

protected CreateToolButton ( ) : Gtk.ToggleToolButton
return Gtk.ToggleToolButton

DoActivated() public method

public DoActivated ( ) : void
return void

DoBuildToolBar() public method

public DoBuildToolBar ( Gtk.Toolbar tb ) : void
tb Gtk.Toolbar
return void

DoClearToolBar() public method

public DoClearToolBar ( Gtk.Toolbar tb ) : void
tb Gtk.Toolbar
return void

DoDeactivated() public method

public DoDeactivated ( ) : void
return void

DoKeyPress() public method

public DoKeyPress ( Gtk.DrawingArea canvas, Gtk.KeyPressEventArgs args ) : void
canvas Gtk.DrawingArea
args Gtk.KeyPressEventArgs
return void

DoKeyRelease() public method

public DoKeyRelease ( Gtk.DrawingArea canvas, Gtk.KeyReleaseEventArgs args ) : void
canvas Gtk.DrawingArea
args Gtk.KeyReleaseEventArgs
return void

DoMouseDown() public method

public DoMouseDown ( Gtk.DrawingArea canvas, ButtonPressEventArgs args, Cairo point ) : void
canvas Gtk.DrawingArea
args ButtonPressEventArgs
point Cairo
return void

DoMouseMove() public method

public DoMouseMove ( object o, Gtk.MotionNotifyEventArgs args, Cairo point ) : void
o object
args Gtk.MotionNotifyEventArgs
point Cairo
return void

DoMouseUp() public method

public DoMouseUp ( Gtk.DrawingArea canvas, Gtk.ButtonReleaseEventArgs args, Cairo point ) : void
canvas Gtk.DrawingArea
args Gtk.ButtonReleaseEventArgs
point Cairo
return void

OnActivated() protected method

protected OnActivated ( ) : void
return void

OnBuildToolBar() protected method

protected OnBuildToolBar ( Gtk.Toolbar tb ) : void
tb Gtk.Toolbar
return void

OnClearToolBar() protected method

protected OnClearToolBar ( Gtk.Toolbar tb ) : void
tb Gtk.Toolbar
return void

OnDeactivated() protected method

protected OnDeactivated ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( Gtk.DrawingArea canvas, Gtk args ) : void
canvas Gtk.DrawingArea
args Gtk
return void

OnKeyUp() protected method

protected OnKeyUp ( Gtk.DrawingArea canvas, Gtk args ) : void
canvas Gtk.DrawingArea
args Gtk
return void

OnMouseDown() protected method

protected OnMouseDown ( Gtk.DrawingArea canvas, Gtk args, Cairo point ) : void
canvas Gtk.DrawingArea
args Gtk
point Cairo
return void

OnMouseMove() protected method

protected OnMouseMove ( object o, Gtk args, Cairo point ) : void
o object
args Gtk
point Cairo
return void

OnMouseUp() protected method

protected OnMouseUp ( Gtk.DrawingArea canvas, Gtk args, Cairo point ) : void
canvas Gtk.DrawingArea
args Gtk
point Cairo
return void

SetCursor() protected method

protected SetCursor ( Gdk cursor ) : void
cursor Gdk
return void

Property Details

point_empty protected_oe static_oe property

protected static Point point_empty
return Point

tool_image protected_oe property

protected ToolItem tool_image
return ToolItem

tool_item protected_oe property

protected ToggleToolButton tool_item
return ToggleToolButton

tool_label protected_oe property

protected ToolItem tool_label
return ToolItem

tool_sep protected_oe property

protected ToolItem tool_sep
return ToolItem