Method | Description | |
---|---|---|
ClearSelection ( ) : void |
Reset the list of select objects
|
|
SelectionCanvas ( IWidget widget ) : System |
Method | Description | |
---|---|---|
ClearObjects ( ) : void |
Clears the objects.
|
|
CursorMoved ( Point coords ) : void |
Called when the cursor is being moved. Highlights objects when the cursor passes over them.
|
|
Dispose ( bool disposing ) : void | ||
GetSelection ( Point coords, bool inMotion = false, bool skipSelected = false ) : |
||
HandleLeftButton ( Point coords, ButtonModifier modif ) : void | ||
HandleMotionEvent ( Point coords ) : void | ||
HandleRightButton ( Point coords, ButtonModifier modif ) : void | ||
SelectionChanged ( List |
Notifies subclasses when the selected objects has changed.
|
|
SelectionMoved ( |
Notifies subclasses when an object has been moved.
|
|
ShowMenu ( Point coords ) : void |
Notifies subclasses a menu should be displayed. Canvas' with menus should override it to display their menu here.
|
|
StartMove ( |
Notifies subclasses when an object starts to be moved.
|
|
StopMove ( bool moved ) : void |
Notifies subclass when the move process stops.
|
|
UpdateSelection ( |
Updates the current selection. If sel is
|
Method | Description | |
---|---|---|
HandleButtonPressEvent ( Point coords, uint time, ButtonType type, ButtonModifier modifier ) : void | ||
HandleButtonReleasedEvent ( Point coords, ButtonType type, ButtonModifier modifier ) : void | ||
HandleShowTooltipEvent ( Point coords ) : void |
protected CursorMoved ( Point coords ) : void | ||
coords | Point | Coords. |
return | void |
protected GetSelection ( Point coords, bool inMotion = false, bool skipSelected = false ) : |
||
coords | Point | |
inMotion | bool | |
skipSelected | bool | |
return |
protected HandleLeftButton ( Point coords, ButtonModifier modif ) : void | ||
coords | Point | |
modif | ButtonModifier | |
return | void |
protected HandleMotionEvent ( Point coords ) : void | ||
coords | Point | |
return | void |
protected HandleRightButton ( Point coords, ButtonModifier modif ) : void | ||
coords | Point | |
modif | ButtonModifier | |
return | void |
public SelectionCanvas ( IWidget widget ) : System | ||
widget | IWidget | |
return | System |
protected SelectionChanged ( List |
||
sel | List |
List of selected objects. |
return | void |
protected SelectionMoved ( |
||
sel | The selection moved. | |
return | void |
protected ShowMenu ( Point coords ) : void | ||
coords | Point | Position where the click happens. |
return | void |
protected StartMove ( |
||
sel | The selection moved. | |
return | void |
protected StopMove ( bool moved ) : void | ||
moved | bool | If set to |
return | void |
protected UpdateSelection ( |
||
sel | The selection. | |
notify | bool | If set to |
return | void |