Public Methods |
| | Component (void *object, int component_type) |
| | ~Component () |
| void | draw (Graphics *g, int scale, bool selected, bool valid) |
| int | width () |
| int | height () |
| void | rotate () |
| char * | get_name () |
| bool | is_input_pin (int tx, int ty) |
| bool | is_output_pin (int tx, int ty) |
| vector< Component * > * | get_output_receivers () |
| Component * | get_output_receiver () |
Public Attributes |
| int | index |
| int | component_type |
| int | x |
| int | y |
| char * | component_label |
| bool | executing |
| ComponentPin * | inputpin |
| ComponentPin * | outputpin |
| void * | object |
Private Methods |
| void | draw_pin (Graphics *g, int scale, int x, int y, int pin_direction) |
Private Attributes |
| int | _width |
| int | _height |
| int | _rotation |