Public Methods |
| | Editor (FilterLoader *filterloader) |
| | ~Editor () |
| void | set_filter_loader (FilterLoader *filterloader) |
| void | create_filter_icon_toolbar () |
| void | create_gui () |
| void | add_component (Component *component) |
| void | remove_component (Component *component) |
| void | add_wire (Wire *wire) |
| void | remove_wire (Wire *wire) |
| void | paint_background () |
| void | paint_foreground () |
| void | paint_components () |
| void | paint_wires () |
| Component * | get_component_at (int tx, int ty) |
| Wire * | get_wire_at (int tx, int ty) |
| vector< Wire * > * | get_wires_at (int tx, int ty) |
| bool | can_place_component (Component *c) |
| void | start_select_mode () |
| void | start_wire_mode () |
| void | start_component_mode () |
| void | update_status_bar1 () |
| void | update_status_bar2 (int x, int y) |
| void | update_status_bar3 (char *temp) |
| void | update_property_grid () |
| void | update_left_toolbar () |
| void | add_possible_component (Component *c) |
Public Attributes |
| Graphics * | graphics |
| string | statusbuffer |
Private Methods |
| void | create_filter_toolbar (int startindex) |
| void | exposed () |
| void | key_released (GdkEventKey *event) |
| void | mouse_motion (GdkEventMotion *event) |
| void | mouse_left_click (GdkEventButton *event) |
| void | mouse_left_double_click (GdkEventButton *event) |
| void | mouse_right_click (GdkEventButton *event) |
| void | mouse_button_released (GdkEventButton *event) |
| void | toolbar_toggle (GtkWidget *toolbar_button) |
| void | __openfile () |
| void | __savefile () |
| void | __importfilter () |
| void | __exit () |
| void | __cut () |
| void | __copy () |
| void | __paste () |
| void | __delete () |
| void | __rotate () |
| void | __propertyeditor () |
| void | __execute () |
| void | __about () |
| void | __help1 () |
| void | __help2 () |
Private Attributes |
| FilterLoader * | filterloader |
| PropertyEditor * | propertyeditor |
| GtkWidget * | window |
| GtkWidget * | drawing_area |
| GdkPixmap * | pixmap |
| GtkWidget * | label1 |
| GtkWidget * | label2 |
| GtkWidget * | label3 |
| GtkWidget * | basic_toolbar |
| GtkWidget * | tool_toolbar |
| GtkWidget * | filter_toolbar |
| GtkWidget * | vbox4 |
| GtkWidget * | select_button |
| GtkWidget * | wire_button |
| GtkWidget * | filter_button |
| GtkWidget * | open_button |
| GtkWidget * | save_button |
| GtkWidget * | cut_button |
| GtkWidget * | copy_button |
| GtkWidget * | paste_button |
| GtkWidget * | delete_button |
| GtkWidget * | rotate_button |
| GtkWidget * | execute_button |
| bool | toggle_update_ok |
| vector< Component * > | possiblecomponents |
| int | currentcomponenttool_index |
| int | scale |
| vector< Component * > | components |
| vector< Wire * > | wires |
| Component * | currentcomponent |
| bool | currentcomponent_canplace |
| int | component_move_start_x |
| int | component_move_start_y |
| Wire * | currentwire |
| int | mode |
| int | state |
| int | mouse_x |
| int | mouse_y |
| int | mouse_tx |
| int | mouse_ty |
| vector< GtkWidget * > | filter_buttons |
Friends |
| gboolean | editor_key_release_event (GtkWidget *widget, GdkEventKey *event, Editor *editor) |
| gboolean | editor_expose_event (GtkWidget *widget, GdkEventExpose *event, Editor *editor) |
| gboolean | editor_motion_notify_event (GtkWidget *widget, GdkEventMotion *event, Editor *editor) |
| gboolean | editor_button_press_event (GtkWidget *widget, GdkEventButton *event, Editor *editor) |
| gboolean | editor_button_release_event (GtkWidget *widget, GdkEventButton *event, Editor *editor) |
| void | toolbar_toggle_handler (GtkWidget *widget, Editor *editor) |
| void | h__openfile (GtkMenuItem *, Editor *) |
| void | h__savefile (GtkMenuItem *, Editor *) |
| void | h__importfilter (GtkMenuItem *, Editor *) |
| void | h__exit (GtkMenuItem *, Editor *) |
| void | h__cut (GtkMenuItem *, Editor *) |
| void | h__copy (GtkMenuItem *, Editor *) |
| void | h__paste (GtkMenuItem *, Editor *) |
| void | h__delete (GtkMenuItem *, Editor *) |
| void | h__rotate (GtkMenuItem *, Editor *) |
| void | h__propertyeditor (GtkMenuItem *, Editor *) |
| void | h__execute (GtkMenuItem *, Editor *) |
| void | h__about (GtkMenuItem *, Editor *) |
| void | h__help1 (GtkMenuItem *, Editor *) |
| void | h__help2 (GtkMenuItem *, Editor *) |