Home | Trees | Index | Help |
|
---|
Package aldrin :: Module router :: Class RouteView |
|
CanvasBase
--+ |object
--+ | | |Object
--+ | | |EvtHandler
--+ | | |Window
--+ |Canvas
--+ | RouteView
Method Summary | |
---|---|
Initializer. | |
Draws only the leds into the offscreen buffer. | |
Draws plugins, connections and arrows to an offscreen buffer. | |
(int,int) |
Converts a router coordinate to an on-screen pixel coordinate. |
zzub.Connection or None |
Finds the connection arrow at a specific position. |
(zzub.Plugin,(int,int),int) or None |
Finds a plugin at a specific position. |
wx.Menu |
Generates and returns a new plugin menu. |
Event handler for requests to show the context menu. | |
Timer event that only updates the plugin leds. | |
on_focus(self,
event)
| |
Event handler for left doubleclicks. | |
Event handler for left mouse button presses. | |
Event handler for left mouse button releases. | |
Event handler for mouse movements. | |
callback for ui events sent by zzub. | |
Event handler for requests to show the context menu. | |
Event handler for the "Delete" context menu option. | |
Event handler for the "Disconnect" context menu option. | |
Event handler for the "Mute" context menu option. | |
Event handler for "new plugin" context menu options. | |
on_popup_rename(self,
event)
| |
Event handler for the "Attributes..." context menu option. | |
Event handler for the "Parameters..." context menu option. | |
Event handler for the "Signal Analysis" context menu option. | |
Event handler for the "Mute" context menu option. | |
(float, float) |
Converts an on-screen pixel coordinate to a router coordinate. |
Destroys all parameter dialogs. | |
Shows a parameter dialog for a plugin. | |
solo(self,
plugin)
| |
toggle_mute(self,
plugin)
| |
update_all(self)
| |
Updates the routers color scheme. | |
update_info(self)
| |
yield_newplugin_indices(self)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
int |
ABOUT = 375 |
int |
ATTRIBS = 372 |
int |
CENTERPAN = 370 |
int |
CMDBASEID = 380 |
bool |
connecting = False
|
NoneType |
context_conn = None |
NoneType |
context_plugin = None |
tuple |
contextmenupos = (0, 0)
|
NoneType |
current_plugin = None |
int |
DELETE = 374 |
int |
DISCONNECT = 379 |
bool |
dragging = False
|
tuple |
dragoffset = (0, 0)
|
int |
i = 8191 |
int |
IMPORTSONG = 377 |
int |
MAX_PLUGINS = 8192 |
int |
MUTE = 368 |
int |
NEWPLUGIN = 636 |
int |
PARAMS = 371 |
int |
RENAME = 373 |
int |
SIGNALANALYSIS = 376 |
int |
SOLO = 369 |
int |
UNMUTEALL = 378 |
Instance Method Details |
---|
__init__(self,
rootwindow,
*args,
**kwds)
Initializer.
|
draw_leds(self)Draws only the leds into the offscreen buffer. |
DrawBuffer(self, leds_only=False)Draws plugins, connections and arrows to an offscreen buffer.
|
float_to_pixel(self, (x, y))Converts a router coordinate to an on-screen pixel coordinate.
|
get_connection_at(self, (mx, my))Finds the connection arrow at a specific position.
|
get_plugin_at(self, (x, y))Finds a plugin at a specific position.
|
get_plugin_menu(self, include_generators=True, include_effects=True)Generates and returns a new plugin menu.
|
on_context_menu(self, event)Event handler for requests to show the context menu.
|
on_draw_led_timer(self, event)Timer event that only updates the plugin leds.
|
on_left_dclick(self, event)Event handler for left doubleclicks. If the doubleclick hits a plugin, the parameter window is being shown.
|
on_left_down(self, event)Event handler for left mouse button presses. Initiates plugin dragging or connection volume adjustments.
|
on_left_up(self, event)Event handler for left mouse button releases.
|
on_motion(self, event)Event handler for mouse movements.
|
on_player_callback(self, player, plugin, data)callback for ui events sent by zzub.
|
on_popup_command(self, event)Event handler for requests to show the context menu.
|
on_popup_delete(self, event)Event handler for the "Delete" context menu option.
|
on_popup_disconnect(self, event)Event handler for the "Disconnect" context menu option.
|
on_popup_mute(self, event)Event handler for the "Mute" context menu option.
|
on_popup_new_plugin(self, event=None, pl=None)Event handler for "new plugin" context menu options. if pl is omitted, the pluginloader is deduced from event.GetId().
|
on_popup_show_attribs(self, event)Event handler for the "Attributes..." context menu option.
|
on_popup_show_params(self, event)Event handler for the "Parameters..." context menu option.
|
on_popup_show_signalanalysis(self, event)Event handler for the "Signal Analysis" context menu option. |
on_popup_solo(self, event)Event handler for the "Mute" context menu option.
|
pixel_to_float(self, (x, y))Converts an on-screen pixel coordinate to a router coordinate.
|
reset(self)Destroys all parameter dialogs. Used when a new song is being loaded. |
show_parameter_dialog(self, plugin)Shows a parameter dialog for a plugin.
|
update_colors(self)Updates the routers color scheme. |
Class Variable Details |
---|
ABOUT
|
ATTRIBS
|
CENTERPAN
|
CMDBASEID
|
connecting
|
context_conn
|
context_plugin
|
contextmenupos
|
current_plugin
|
DELETE
|
DISCONNECT
|
dragging
|
dragoffset
|
i
|
IMPORTSONG
|
MAX_PLUGINS
|
MUTE
|
NEWPLUGIN
|
PARAMS
|
RENAME
|
SIGNALANALYSIS
|
SOLO
|
UNMUTEALL
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 18:01:15 2007 | http://epydoc.sf.net |